Joe Planisky | 3 May 2007 16:50

Problem with crop gate open time

Hi All,

I've started using ecasound (version 2.4.4 on Ubuntu 6.10) to help  
digitize some old analog recordings and I'm having a problem with the  
crop gate (gc).  Specifically, the gate doesn't seem to open at the  
time specified.  The command I'm using is something like this:

ecasound -i infile.wav -gc:870.102254,10 -o outfile.wav

The audio in outfile is 10 seconds of sound starting at 870.78  
seconds into infile.wav.  In other words, it seems as if the gate  
opened about 0.68 seconds late.  Now, quite by accident, I discovered  
that the error in open time varies depending on buffer size. If I  
specify  a small buffer size, the gate opens too early.  E.g.

ecasound -b:64 -i infile.wav -gc:870.102254,10 -o outfile.wav

seems to cause the gate to open at 863.45, or about 6.65 seconds  
early.  I tried all possible buffer sizes between 2 and 4096, but  
none of them result in an accurate open time.

The files are ordinary f:16,2,44100 wav files.

Is this a known problem?  Is there a workaround?

--
Joe

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
(Continue reading)

Dan Macklin | 9 May 2007 16:09
Picon
Favicon

Multiple instances of jackd and ecasound / ecasignalview

Hi,

I have two audio delta  M Audio Delta 1010LT cards in my Fedora core 5 PC 
and am using the open oss drivers.

I have sucessfully set-up jackd so that two ecasignalview windows can 
capture from the same dsp port at the same time using this command for jackd 
:-

jackd -v -R -doss -C /dev/dsp7

I then run ecasignalview like this :-

ecasignalview jack_auto

However I would like to be able to capture and monitor the output from a 
number of my /dev/dsp devices at the same time.

The only way I can see to do this is to run jackd many times, with a 
different name for each device using the --name option of jackd.  For 
example :-

jackd --name dan  -v -R -doss -C /dev/dsp7
jackd --name dan2 -v -R -doss -C /dev/dsp7

My question is how do I get ecasignalview to recognise each of these jackd 
servers ?

I'm quite new to this so sorry if my quesiton seems a bit dumb.

(Continue reading)

John Rigg | 9 May 2007 19:44
Picon
Favicon

Re: Multiple instances of jackd and ecasound / ecasignalview

On Wed, May 09, 2007 at 02:09:45PM +0000, Dan Macklin wrote:
> Hi,
> 
> I have two audio delta  M Audio Delta 1010LT cards in my Fedora core 5 PC 
> and am using the open oss drivers.

Does it have to be OSS? You can set up ALSA so that only one instance
of jackd is needed with multiple cards, using the method described
here:

http://www.sound-man.co.uk/linuxaudio/ice1712multi.html

I've been using three Delta 1010s like this for a while now.

John

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

e deleflie | 10 May 2007 07:51
Picon
Gravatar

reading WAVEX files

Hi,

I'm a newbie to ecasound .... I'm trying to automatically translate
*.amb files (which are actually just WAVEX files with header
information to define an ambisonic stream.) into 4 separate speaker
feeds using ladspa plugins.

Can ecasound read WAVEX files? I havn't had any success yet .... each
file has 3 or 4 channels in it.

Etienne

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

e deleflie | 10 May 2007 08:30
Picon
Gravatar

Re: reading WAVEX files

BTW ... apparently libsndfile can read wavex. But ecasound still
doesn't seem to want to read it:

ecasound -i:sndfile,myFile.amb,wavex -o:result.wav

(BTW it is a 4 channel file, I dont know if that is the problem...)

etienne

On 5/10/07, e deleflie <edeleflie <at> gmail.com> wrote:
> Hi,
>
> I'm a newbie to ecasound .... I'm trying to automatically translate
> *.amb files (which are actually just WAVEX files with header
> information to define an ambisonic stream.) into 4 separate speaker
> feeds using ladspa plugins.
>
> Can ecasound read WAVEX files? I havn't had any success yet .... each
> file has 3 or 4 channels in it.
>
> Etienne
>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ecasound-list mailing list
(Continue reading)

e deleflie | 11 May 2007 08:54
Picon
Gravatar

writing multiple files

Hi,

I am trying to send a 4 channel file to a ladspa effect, and then
write the 4 resultant tracks as independent files .... I'm having
problems routing the output of the LADSPA effect into 4 separate
tracks ... this is what I have (which seems to break at the loop
business):

ecasound \
  -a:1 \
  -f:16,4,44100 \
  -i:resample,auto,WXYZ.wav \
  -el:Ambisonics-square-decoder,0,1,1.44,1.44,500,2  \
  -o:loop,1 \
  -a:2,3,4,5 -i:loop,1 \
  -a:2 -f:16,1,44100 -o LFront.wav
  -a:3 -f:16,1,44100 -o RFront.wav
  -a:4 -f:16,1,44100 -o LBack.wav
  -a:5 -f:16,1,44100 -o RBack.wav

(BTW: that ladspa plugin takes 4 channels in and spits out 4 channels)

can anyone see what I am doing wrong?

Etienne

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
(Continue reading)

Kai Vehmanen | 11 May 2007 09:40

Re: reading WAVEX files

Hi,

On Thu, 10 May 2007, e deleflie wrote:

> BTW ... apparently libsndfile can read wavex. But ecasound still
> doesn't seem to want to read it:

yep, it should work with 'sndfile'.

> ecasound -i:sndfile,myFile.amb,wavex -o:result.wav

Hmm, could you send the debug output (running with '-ddd') to
me in an email.

> (BTW it is a 4 channel file, I dont know if that is the problem...)

No, shouldn't be a problem.

--

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list
(Continue reading)

Kai Vehmanen | 11 May 2007 09:45

Re: Problem with crop gate open time

Hi,

On Thu, 3 May 2007, Joe Planisky wrote:

> I've started using ecasound (version 2.4.4 on Ubuntu 6.10) to help
> digitize some old analog recordings and I'm having a problem with the
> crop gate (gc).  Specifically, the gate doesn't seem to open at the
> time specified.  The command I'm using is something like this:
>
> ecasound -i infile.wav -gc:870.102254,10 -o outfile.wav

yes, unfortunately cropping is done with block granularity, so the
buffersize setting (-b:sampleframes) defines the possible precision.

> Is this a known problem?  Is there a workaround?

The best workaround would be to improve the implementation of "-gc". Other 
options are:

  - use "-t:secs" for time-cropping (this is sample accurate)
  - use a smaller block-size (obviously is not good enough solution
    in your case)

--

-- 
  links, my public keys, etc at http://eca.cx/kv

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
(Continue reading)

Kai Vehmanen | 11 May 2007 09:55

Re: Multiple instances of jackd and ecasound / ecasignalview

Hi,

On Wed, 9 May 2007, Dan Macklin wrote:

> jackd -v -R -doss -C /dev/dsp7
>
> I then run ecasignalview like this :-
>
> ecasignalview jack_auto
[...]
> However I would like to be able to capture and monitor the output from a
> number of my /dev/dsp devices at the same time.

hmm, you could of course skip jackd altogether and run ecasignalview
directly:

ecasignalview /dev/dsp7 null
ecasignalview /dev/dsp8 null

... and so on.

> The only way I can see to do this is to run jackd many times, with a
> different name for each device using the --name option of jackd.  For
> example :-
>
> jackd --name dan  -v -R -doss -C /dev/dsp7
> jackd --name dan2 -v -R -doss -C /dev/dsp7
>
> My question is how do I get ecasignalview to recognise each of these jackd
> servers ?
(Continue reading)

e deleflie | 11 May 2007 12:58
Picon
Gravatar

Re: writing multiple files

jeepers, would you believe my only error was the missing slash at the
end of the line!

BTW ... I was at first frustrated learning ecasound's syntax .... but
now , as I get to know it better, I like it more and more ... in
combination with ladspa plugins, its a really powerful tool ...

please keep up the work!

Etienne

On 5/11/07, e deleflie <edeleflie <at> gmail.com> wrote:
> Hi,
>
> I am trying to send a 4 channel file to a ladspa effect, and then
> write the 4 resultant tracks as independent files .... I'm having
> problems routing the output of the LADSPA effect into 4 separate
> tracks ... this is what I have (which seems to break at the loop
> business):
>
> ecasound \
>   -a:1 \
>   -f:16,4,44100 \
>   -i:resample,auto,WXYZ.wav \
>   -el:Ambisonics-square-decoder,0,1,1.44,1.44,500,2  \
>   -o:loop,1 \
>   -a:2,3,4,5 -i:loop,1 \
>   -a:2 -f:16,1,44100 -o LFront.wav
>   -a:3 -f:16,1,44100 -o RFront.wav
>   -a:4 -f:16,1,44100 -o LBack.wav
(Continue reading)


Gmane