MixedInKey in beaTunes
I am using beaTunes for a while and i noticed that the key-results differ from MixedInKey.
The problem is that sometimes, beatues is paring tracks that aren´t compatible with each other, according to MixedInKey (and my hearing).
Is it possible to "override" the key results of beatunes by showing the "initial key" instead (like in rekordbox, tractor, etc)?
- Problem.png 375 KB
Keyboard shortcuts
Generic
? | Show this help |
---|---|
ESC | Blurs the current field |
Comment Form
r | Focus the comment reply box |
---|---|
^ + ↩ | Submit the comment |
You can use Command ⌘
instead of Control ^
on Mac
Support Staff 1 Posted by hendrik on 29 Jun, 2016 10:21 AM
Hey Konrad,
Actually, beaTunes does show the "initial key" (id3 TKEY).
Have you tried to synchronize beaTunes? Via
File
->Synchronize
?Cheers,
-hendrik
PS: If you want beaTunes to use a different format to display keys, see http://blog.beatunes.com/2014/08/beatunes-404-configurable-key-form... Especially the example for the custom renderer may be something you'd like to try out: https://www.beatunes.com/en/beatlet-keytextrenderer.html Installation of beaTlets is described on https://www.beatunes.com/en/beatlet-getting-started.html
Support Staff 2 Posted by hendrik on 29 Jun, 2016 10:23 AM
That all aside: Do you use an iTunes-based library? And do you have embedding non-iTunes fields on or off (in beaTunes general prefs)?
You might want to read http://blog.beatunes.com/2013/10/so-where-exactly-does-beatunes-sto...
3 Posted by Konrad Scherb on 29 Jun, 2016 11:11 AM
Than you for the fast reply.
I use an iTunes-based library.
I synched the files, but beaTunes still shows me the keys in another notation:
Support Staff 4 Posted by hendrik on 29 Jun, 2016 11:16 AM
You don't have embedding turned on: "Schreibe nicht-iTunes-Felder in Audiodateien" is off.
This means, beaTunes never writes keys to the files.
Oh — is the notation the issue?
Notation being how you display/render a key value.
I was under the impression you had issues with different keys.
5 Posted by Konrad Scherb on 29 Jun, 2016 11:24 AM
No,
my problem is that beaTunes does´t show the keys I analyzed with MixedInKey before.
MixedInKey stores the key-values in the "initial-key" tag.
I don´t want beatunes to analyze the keys, i want it to show the results from MixedInKey.
As the process for analyzing keys used by beaTunes isn´t as reliable as MixedInKey, it is creating different values. I already disabled the option to analyze keys inside beaTunes, I now want it to show the results from MixedInKey.
6 Posted by Konrad Scherb on 29 Jun, 2016 11:31 AM
Mixed in Key offers this option:
7 Posted by Konrad Scherb on 29 Jun, 2016 11:44 AM
But why isn´t it viewable in beaTunes?
Support Staff 8 Posted by hendrik on 29 Jun, 2016 04:45 PM
What happens when you make a small change for one of those tracks in iTunes (like change the name slightly), what a few seconds and the run synchronize I'm beaTunes again.
Does beaTunes update the key to the value you expect?
-hendrik
9 Posted by Konrad Scherb on 29 Jun, 2016 11:01 PM
I changed some names without any effect.
I also added a new Track in order to see if beaTunes is able to read the MixedInKey Tag from new files, but no. The key-field which should display "4A" is still empty. It looks like beaTunes isn´t able to read initial Key-Tags at all?
Support Staff 10 Posted by hendrik on 30 Jun, 2016 04:55 AM
Hey Konrad,
I can assure you that beaTunes is very capable of reading the initial key.
Can you please send me one of those files that don't show a key in beaTunes. I'd very much like to see what's going on.
Thank you,
-hendrik
11 Posted by Konrad Scherb on 30 Jun, 2016 08:29 AM
I also checked the file with rekordbox. It displays "4A", but beaTunes keeps showing the key as F Minor, which is correct but not the notation I want it to appear.
Does beaTunes convert the Camelot notation due to licensing problems?
Support Staff 12 Posted by hendrik on 30 Jun, 2016 08:52 AM
I'm sorry, but you confuse me:
I guess that "not showing" problem magically solved itself?
Thanks for the file you sent. I have tested it and after a synchronization, beaTunes correctly displays the key as F minor, equivalent to 9m in OpenKeyNotation or 4A in Camelot notation. As mentioned in http://help.beatunes.com/discussions/problems/45171-mixedinkey-in-b... , you can choose how beaTunes displays keys in its tables. If you need this to be Camelot, I can highly recommend to install the sample beaTlet from https://www.beatunes.com/en/beatlet-keytextrenderer.html#groovykeyt... simply by placing this file into your plugin directory (more about installing a beaTlet, here). After a restart of beaTunes, choose the new "Tonart Anzeige Format" named "Custom.groovy" in the general preferences.
This will change how beaTunes displays keys. Note that the rules for writing are different: For writing the "Tonart-Export Format" is used. For interoperability reasons only specification-conform ID3 tags or OpenKey strings are allowed.
Hope this helps,
-hendrik
13 Posted by Konrad Scherb on 30 Jun, 2016 09:23 AM
Is this the right directory? I can´t get it to work.
Support Staff 14 Posted by hendrik on 30 Jun, 2016 09:31 AM
No. That's the System's library folder (
/Library
).You need the User's library folder (
~/Library
).The easiest way to get there is to open Finder, then open
Go
andGo to Folder
(also available under Shift-⌘-G). Then enter~/Library/Application Support/beaTunes/Plug-Ins
in the dialog. The~
is essential.15 Posted by Konrad Scherb on 30 Jun, 2016 09:59 AM
Ok, thank you for helping me. I am one step closer. I changed var ab = key.isMajor() ? "A" : "B" to var ab = key.isMajor() ? "B" : "A" to fit it in the camelot notation, however some keys differ from each other.
16 Posted by Konrad Scherb on 30 Jun, 2016 10:05 AM
beaTunes obviously gets it´s key-information somewhere else.
Support Staff 17 Posted by hendrik on 30 Jun, 2016 10:17 AM
Unless you run some analysis: Definitely not.
I don't know what you did, but is a scenario like this possible?
The reason for this kind of behavior would be that beaTunes is not made for picking up on external changes to the key field when used in iTunes mode. It's optimized for picking up changes in the iTunes-supported fields, though.
You are probably better off using a folder-based library, if you want that kind of behavior. Please see http://blog.beatunes.com/2015/01/different-libraries-for-different-... and create a folder-based library. Does that work better for you?
Cheers,
-hendrik
18 Posted by Konrad Scherb on 30 Jun, 2016 10:41 AM
It does work with a folder-based library, however some files are missing even though the directories of the tracks are the same, the mood and color information is also missing in the new folder-based library.
Isn´t there any way to refresh the key information in "iTunes-mode"?
19 Posted by Konrad Scherb on 30 Jun, 2016 10:45 AM
I am probably better off changing the different keys inside beaTunes manually, let´s just hope it isn't that much to change...
20 Posted by Konrad Scherb on 30 Jun, 2016 10:48 AM
Download new Tracks => analyze with MixedInKey => add to iTunes => sync with beaTunes I think that´s the best work order
Support Staff 21 Posted by hendrik on 30 Jun, 2016 12:24 PM
Folder-based libraries support some file types the iTunes library does not support and vice versa. iTunes for example does not support OGG or FLAC, beaTunes 4 in folder mode does not support AIFF.
If you haven't checked the "embed non-iTunes fields" box before analysis, the values have not been written to the files and therefore cannot be read.
No. Currently there is no way to achieve that except for re-creating the entire library.
22 Posted by RobG on 27 May, 2020 10:39 AM
Hi,
Is this functionality available to beaTunes 5? (Mac OS X 10.13.6, Folder-based library)
I'm a new beaTunes user, with a new library on a clean OS X build. My music files are a mix of filetypes but mostly Flac and Mp3. ID3 tags have been updated from Discogs via Yate app and non-ASCII characters in filenames replaced by ATGR's "TrT" Track Rename Tool.
I want to manage my library with beaTunes rather than iTunes due to the file limitations of iTunes (and Music) and my DJ software is Traktor Pro 3 on Mac and Algoriddim DJ on iOS.
I use Mixed In Key and the Camelot system, but since overhauling my library the files have not yet been processed by MIK. My beaTunes 'Key Display Format' is currently Traditional (OK).
I've followed the instructions on this page...
https://www.beatunes.com/en/beatlet-keytextrenderer.html#jythonkeyt...
... using each of the different code/file options, trying one at a time in the correct plugin folder in my home library (ie: ~/Library... not /Library) and restarting beaTunes. The following issues are seen:
CustomKeyRenderer.py
Uploaded files: CustomKeyRenderer.pyCustomKeyRenderer.groovy
Uploaded files: CustomKeyRenderer.groovyCustomKeyRenderer.rb "A fatal error occurred during initialization: java.lang.NoClassDefFoundError: sun/misc/Unsafe"
Uploaded files: (Ruby attempt 1)CustomKeyRenderer.rb Ruby attempt 1.zip
CustomKeyRenderer.rb "A fatal error occurred during initialization: java.lang.NoClassDefFoundError: sun/misc/Unsafe"
Uploaded files: (Ruby attempt 2)CustomKeyRenderer.rb Ruby attempt 2.zip
CustomKeyRenderer.js beaTunes now opens again, but the plugin is not listed in Preferences - Plugins - Installed (whereas CustomKeyRenderer.py and CustomKeyRenderer.groovy did appear in the Installed list, but appeared ~struckthrough~ )
Lastly, after closely re-reading the thread in case I'm missing something, I tried the linked file: https://raw.githubusercontent.com/beatunes/beaTlet-samples/master/g...
Uploaded files: Download Linked File As.jpg(NOTE: This file defaults to filename r.html, so had to be renamed on download)
(Downloaded file)CustomKeyRenderer.groovy
Very lastly (I hope!), I noticed the downloaded file is blank (!!!) so I opened the link in my browser and pasted the text in via TextEdit.app
Uploaded files: (pasted from link)CustomKeyRenderer.groovy Again, this file appears in Preferences - Plugins - Installed, but is ~struckthrough~I've now spent about 3 hours just trying to get beaTunes to show Camelot keys! Please help!
Support Staff 23 Posted by hendrik on 29 May, 2020 10:14 AM
When downloading the file, your browser apparently fails to save it as plain text, but instead chooses some HTML format.
To work around this, please do the following:
Format
->Make Plain Text
(this option does not exist, if it's already plain text)CustomKeyRenderer.groovy
in the beaTunes plugin directory..txt
extension to the file name. If it did, remove the extension so that.groovy
is the extension. You can check usingGet Info
for that file in Finder.Custom.groovy
Alternatively, if you have
wget
installed, you could also just execute:in the Terminal.
24 Posted by RobG on 29 May, 2020 07:57 PM
OK, we're good to go. Followed all of that and restarting beaTunes in 5...4...3...
25 Posted by RobG on 29 May, 2020 08:09 PM
It's ALIVE!
Thank you!!! It worked. Maybe it was the plain text thing? No clue.
Maybe at some point I might need to edit the .groovy so the 'A' and 'B' are swapped, like Konrad did?
But I'll leave things as-is for now. Once my test library is in a state I'm happy with I'll see what MiK does and make some comparisons
Support Staff 26 Posted by hendrik on 30 May, 2020 09:42 AM
Most likely.
Yep... that needs to be swapped. In fact, I just did the swap on GitHub.
27 Posted by RobG on 30 May, 2020 10:47 AM
This works perfectly! Thanks