On Fri, 22 Feb 2002, Guenther Sohler wrote:

> > There are signal paths inside EMU10K1 and EMU10K2 called FX buses. The
> > samples from MIDI wavetable engine go through two FX buses (left and
> > right) and samples for reverb and chorus go through extra FX buses, so
> > the signal is not mixed. Check for FX buses in emu10k1.h:
> >
> >#define FXBUS_MIDI_LEFT         0x04
> >#define FXBUS_MIDI_RIGHT        0x05
> >#define FXBUS_MIDI_REVERB       0x0c
> >#define FXBUS_MIDI_CHORUS       0x0d
>
> that means, i just have to mix these additional reverb and chorus to the left
> and right midi channel.
> This sounds very easy. I am wondering why its not yet done. I can do this, if
> wanted.

No, you don't understand this. The wavetable engine sends to reverb and
chorus buses samples attenuated as specified in MIDI messages as input for
the reverb and chorus effects. These samples HAVE NOT the effects
applied at all. It must be implemented in the DSP engine before the signal
will be mixed back with the left and right PCM and Music outputs.

Also, the reverb and chorus effects should use TRAM which is also used by
the raw S/PDIF PCM device, so it is required to do some locking to prevent
simultaneous operations with raw S/PDIF and these effects.

                                                Jaroslav

-----
Jaroslav Kysela <[EMAIL PROTECTED]>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com


_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to