tag:help.beatunes.com,2009-07-24:/discussions/problems/47395-auto-key-and-bpm-analysis-plus-playback-lagbeaTunes: Discussion 2020-08-26T07:14:07Ztag:help.beatunes.com,2009-07-24:Comment/446240682018-01-30T08:10:09Z2018-01-30T08:10:09ZAuto Key and BPM Analysis Plus Playback Lag<div><p>Hey John,</p>
<p>You are correct - due to an oversight, the Get Info algorithm uses an older algorithm, which has not performed as well as the current algorithm (in internal benchmarks). The key difference is the handling of so called octave errors. Those are values that are wrong by a factor of 2 or 3. Starting with 5.1.1, Get Info should behave exactly as the regular analysis.</p>
<p>Thank you for making me aware of this.</p>
<blockquote>
<p>Another thing is if I use Beatunes for an extended period, playback is very laggy and I have to restart the app. That is also kind of annoying.</p>
</blockquote>
<p>What exactly do you mean with "laggy"? Stuttering? beaTunes does not react to controls quickly?</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/446240682018-01-30T10:03:58Z2018-01-30T10:03:59ZAuto Key and BPM Analysis Plus Playback Lag<div><p>Hendrik,</p>
<p>Ah, ok about the Key differences. I imagine it’s also the same story with BPM using the old algorithm?<br>
Two BPM boxes: I was always curious since it is not pointed out in the documentation (or I missed it somehow), what the second box is for BPM. It cannot be the “Hi-Res BPM” like in the Beatport app since the number is usually double or half of the actual BPM. I found the number is useful in determining songs of a similar Genre but a somewhat different beat structure. I just avoid the ones that don’t match so the blends do not train wreck. That comes in handy for seamless transitions in Techno and House music.</p>
<p>Laggy: I’m referring to playback. After making a couple of playlists and using the app for a few hours the playing track keeps stopping until it has enough memory to play again. Kind of like a slow internet connection. The only other apps open are usually iTunes and my browser, Google Chrome. I’m using a 13” 2015 MacBook Pro with 8gb ram and 1tb SSD. From what I gather, Beatune’s cache gets full from other processes and needs to be rebooted. It works great again after restarting the app. I’m not a programmer but I guess some kind of script to flush the cache when it gets to a certain level might help.</p>
<p>Thanks again for your quick response!<br>
John</p></div>John Bergmantag:help.beatunes.com,2009-07-24:Comment/446240682018-01-31T08:26:13Z2018-01-31T08:26:13ZAuto Key and BPM Analysis Plus Playback Lag<div><blockquote>
<p>Ah, ok about the Key differences. I imagine it’s also the same story with BPM using the old algorithm?</p>
</blockquote>
<p>Yes.</p>
<blockquote>
<p>Two BPM boxes: I was always curious since it is not pointed out in the documentation (or I missed it somehow), what the second box is for BPM.</p>
</blockquote>
<p>There is a consensus in the scientific community that there is not always an absolute truth w.r.t. tempo (see for example <a href="https://www.researchgate.net/profile/Martin_McKinney/publication/265996950_TEMPO_PERCEPTION_AND_MUSICAL_CONTENT_WHAT_MAKES_A_PIECE_FAST_SLOW_OR_TEMPORALLY_AMBIGUOUS/links/54f09ad80cf2f9e34efce04b.pdf">TEMPO PERCEPTION AND MUSICAL CONTENT: WHAT MAKES A PIECE FAST, SLOW OR TEMPORALLY AMBIGUOUS?</a>). If you let 10 people tap along to a song, some may tap half or twice as fast as the tempo the majority chooses. The second box tries to estimate the second most likely tempo. How "certain" beaTunes is of its estimate (also called salience) is displayed in the tooltip for the BPM column in the main table. There you see percentages for the main tempo and its alternative.</p>
<blockquote>
<p>Laggy: I’m referring to playback. After making a couple of playlists and using the app for a few hours the playing track keeps stopping until it has enough memory to play again. Kind of like a slow internet connection. The only other apps open are usually iTunes and my browser, Google Chrome. I’m using a 13” 2015 MacBook Pro with 8gb ram and 1tb SSD. From what I gather, Beatune’s cache gets full from other processes and needs to be rebooted. It works great again after restarting the app. I’m not a programmer but I guess some kind of script to flush the cache when it gets to a certain level might help.</p>
</blockquote>
<p>OK - so the playback is interrupted from breaks. What is your memory setting (see about dialog) and how many songs are in your library?</p>
<p>Thanks,</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/446240682018-02-02T08:13:08Z2018-02-02T08:13:08ZAuto Key and BPM Analysis Plus Playback Lag<div><p>I've seen in your other post:</p>
<blockquote>
<p>Memory: 92m - 3024m</p>
</blockquote>
<p>That's definitely high enough. How many songs do you have in the library?</p>
<p>-hendrik</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/446240682018-02-02T08:15:20Z2018-02-02T08:15:20ZAuto Key and BPM Analysis Plus Playback Lag<div><p>I have 29,924 tracks in my library.</p></div>John Bergmantag:help.beatunes.com,2009-07-24:Comment/446240682018-02-02T08:22:08Z2018-02-02T08:22:08ZAuto Key and BPM Analysis Plus Playback Lag<div><p>If the lag/stuttering happens again, can you please go to <code>Help</code> -> <code>Upload Logs</code> and let me know? I suspect there is something in the logs that will help me fix this.</p>
<p>That said—if your database was in a bad state, that may also have been the culprit for the issue.</p></div>hendriktag:help.beatunes.com,2009-07-24:Comment/446240682018-02-02T08:41:43Z2018-02-02T08:41:43ZAuto Key and BPM Analysis Plus Playback Lag<div><p>That sounds reasonable. It’s only been a few hours yet I haven’t had any skipping that I’ve noticed.</p></div>John Bergman