Re: [ecasound] problems with looping

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

Subject: Re: [ecasound] problems with looping
From: Kai Vehmanen (k@eca.cx)
Date: Mon May 01 2000 - 20:04:56 EEST


On Thu, 27 Apr 2000, Jeremy Hall wrote:

> ecasound -i /spare/mp3/file1.mp3 -o /dev/dsp -y:170.5 -t:240.8 -tl
[...]
> well it started at position 0
[...]
> now if I am tooling along in the file and then do the -t flag, when it
> loops, it will go back to wherever it was when I happened to hit the
> command.

Problem here is that -y affect the last specified input or output.
In this case you're trying to set the starting offset for /dev/dsp.
So the correct command-line would be:

ecasound -i /spare/mp3/file1.mp3 -y:170.5 -o /dev/dsp -t:240.8 -tl

> but that didn't really work either, so now I had to do
[...]
> setpos 170.5
> -t:411.3

This doesn't work either as setpos affects the global position
(all input and output objects). So instead of setpos, you should
use aio-setpos (audio object specific setpos).

-- 
Kai Vehmanen <k@eca.cx> ---------------- CS, University of Turku .
 . audio software for linux ...	http://www.eca.cx 		 .
 . armchair-tunes mp3/wav/ra .. http://www.wakkanet.fi/sculpcave .

-- 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 : Mon May 01 2000 - 21:18:08 EEST