All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: holborn@telefonica.net
Cc: alsa-devel@lists.sourceforge.net
Subject: Re: questions about card detection
Date: Fri, 29 Aug 2003 13:13:11 +0200	[thread overview]
Message-ID: <s5hhe40yawo.wl@alsa2.suse.de> (raw)
In-Reply-To: <200308291131.35068.holborn@telefonica.net>

At Fri, 29 Aug 2003 11:31:35 +0100,
holborn wrote:
> 
> On Viernes, 29 de Agosto de 2003 10:37, Takashi Iwai wrote:
> 
> Hi!
> 
> 
> > "sub-device" is the lowest level of PCM abstration.
> > an actual PCM stream is always assigned to a sub-stream.
> >
> > the sub-device is introduced to represent the cases like
> > multi-playback function.  for example, SB Live can play 32 stereo
> > streams at the same time.  in the ALSA, the driver assigns 32
> > sub-devices (sub-streams) to a playback device.
> 
> Are this sub-devices used by the internal SB Live synthesizer?  

well, not directly.
on emu10k1, PCM streams and WaveTable synth voices are identical.
(so, indeed, you can even change the pitch, apply LFO, lowpass filter,
 etc. to PCM streams in real-time (in theory :) )

WaveTable synth allocates the voices dynamically.  it looks for an
empty (hardware) stream and assigns it for the MIDI voice.  after the
voice is released (i.e. tone is finished), the stream is released
again for free.

usually, PCM looks for the empty pair of stereo slots to assign the
PCM substream automatically.  thus, using WaveTable at the same time
would influence on the substream number to be assigned at the open
time. 

note that the WaveTable has lower priority than PCM.  if all hardware
streams are in use, PCM tries to stop WaveTable voices until a pair of
stereo streams becomes available.


> Or if that is not true, anyway to assign the sound of the different Midi 
> Channels to that sub-devices in a way to apply LADSPA effects?

no.  the MIDI wavetable is hardware only.  there is no feedback to
apply effects on the fly.


Takashi


-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

      reply	other threads:[~2003-08-29 11:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-08-29  9:04 questions about card detection Joshua Haberman
2003-08-29  9:37 ` Takashi Iwai
2003-08-29 10:31   ` holborn
2003-08-29 11:13     ` Takashi Iwai [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=s5hhe40yawo.wl@alsa2.suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=holborn@telefonica.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.