Re: [ecasound] cs-toggle-loop?

New Message Reply Date view Thread view Subject view Author view Other groups

Subject: Re: [ecasound] cs-toggle-loop?
From: Remco Poelstra (rjpoelstra@home.nl)
Date: Fri Jun 15 2001 - 01:39:08 EEST


On wo, 13 jun 2001 22:13:07 S. Massy wrote:
> Two ways you could overcome this problem until the bug is squashed:
> - Specify a proctime one ms shorter than your file length; so if your
> file is
> 0.6 sec long you could say "cs-set-length 0.599" I don't think a ms is
> enough to make a difference to your ear but it will do the trick for
> ecasound's engine.
> BTW; even though cs-set-length only reports two digits after the period
> when
> you set it it really takes in account the other digits as well...

Aha, the full time looping works, but not always. I have found a way it
does work for my program, so I'm happy. I also found a way it doesn't work
and here is the full outpuyt of ecasound:

remco@Duron:~$ ecasound -c
****************************************************************************
* ecasound v2.0.1 (C) 1997-2001 Kai Vehmanen
*
****************************************************************************
(eca-session) Interactive mode enabled.
ecasound ('h' for help)> cs-add chainsetup
(eca-controller) Selected chainsetup: "chainsetup".
(eca-controller) Added a new chainsetup with name "chainsetup".
ecasound ('h' for help)> c-add chain
(eca-controller) Added chains: chain.
ecasound ('h' for help)> -i:test.wav
ecasound ('h' for help)> -o:/dev/dsp
ecasound ('h' for help)> ai-iselect 1
ecasound ('h' for help)> cs-connect
- [ Chainsetup/Enabling audio inputs ]
-------------------------------------
(eca-audio-objects) Audio object "test.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup/Enabling audio outputs ]
------------------------------------
(eca-audio-objects) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-controller) Connected chainsetup: "chainsetup".
ecasound ('h' for help)> ai-get-length
59.907
ecasound ('h' for help)> cs-disconnect
(eca-controller) Disconnecting chainsetup: "chainsetup".
ecasound ('h' for help)> cs-set-length 59.906
(eca-controller) Set chainsetup processing length to "59.91" seconds.
ecasound ('h' for help)> cs-toggle-loop
(eca-controller) Enabled looping.
ecasound ('h' for help)> cs-coonect
(eca-control) ERROR: Unknown command!
ecasound ('h' for help)> cs-connect
- [ Chainsetup/Enabling audio inputs ]
-------------------------------------
(eca-audio-objects) Audio object "test.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup/Enabling audio outputs ]
------------------------------------
(eca-audio-objects) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-controller) Connected chainsetup: "chainsetup".
ecasound ('h' for help)> t
- [ Controller/Processing started ] ----------------------------------------
ecasound ('h' for help)> - [ Engine/Init - mixmode "simple" ]
---------------------------------------
s
- [ Controller/Processing stopped ] ----------------------------------------
ecasound ('h' for help)> cs-disconnect
- [ Engine/Exiting ] -------------------------------------------------------
(eca-controller) Disconnecting chainsetup: "chainsetup".
ecasound ('h' for help)> cs-set-length 59.907
(eca-controller) Set chainsetup processing length to "59.91" seconds.
ecasound ('h' for help)> cs-connect
- [ Chainsetup/Enabling audio inputs ]
-------------------------------------
(eca-audio-objects) Audio object "test.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup/Enabling audio outputs ]
------------------------------------
(eca-audio-objects) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(eca-controller) Connected chainsetup: "chainsetup".
ecasound ('h' for help)> t
- [ Controller/Processing started ] ----------------------------------------
ecasound ('h' for help)> - [ Engine/Init - mixmode "simple" ]
---------------------------------------
q
- [ Engine/Exiting ] -------------------------------------------------------

---
Exiting...
remco@Duron:~$ 

I hope you can do something with it, of course after the last t ecasound doesn't loop.

Remco Poelstra

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


New Message Reply Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Thu Jun 14 2001 - 23:33:59 EEST