[ecasound] Bug in -enm

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

Subject: [ecasound] Bug in -enm
From: S. Massy (theanaloguekid@tak.net.dhis.org)
Date: Fri Jun 01 2001 - 23:37:26 EEST


Alright... There seems to be a bug in -enm triggered when using an
internal sampling rather other than 44100 Hz. (Suggesting a weird
assumption somewhere); for instance:
$ ecasound -sr:22050 -i:test.wav -o:/dev/dsp -enm:8,10,10,50,30 -c
****************************************************************************
* ecasound v2.0.1 (C) 1997-2001 Kai Vehmanen *
****************************************************************************
(eca-session) Interactive mode enabled.
(eca-chainsetup) Setting internal sample rate to: 22050
- [ Chainsetup/Adding chain operator "Noisegate" ] -------------------------
Setting parameters: threshold-level-% = 8.00, pre-hold-time-msec = 10.00, attack
-time-msec = 10.00, post-hold-time-msec = 50.00, release-time-msec = 30.00
- [ Chainsetup/Enabling audio inputs ] -------------------------------------
(eca-audio-objects) Audio object "test.wav", mode "read".
(audio-io) Format: s16_le, channels 2, srate 22050, interleaved.
- [ Chainsetup/Enabling audio outputs ] ------------------------------------
(eca-audio-objects) Audio object "/dev/dsp", mode "write".
(audio-io) Format: s16_le, channels 2, srate 44100, interleaved.
ecasound ('h' for help)> cop-status
- [ Chain operator status ] ------------------------------------------------
Chain "default":
        1. Noisegate: [1] threshold-level-% 8.00, [2] pre-hold-time-msec 10.00,
[3] attack-time-msec 10.00, [4] post-hold-time-msec 50.00, [5] release-time-msec
 30.00
ecasound ('h' for help)> start
- [ Controller/Processing started ] ----------------------------------------
ecasound ('h' for help)> - [ Engine/Init - mixmode "simple" ] ------------------
---------------------
        ### BTW, I think there's a \n missing there... ###
stop
- [ Controller/Processing stopped ] ----------------------------------------
ecasound ('h' for help)> cop-status
- [ Chain operator status ] ------------------------------------------------
Chain "default":
        1. Noisegate: [1] threshold-level-% 8.00, [2] pre-hold-time-msec 20.00,
[3] attack-time-msec 20.00, [4] post-hold-time-msec 100.00, [5] release-time-mse
c 60.00
ecasound ('h' for help)>
...
As you can see plainly the values have been modified once some processing has
been done. The values are always modified by a coefficient of
(44100/current_int_sr).

On a side note there seems to be a typo at http://www.eca.cx
"* 03.05.2000 - ecasound 2.0.0 released!
        New disk subsystem optimized for streaming under high system
        load, ECI - a new library interface with implementations in
        C++, C and Python, a redesigned MIDI-subsystem, support for
        ALSA 0.9.x, 32bit OSS-devices, effect preset improvements,
        and the usual set of bug fixes. See the whole
        announcement."

Regards,
S. Massy

--
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 : Fri Jun 01 2001 - 23:38:16 EEST