Re: [linux-audio-dev] Re: Synth APIs, pitch control

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

Subject: Re: [linux-audio-dev] Re: Synth APIs, pitch control
From: Sami P Perttu (perttu_AT_cc.helsinki.fi)
Date: Fri Dec 13 2002 - 11:42:39 EET


On 12 Dec 2002, nick wrote:

> > > http://amsynthe.sourceforge.net/amp_plugin.h which i am still toying
> >
> My whole idea with it was to make it as simple as possible. Bearing in
> mind that many people have learned MIDI already, it makes sense to me to
> use it. Another cool thing is that you could in theory write a sequencer
> as a plugin for it - since it can output midi data as it wishes. Other
> plugins such as midi arpeggiators could easily be written. All the
> timing is catered for since you know the number of frames elapsed in
> this process_**() call.

Even as a control language MIDI has a lot of shortcomings that it's time
to get rid of: note pitch values, low precision most everywhere. We might
as well design a format ourselves. XAP can probably accommodate simple
"musical" plugins but we really need another plugin system for the
sequencer... like you, I would really like to have something that is
usable yesterday but it's not going to happen, sigh.

> Also I find the whole notion of 'ports' just complicates the whole issue
> - the plugin is simply a piece of DSP code which processes buffer(s) of
> audio data. why is anything more than a pointer needed for this?

Ports could support a pull model where plugins request data when they want
it. Imagine a granular synthesizer that has, say, 16 audio ports that it
uses to render grains.

--
Sami Perttu                       "Flower chase the sunshine"
Sami.Perttu_AT_hiit.fi               http://www.cs.helsinki.fi/u/perttu


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

This archive was generated by hypermail 2b28 : Fri Dec 13 2002 - 11:47:11 EET