Michael Dubno
2004-03-08, 19:39
So, is there a way to trick lame into doing the right thing?
I can probably pad the voice with a bit of extra white-sound.
The inability to play short files does seem like a bug though.
Thanks again - Mikes
-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Roy M.
Silvernail
Sent: Monday, March 08, 2004 8:13 PM
To: Slim Devices Discussion
Subject: [slim] Wave file generated by Java text-to-speech
synthesizerdoesn't play correctly
On Mon, 2004-03-08 at 19:41, kdf wrote:
> Otherwise, it could be a matter of sample rate. Squeezebox has some
issues with
> low sample rates, and maybe with mono wav as well but I'm not sure if
that's
> since been fixed.
That's it, Kevin. Michael's file is 8kHz mono. A little sox magic
sox test.wav -r 44100 -c 2 test2.wav
and the result does play on my squeeze, though it gets cut off early
(probably due to the short duration, as you suggested). For the time
being, any PCM for squeeze needs to be wav or aif (which appear to
differ only in byte order) at 44.1kHz sample rate, 2 channels, 16-bit
samples.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com
I can probably pad the voice with a bit of extra white-sound.
The inability to play short files does seem like a bug though.
Thanks again - Mikes
-----Original Message-----
From: discuss-bounces (AT) lists (DOT) slimdevices.com
[mailto:discuss-bounces (AT) lists (DOT) slimdevices.com] On Behalf Of Roy M.
Silvernail
Sent: Monday, March 08, 2004 8:13 PM
To: Slim Devices Discussion
Subject: [slim] Wave file generated by Java text-to-speech
synthesizerdoesn't play correctly
On Mon, 2004-03-08 at 19:41, kdf wrote:
> Otherwise, it could be a matter of sample rate. Squeezebox has some
issues with
> low sample rates, and maybe with mono wav as well but I'm not sure if
that's
> since been fixed.
That's it, Kevin. Michael's file is 8kHz mono. A little sox magic
sox test.wav -r 44100 -c 2 test2.wav
and the result does play on my squeeze, though it gets cut off early
(probably due to the short duration, as you suggested). For the time
being, any PCM for squeeze needs to be wav or aif (which appear to
differ only in byte order) at 44.1kHz sample rate, 2 channels, 16-bit
samples.
--
Roy M. Silvernail is roy (AT) rant-central (DOT) com, and you're not
Never Forget: It's Only 1's and 0's!
SpamAssassin->procmail->/dev/null->bliss
http://www.rant-central.com