Quick Sign In:  

Forum: VirtualDJ Technical Support

Topic: INITIALKEY read-write Harmonic vs Musical
DJ-U2HUPRO InfinityMember since 2024
My music collection is very big, managed with MusicBee and Mp3Tag.
Metadata tags are filled with BPM and KEY information.
The key information is in Harmonic format.

When importing audio files to VDJ the BPM and KEY is updated.
I know, that KEY analysis during VDJ import can be disabled, but the recalculation is ok for me.
In VDJ my setting is keyDisplay = "Harmonic".

There is an issue, when writing back the KEY from VDJ to the files.
The written back KEY information is then changed always to Musical format.
For example the original key and re-analyzed key in VDJ is "11B".
After writing the tag in VDJ back to the file, the initialkey is then "Am".

If I remember well, that could be also an issue when using MixedInKey tags.
I do not use MIK any longer, but like to have a really "harmonic" key format in my files.

Is there a setting to change the tag write back KEY format in VDJ?



Remark:
VDJ is much more flexible and better with tag handling than RB.
This is only a minor reason among major reasons why I left RB and switched to VDJ.
 

Posted 3 days ago @ 9:54 am
AdionPRO InfinityCTOMember since 2006
According to the specification, the INITALKEY tag is supposed to be written in musical notation
https://id3.org/id3v2.4.0-frames

It is up to the software to show this based on the user's preference, so if your other software doesn't have an option to choose this you should probably request it there.
 

Posted 3 days ago @ 10:34 am
DJ-U2HUPRO InfinityMember since 2024
Thank you Adion for the reference to the specification.
Quite similar topic than with photography and EXIF/IPTC/XMP data.
It is always better to be in line with specs.

I will consider now to store the initialkey data first in musical notation.
May be another user defined tag can be used in Mp3Tag and MusicBee for harmonic notation.
But to my humble opinion one option to save it in the ID3 comments (see MIK) is a bad idea.

A similar topic is storing ratings, because a lot of tools have different methods.
In Mp3Tag some scripting is possible to convert/display ratings.
(For example to display number or star ratings)
For InitalKey data such a conversion or display might be more complex.

Remark:
Another reason for not using harmonic notation is licensing or using the word "camelot".
http://harmonic-mixing.com/CommercialLicensing.aspx
 

Posted 2 days ago @ 12:50 pm
DJ-U2HUPRO InfinityMember since 2024
In case someone is interested, here is one method. According to standard https://id3.org/id3v2.4.0-frames the "Inital key" (TKEY) has to be stored in musical notation (for example F#m). Because of this, it is better to keep the "initialkey" also in this format. That means MixedInKey, TuneXplorer, MixMeister or other tools better use only this format for export. VDJ does this apparently already regardless of the option to display it different on the userinterface.

Due to this I created two other columns in Mp3Tag named "Lancelot" and "OpenKey". These colums use the original tag "initialkey" as input and just replace the content. The definition in Mp3Tag for the customized new columns is simple:
Name: OpenKey:
Value: $replace(%initialkey%,Dm,12m,F#m,4m,Am,1m, ...)
Field: %openkey%

Name: Lancelot
Value: $replace(%initialkey%,Dm,7A,F#m,11A,Am,8A, ...)
Field: %lancelot%

In the brackets of the replace command (...) all 24 relations of the notation systems have to be inserted pairwise.

Here is a screenshot from Mp3Tag:


I like to read such information also in other tools like Musicbee. In this case another method in Mp3tag is required to store this in files and no formula in the field itself can to be used. A separate action script is required to fill the customized fields.
 

Posted 7 hours ago
DJ-U2HUPRO InfinityMember since 2024
The key conversion can be done by starting from the musical notation of "initialkey"
with so called actions with Mp3tag. After this conversion, all three key notations
are visible at least in Mp3Tag, ExifTool and MusicBee.

I described the procedure and published the actions scripts here:
https://community.mp3tag.de/t/initialkey-conversion/67610

 

Posted 3 hours ago