sbt-sound
sbt-sound copied to clipboard
Long sound does not play till the end
As written in the README, I added the line to play sound after compilation is done:
sound.play(compile in Compile, "meow_futurama.wav")
The problem is that only a small portion of the sound - around 0.5 seconds from the beginning - is played (the sound is longer). I tested with play
, it plays without issues.
Can you please email me the sound file you're using, so I can test it myself? orrsella at gmail. Thanks
It seems that every longer sound is cut, no? So here is the file: link
I've just tested your sound on a small test project and it seems to work fine (plays the entire 4 secs). Can you give some details for your sbt project configuration? Is it unusually large? Are you using sub-projects, etc.?
I can send you the small test project I created so you can try to compile it on your machine and see if it works OK.
Sorry for a very late response.
I tried your plugin again with a completely different project (and sbt 0.13). The issue occurs only when I use a "one-time" sbt goal from terminal (e.g. $ sbt test), rather than invoking test in the sbt console; the sound is cut off at the point when sbt returns to terminal.