[ecasound] ecacut & various

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

Subject: [ecasound] ecacut & various
From: Jan Stary (jsta6559@artax.karlin.mff.cuni.cz)
Date: Tue May 02 2000 - 10:36:20 EEST


Dear Kai,

now I use ecasound-1.7.6d11, ecawave-0.2.1d2 on RedHat6.1 (kernel 2.2.12-20),
SB AWE, Pentium/100.
These are my experiences/questions:

-q:1 (one more time for the devices) ----------------------------
On my system, `cat /dev/sndstat' says

-------- cut -------
OSS/Free:3.8s2++-971130
Load type: Driver loaded as a module
Kernel: Linux jorgen 2.2.12-20 #1 Mon Sep 27 10:25:54 EDT 1999 i586
Config options: 0

Installed drivers:

Card config:

Audio devices:
0: Sound Blaster 16 (4.16) (DUPLEX)

Synth devices:
0: AWE32-0.4.3 (RAM512k)

Midi devices:
0: Sound Blaster 16
1: AWE Midi Emu

Timers:
0: System clock

Mixers:
0: Sound Blaster
------- cut --------

and `ls -al /dev/dsp*' says

----- cut ------------
lrwxrwxrwx 1 root root 9 Apr 14 08:32 /dev/dsp -> /dev/dsp0
crw------- 1 hans sys 14, 3 Apr 14 08:32 /dev/dsp0
crw------- 1 hans sys 14, 19 Apr 14 08:32 /dev/dsp1
crw------- 1 hans sys 14, 35 Apr 14 08:32 /dev/dsp2
crw------- 1 hans sys 14, 51 Apr 14 08:32 /dev/dsp3
----- cut --------

I use one device (/dev/dsp0) for playback and one (/dev/dsp1) for recording, of course,
but THAT'S what doesn't work.
`ecasound -f:16,1,44100 -a:1 -i:MonoMonitor.wav -o:/dev/dsp0 -a:2 -i:/dev/dsp1 -o:Rec.wav'
keeps saying
"ERROR: [AUDIOIO-OSS] : unable to open OSS-device to O_RDONLY"
Switching the devices to
`ecasound -f:16,1,44100 -a:1 -i:MonoMonitor.wav -o:/dev/dsp1 -a:2 -i:/dev/dsp0 -o:Rec.wav'
makes it
"ERROR: [AUDIOIO-OSS] : unable to open OSS-device to O_WRONLY"
So I still can't playback AND record at the same time. Am I doing something wrong?

-q:2 (ecawave cut/paste) --------------------------------------------------
The problem I reported last time disappeared in ecawave-0.2.1d2.
Anyway, this is what happened: cutting a short sequence out off the wav
resulted in the end of the wav put in the very beginning and other
weird things. Details and windowshots are at
http://artax.karlin.mff.cuni.cz/~jsta6559/ecacut/
Ecawave also seems to behave strangely if there's not enough room in /tmp.
It continues processing but the results are weird.

-q:3 (multichannel mixing) ------------------------------------------------
When mixing multiple mono channels to a stereo song, the output is usally clipping.
so I tried -b:2; it resulted in 2 minutes of "noised silence".
-b:64 : new SQUEEK whenever a sound was added to mix (reached its offset).
-b:1024: quite ok till 60s, then hell.
-b:2048: terrible clipping
-b:4096: clipping
-b:8192: clipping
There are mini-loops of the last few miliseconds of every sound and
they last from the moment the sound ended till the end of the output.

Do I miss some important option? Another reason?

Is it better to put simple mono effects (such as -ea:) before -erc:1,2
in this case or is it the same putting them after -erc? (I mean, is "amplify the mono.wav
to 200% and put the result in both chanels" the same like "make it a stereo and then amplify
it to 200%").

Another thing: The output is very quiet, not even as strong as the "source" wavs,
although they are mixed with -ea:=>100. I have to play it with "-ea:300". Why is that?

-q:4 (XM support) ---------------------------------------------------------
`ecasound -i:Drums.xm' works fine standalone, but being a line of a multichannel
mixing script such as

ecasound \
-f:16,2,44100 -a:1 -i:Drums.xm \
-f:16,1,44100 -a:2 -i:mono1.wav -erc:1,2 -epp:30 \
-f:16,1,44100 -a:3 -i:mono2.wav -erc:1,2 -epp:85 \
...
-f:16,2,44100 -a:all -o:song.wav

it results in only noisy whispers of Drums.xm
(while other tracks are ok). I have to render the XM as .wav
(from within soundtracker) and then mix it as Drums.wav
The wav is 17M, while XM is about 400K, so it's quite an important thing

-q:5 Does .ewf format supprot mp3's?

-q:6 (minor notes)
In ecasound manpage:

-erm:
"Channel indexing is started from 0" is typed twice.
Also, it doesn't seem to be true. If I used "-erc:0,1" in the scipts
above, it resulted in song.wav being 44 bytes and a 15Megs core dump.
With "-erc:1,2" it work fine. Or I don't understand channel indexing :-)

-o: "... if no no outputs are specified ..."
-etf: "... delayd version is goes to the right."

Thank you a LOT for answering my questions
(hope I don't bother you too much. And sorry for so much things at once)

Hans Stary

--
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 : Tue May 02 2000 - 10:37:28 EEST