Raoul | 1 Aug 2008 09:01
Picon
Favicon

Re: converting a sound rmf file to wav or ewf


On Thu, 31 Jul 2008 19:57:35 +0200 Julien Claassen <julien <at> c-lab.de> wrote:

> Hi!
>   If mplayer reads it, yo have good reason to be happy:
> mplayer -ao pcm:file=output.wav input.rmf

Hi Julien,

WOW, that make the tricks
i ignored this syntax, and now we know how to convert .rmf files
on the Unix world!
Many thanks.

Kindest regards

RAoul
rmgls <at> free.fr

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

(Continue reading)

Julien Claassen | 1 Aug 2008 11:25
Picon

Re: Making a mix from multiple WAVs faster

Hi!
   1. You could directly ouput the downmix to an mp3 file:
ecasound -a:1 -i ... -a:2 -i ... ... -a:all -o output.mp3
   2. You can probably trim all files with one command as well:
ecasound -a:1 -i file1.wav -o out1.wav -y:2.3 ... -a:2 -i file2.wav -o 
out2.wav -y:0 ... -a:N -i fileN.wav -o outN.wav -y:3.1 ...
   I guess you can do the full process in one command. Using the latest 
ecasound snapshot the pre4-2.5.0.
   There are the playat and other nice audio ops.
   If you can manage there are a lot of advantages:
1. Storage minimisation
2. Only one ecasound command
3. Which means: all the initialisation phases are reduced to one.
   PLEASE all have a look at this, for I'm not 100% sure:
ecasound -a:1 -i playat,play_time,file1.wav -y:start_trim -gc:... -ea:... (the 
other chains) -a:all -o output.mp3
   Just noticed again: Playat just moves the sample along the time of the 
complete song. thus:
ecasound -i playat,2,file.wav -o output.wav
   will play file.wav completely, but with 2 seconds silence at the start of 
the output.wav.
   Where the syntax:
ecasound -i file.wav -y:2.0 -o output.wav
   will play file.wav 2seconds in, no silence gap in front. If you get what I 
mean. I know it can get fuzzy around here.
   Kindest regards
         Julien

--------
Music was my first love and it will be my last (John Miles)
(Continue reading)

Tomás Arribas | 3 Aug 2008 23:39
Favicon

Re: Making a mix from multiple WAVs faster

Julien, thank you for your answer.

I have installed the v2.4.7pre4_2.5.0 for testing the method that you
suggested and I'm making some progress so far.

This is the command I'm generating for a song of 3 samples, one after
the other, in one track:

ecasound -a:1 -i playat,0,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:2 -i playat,2.41436547457371,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:3 -i playat,4.82873094914743,select,0,2.414,"samples/Balin's
Tomb/wav/Bass/Bass 1.wav" -o loop,1
-a:4 -i loop,1 -o loop,6 -ea:100
-a:5 -i loop,6 -o "downmix/untitled407123.mp3"

But at execution, I meet this error:

(eca-session) Note! Unable to create a valid chainsetup from the command-line
... arguments.
(eca-chainsetup) Unable to connect: Chain "1" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "1" is not connected to any output. All chains must have
... exactly one valid output. (2.2-NO-CHAIN-OUTPUT)
(eca-chainsetup) Unable to connect: Chain "2" is not valid. Following
errors were
... detected:
(eca-chainsetup) Chain "2" is not connected to any output. All chains must have
(Continue reading)

Tomás Arribas | 4 Aug 2008 05:23
Favicon

Re: Making a mix from multiple WAVs faster

Solved, I did it!

Finally I had to group all the chains into each loop device output,
instead of assigning the loop output to each chain. Like this:

ecasound -a:1 -i
playat,0,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums 3.wav"
-a:2 -i playat,2.04291830880413,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
3.wav"
-a:3 -i playat,4.08264455775075,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
3.wav"
-a:4 -i playat,6.12237080669737,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
3.wav"
-a:5 -i playat,8.17167323521651,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
6.wav"
-a:6 -i playat,10.2050153644481,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
6.wav"
-a:7 -i playat,12.2575098528248,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
6.wav"
-a:8 -i playat,14.3004281616289,select,0,2.043,"samples/Gurthrond/wav/Drums/Drums
6.wav"
-a:1,2,3,4,5,6,7,8 -o loop,1
-a:9 -i playat,0,select,0,4.086,"samples/Gurthrond/wav/Piano/Piano 6.wav"
-a:10 -i playat,4.08264455775075,select,0,4.086,"samples/Gurthrond/wav/Piano/Piano
6.wav"
-a:11 -i playat,8.17167323521651,select,0,4.086,"samples/Gurthrond/wav/Piano/Piano
7.wav"
-a:12 -i playat,12.2575098528248,select,0,4.086,"samples/Gurthrond/wav/Piano/Piano
8.wav"
-a:9,10,11,12 -o loop,2
(Continue reading)

Stuart Allie | 4 Aug 2008 05:41
Picon
Favicon

Re: Making a mix from multiple WAVs faster

Hi,

Sorry I didn't see this before - might have save you some time.  The documentation is wrong.  When you assign
chains to an output, it disconnects any chains already assigned to that output and then connects only the
currently selected chains.  I don't think the documentation spells that out explicitly anywhere.

So:
  -a:1 -o:loop,1
  -a:2 -o:loop,1
will result in only chain 2 being connected to loop 1; chain 1 will have no output connected, hence the error
message 'Chain "1" is not connected to any output'.

As you have discovered; this will work:
  -a:1,2 -o:loop,1
as there are 2 selected chains (1 and 2) and they will both be connected to the loop output.  Ecasound has
worked this way for a long time; unfortunately, the doco is incorrect.

Cheers,
Stuart

> -----Original Message-----
> From: ecasound-list-bounces <at> lists.sourceforge.net [mailto:ecasound-list-
> bounces <at> lists.sourceforge.net] On Behalf Of Tomás Arribas
> Sent: Monday, 4 August 2008 1:23 PM
> To: julien <at> c-lab.de
> Cc: ecasound-list <at> lists.sourceforge.net
> Subject: Re: [ecasound] Making a mix from multiple WAVs faster
> 
> Solved, I did it!
> 
(Continue reading)

Tomás Arribas | 4 Aug 2008 05:48
Favicon

Re: Making a mix from multiple WAVs faster

Ah, I see. Now the errors make sense. An update on that in the User
Guide will be great, as it is the only example in the User Guide for
the Loop Device and it can be quite misleading!

In any case, I love to tinker and think different ways to solve stuff,
so I had fun while figuring out the alternative method. And I learnt
more about Ecasound in the proccess. So no prob! Thanks for the
explanation on the logic behind it.

Tomás

2008/8/4 Stuart Allie <Stuart.Allie <at> hydro.com.au>:
> Hi,
>
> Sorry I didn't see this before - might have save you some time.  The documentation is wrong.  When you assign
chains to an output, it disconnects any chains already assigned to that output and then connects only the
currently selected chains.  I don't think the documentation spells that out explicitly anywhere.
>
> So:
>  -a:1 -o:loop,1
>  -a:2 -o:loop,1
> will result in only chain 2 being connected to loop 1; chain 1 will have no output connected, hence the error
message 'Chain "1" is not connected to any output'.
>
> As you have discovered; this will work:
>  -a:1,2 -o:loop,1
> as there are 2 selected chains (1 and 2) and they will both be connected to the loop output.  Ecasound has
worked this way for a long time; unfortunately, the doco is incorrect.
>
> Cheers,
(Continue reading)

Sergei Steshenko | 4 Aug 2008 23:10
Picon
Favicon

ecasound-2.4.6.1 segfaults when I try to do 2->4 input channels mapping

Hello All,

when I run this command line:

~/AFSWD/install/ecasound-2.4.6.1/binsh/ecasound -a:two_to_four_channels_chain -i track.flac
-chmove:2,3 -chcopy:1,2 -chcopy:3:4

, I'm getting this:

"

********************************************************************************
*        ecasound v2.4.6.1 (C) 1997-2007 Kai Vehmanen and others
********************************************************************************
- [ Session created ] ----------------------------------------------------------
- [ Chainsetup created (cmdline) ] ---------------------------------------------
Warning: DBC_CHECK failed - "to_channel > 0", audiofx_mixing.cpp, 70.
Warning: DBC_CHECK failed - "to_channel > 0", audiofx_mixing.cpp, 70.
- [ Connecting chainsetup ] ----------------------------------------------------
(eca-chainsetup) 'rt' buffering mode selected.
(eca-chainsetup) Audio object
... "track.flac",
... mode "read".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
(audioio_alsa) Warning! Period-size differs from current client buffersize.
(eca-chainsetup) Audio object "alsa", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
- [ Chainsetup connected ] -----------------------------------------------------
(eca-control-objects) Connected chainsetup: "command-line-setup".
- [ Controller/Starting batch processing ] -------------------------------------
(Continue reading)

Stuart Allie | 5 Aug 2008 01:07
Picon
Favicon

Re: ecasound-2.4.6.1 segfaults when I try to do 2->4 inputchannels mapping


> Hello All,
> 
> when I run this command line:
> 
> ~/AFSWD/install/ecasound-2.4.6.1/binsh/ecasound -
> a:two_to_four_channels_chain -i track.flac -chmove:2,3 -chcopy:1,2 -
> chcopy:3:4

Should that be -chcopy:3,4  (comma, not colon)?

That might cause "interesting" behaviour...

Hope that helps.
Stuart

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Ecasound-list mailing list
Ecasound-list <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Sergei Steshenko | 5 Aug 2008 01:30
Picon
Favicon

Re: ecasound-2.4.6.1 segfaults when I try to do 2->4 inputchannels mapping


--- On Mon, 8/4/08, Stuart Allie <Stuart.Allie <at> hydro.com.au> wrote:

> From: Stuart Allie <Stuart.Allie <at> hydro.com.au>
> Subject: RE: [ecasound] ecasound-2.4.6.1 segfaults when I try to do 2->4 inputchannels mapping
> To: sergstesh <at> yahoo.com, ecasound-list <at> lists.sourceforge.net
> Date: Monday, August 4, 2008, 4:07 PM
> > Hello All,
> > 
> > when I run this command line:
> > 
> > ~/AFSWD/install/ecasound-2.4.6.1/binsh/ecasound -
> > a:two_to_four_channels_chain -i track.flac -chmove:2,3
> -chcopy:1,2 -
> > chcopy:3:4
> 
> Should that be -chcopy:3,4  (comma, not colon)?
> 
> That might cause "interesting" behaviour...
> 
> Hope that helps.
> Stuart

At least, you've just confirmed there is a bug in command line parser.
With the suggested fix ecasound does not crash, though it is stuck with my
plugin.

Which just can be that my plugin is bad, but yesterday it worked with
ecasound (without the mapping).

(Continue reading)

Stuart Allie | 5 Aug 2008 01:44
Picon
Favicon

Re: ecasound-2.4.6.1 segfaults when I try to do 2->4 inputchannels mapping

> --- On Mon, 8/4/08, Stuart Allie <Stuart.Allie <at> hydro.com.au> wrote:
> 
> > From: Stuart Allie <Stuart.Allie <at> hydro.com.au>
> > Subject: RE: [ecasound] ecasound-2.4.6.1 segfaults when I try to do
2->4
> inputchannels mapping
> > To: sergstesh <at> yahoo.com, ecasound-list <at> lists.sourceforge.net
> > Date: Monday, August 4, 2008, 4:07 PM
> > > Hello All,
> > >
> > > when I run this command line:
> > >
> > > ~/AFSWD/install/ecasound-2.4.6.1/binsh/ecasound -
> > > a:two_to_four_channels_chain -i track.flac -chmove:2,3
> > -chcopy:1,2 -
> > > chcopy:3:4
> >
> > Should that be -chcopy:3,4  (comma, not colon)?
> >
> > That might cause "interesting" behaviour...
> >
> > Hope that helps.
> > Stuart
> 
> At least, you've just confirmed there is a bug in command line parser.
> With the suggested fix ecasound does not crash, though it is stuck
with my
> plugin.
> 
> Which just can be that my plugin is bad, but yesterday it worked with
(Continue reading)


Gmane