How does RB store track key information in WAV files?
Hi RB!
I'm writing a small application for educational purposes and for my application I would like to find out where RB stores the track key information in the wav files.
I noticed that in other file formats Id3 and XiphComments are used. But for WAV files the key info seems to be stored somewhere else.
Also, I noticed that when you key analyse a track with RB, it changes the LastModifiedDate on the file. So I'm guessing it's being written in there somewhere...
Grateful for any help!
Post is closed for comments.
Can't find help? Search our Support Site or alternatively, reach out to our Support agents
Official comment
The only data written to a WAV file's metadata section from rekordbox is:
- IART: Artist
- ICMT: Comment
- IGNR: Genre
- INAM: Title
- IPRD: Album
The rest is stored in the rekordbox database or an exported XML file. The exported XML data is as follows:
- Name
- Artist
- Composer
- Album
- Grouping
- Genre
- Comments
- Remixer
- Label
- Mix
(Plus additional system fields.)
Hi RB and thank you for the response! Ok, I got it. The WAV files metadata section won't help me here.
Is there any way to read the RB Database outside of Rekordbox that you could share? Or perhaps it best to export an XML file and read that one.. So where is the Initial Key or TKey metadata stored? In the XML as well or only in the RBDB? :)
Thanks
Ok! I found what I was looking for. New question: Will RB read an exported XML file to update the collection?
You can then go to "rekordbox xml" in the sidebar to import tracks. If a track already exists, it will be updated.
As @Erik says, it's not automatic -- the XML file appears on the tree, so that can be updated by outside processes, but in order for those changes to apply to the main collection, you would need to "import" it (even if it's already there -- to update it).
You could simply browse the XML, but then you would miss out on some other functionality of having tracks within the main collection.
5 comments