sbt-sound icon indicating copy to clipboard operation
sbt-sound copied to clipboard

Long sound does not play till the end

Open ikuraj opened this issue 11 years ago • 4 comments

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.

ikuraj avatar Jul 16 '13 19:07 ikuraj

Can you please email me the sound file you're using, so I can test it myself? orrsella at gmail. Thanks

orrsella avatar Jul 19 '13 10:07 orrsella

It seems that every longer sound is cut, no? So here is the file: link

ikuraj avatar Jul 22 '13 13:07 ikuraj

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.

orrsella avatar Jul 29 '13 21:07 orrsella

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.

ikuraj avatar Jun 01 '14 17:06 ikuraj