All of lore.kernel.org
 help / color / mirror / Atom feed
From: Steve Longerbeam <stevel@embeddedalley.com>
To: Clemens Ladisch <cladisch@fastmail.net>
Cc: ALSA devel <alsa-devel@alsa-project.org>
Subject: Re: a new synthesizer driver
Date: Thu, 19 Jul 2007 11:18:49 -0700	[thread overview]
Message-ID: <469FAB09.7000807@embeddedalley.com> (raw)
In-Reply-To: <1184826757.2575.1200931737@webmail.messagingengine.com>

Clemens Ladisch wrote:
> Steve Longerbeam wrote:
>   
>> I'm embarking on a big task: writing a new synthesizer driver. My device 
>>     
>
> Which one?
>   

it's an embedded SOC, the LSI Zevio 1020, here's a link:

http://www.lsi.com/consumer_home/products_home/standard_product_ics/application_processors/zevio1020/index.html

>   
>> has all the ingredients for a MIDI wavetable sythesizer: 64 voices, each 
>> voice with envelope, pitch, and LFO controls. Also global effects like 
>> reverb. It's similar to the emu10k1.
>>
>> So my first question would be, is the synth code under synth/emux/ 
>> general enough to use for a different synthesizer chip? Ie, can I 
>> implement my own operators in 'struct snd_emux_operators' and pass that 
>> to snd_emux_register() ?
>>     
>
> Probably not.  The sound font loading code is somewhat generic, but that
> is because the sound font format was designed to be the equivalent of
> the Emu chips' hardware capabilities.
>
> All that code has been written for Emu hardware.  How much it must be
> changed depends on how different your hardware is.
>
>   
>> Would it be a simple matter to make synth/emux/ a generic synth layer, 
>> by moving all the source in synth/emux/ up one level to synth/, and then 
>> rename all functions and data structures starting with "snd_emux" to 
>> "snd_synth" ?
>>     
>
> I think it is possible to reuse some of that code, but it wouldn't be
> as easy as just renaming some things.
>
> (The generic synth code is supposed to be in core/seq/seq_midi_emul.c.
> The synth/emux directory just exists to factor out common code of the
> Emu8000 and Emu10k1 drivers.)
>   

ok, that's what it looked like.

Steve

      reply	other threads:[~2007-07-19 18:18 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-19  1:28 a new synthesizer driver Steve Longerbeam
2007-07-19  6:32 ` Clemens Ladisch
2007-07-19 18:18   ` Steve Longerbeam [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=469FAB09.7000807@embeddedalley.com \
    --to=stevel@embeddedalley.com \
    --cc=alsa-devel@alsa-project.org \
    --cc=cladisch@fastmail.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.