Re: [ecasound] howto play wavfiles faster?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] howto play wavfiles faster?
From: janne halttunen (jhalttun_AT_pp.htv.fi)
Date: Sun Dec 30 2001 - 12:38:00 EET


On Sun, 30 Dec 2001, Marie-Christine Bluem wrote:

> Hello,
>
> this is just a user's question...
> How can I make ecasound play a wav-input faster or slower
> than it's original speed. (I tried -f:16,2,22050 to
> make a 44khz-file play slower - doesn't seem to work...)
> I'd be happy if you could help me.

(from ecasound man-page)
 "-ei:pitch-shift-%
 Pitch shifter. Modifies audio pitch by altering its length."

So:

$ ecasound -i foo.wav -ei 50 -o alsa

plays foo.wav half speed.

$ ecasound -i foo.wav -ei 200 -o alsa

plays foo.wav double speed. And so on...

(replace the 'alsa' with '/dev/dsp' if you have
ALSA older than 0.6 or OSS drivers)

...

Related to this, I noticed still some strangeness when using really low
parameters:

$ ecasound -i bass2.wav -ei 20 -o alsa

--cut--
(eca-engine) Prefilling i/o buffers.
(audioio-alsa3) unknown device state!
(audioio-alsa3) Xrun handling failed!
Warning: DBC_REQUIRE failed - "is_triggered_rep == false",
audioio_alsa3.cpp, 397.
ALSA lib pcm_hw.c:255:(snd_pcm_hw_start) SNDRV_PCM_IOCTL_START failed:
File descriptor in bad state
Ecasound watchdog-thread received signal 2. Exiting..
--cut--

It played, but the above error message still seems bit scary.
My version: CVS from yesterday.

janne

--
To unsubscribe send message 'unsubscribe' in the body of the
message to <ecasound-list-request_AT_wakkanet.fi>.


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 30 2001 - 12:34:35 EET