Two ewf-file bugs

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Two ewf-file bugs
From: Vegard Lima (Vegard.Lima_AT_hia.no)
Date: Wed May 28 2003 - 15:20:33 EEST


Hi,

during a rather long session with ecasound 2.2.3 (latest from CCRMA)
I found what appears to be a couple of bugs in ecasound's handling
of ewf-files. The following should show how to reproduce them:

#
# BUG #1: wrong length of ewf-file.
#
This should reproduce it:

$ ecasound -f:16,2,48000 -a:1 -i alsahw,0 -o 48kHz.wav -t:10

## Make a file called 48kHz.ewf containing ---
source=48kHz.wav
offset=5.0
start-position=0.0
length=10.0
loop=false
## End of 48kHz.ewf

$ ecasound -c -a:1 -i 48kHz.ewf -o alsahw,0
> t
> s
> fs
ecasound ('h' for help)> fs
### Audio input/output status (chainsetup 'command-line-setup') ###
Input (1): "48kHz.wav," - [DB => Ecasound wave file]
 -> connected to chains "1": position (1.344/13.781) seconds.
                                       ^^^^^^^^^^^^
 -> open, , s16_le/2ch/48000Hz, buffer 1024.
Output (1): "alsahw,0,0,0" - [ALSA PCM device]
 -> connected to chains "1": realtime-device; position 71680, delay 0.
 -> open, s16_le/2ch/48000Hz, buffer 1024.

I.e. ecasound thinks 48kHz.ewf is 13.781s long!

#
# BUG #2: Hello feedback.
#

$ ecasound -a:1 -i 48kHz.ewf -a:2 -f:16,2,48000 -i null \
-a:1 -el:lcrDelay,500,25,490,25,510,30,50,50,50,25,1 -a:1,2 -o alsahw,0

As soon as 48kHz.ewf is finished playing the delay-effect
gets increasingly louder.

Hope this helps in making the great ecasound even better.
Thanks,

-- 
Vegard Lima


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Wed May 28 2003 - 15:18:06 EEST