rflachlan / Luscinia

http://rflachlan.github.io/Luscinia
32 stars 7 forks source link

Can't play and can't make sonogram #3

Open dshizuka opened 7 years ago

dshizuka commented 7 years ago

Hi, I'm having trouble playing the song from the spectrogram view and making sonogram from songs that have been saved on the database. Both problems seem to occur when working from a ~6min recording but not when I load a shorter version of the same recording (< 2min). Is this a memory issue? Is there an upper limit to length of recording that Luscinia can handle?

rflachlan commented 7 years ago

Hi, there is no designed upper limit on sound lengths in Luscinia, but everything is loaded into RAM, which does limit things in practice. If you are using the .jar version of Luscinia, you may benefit from using the -Xmx command line option to launch it. You might also find it better to use .exe or .app versions of Luscinia for this.

Memory usage is higher when loading a song as a spectrogram rather than a recording. In general it's rare to need a 6minute song. It might also be the case that you would be better off loading the recording using Add Recording and splitting it into different songs...

Let me know if none of these options work for you!