All of lore.kernel.org
 help / color / mirror / Atom feed
* Midi reverb on Emu10k1
@ 2002-06-24 18:38 Nicola Orru'
  2002-06-26 17:09 ` Takashi Iwai
  0 siblings, 1 reply; 5+ messages in thread
From: Nicola Orru' @ 2002-06-24 18:38 UTC (permalink / raw)
  To: alsa-devel

Hello, people out there!

I'm Yet-Another-Programmer-Keyboard player.
I would like to work on MIDI chorus/reverb implementations on the emu10k1 driver in a way 
I can experience as much fun as original Creative driver provide on Windogs.

Where should I start from? How much work is needed to complete the sub-project?
Where can I find documentation about that?

Currently, I am trying to learn more about DSP architectures and 
digital filter programming on several online books, but, 
as I have little patience, I would like to "beat the metal" as
soon as possible.

Any hints, pointers to TFM, will be sooo happily accepted.

Thanks a lot,

Nicola Orru'
------------------------------------------------------------------------
ENERGIT
Via Efisio Melis, 26
09134 Cagliari - Italia
Tel. +39 070 7521     Fax +39 070 7521 51
www.energit.it

Energia  Telefonia  Servizi Internet  Sistemi di Gestione per le Aziende
------------------------------------------------------------------------


-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Midi reverb on Emu10k1
  2002-06-24 18:38 Midi reverb on Emu10k1 Nicola Orru'
@ 2002-06-26 17:09 ` Takashi Iwai
  2002-06-26 17:26   ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Takashi Iwai @ 2002-06-26 17:09 UTC (permalink / raw)
  To: Nicola Orru'; +Cc: alsa-devel

Hi,

At Mon, 24 Jun 2002 20:38:00 +0200,
Nicola Orru' wrote:
> 
> Hello, people out there!
> 
> I'm Yet-Another-Programmer-Keyboard player.
> I would like to work on MIDI chorus/reverb implementations on the emu10k1 driver in a way 
> I can experience as much fun as original Creative driver provide on Windogs.
> 
> Where should I start from? How much work is needed to complete the sub-project?
> Where can I find documentation about that?
 
this is one of long standing todo's.

the implementation needs to steps.

1. write a dsp loader program to communicate with the alsa-drivers via
   emu10k1's hwdep ioctls.

   there is already an assembler, which was ported from oss driver's
   program.  but it's never tested, i think.

2. adds a code to assign the dsp codes to certain midi controls in
   emu10k1 driver.

once the first one is ready, then it wouldn't take long time to do the
2nd step.  i have already some idea about the latter.


> Currently, I am trying to learn more about DSP architectures and 
> digital filter programming on several online books, but, 
> as I have little patience, I would like to "beat the metal" as
> soon as possible.
> 
> Any hints, pointers to TFM, will be sooo happily accepted.

the oss emu10k1 driver has already good examples for dsp codes on sb
live.  but the interface is different between alsa and oss drivers, so
you cannot use them straightforwardly.
the oss emu10k1 archive also includes some documents about dsp codes
on emu10k1.

the problem is, as written above, the implementation of loader.
how to manage static and dynamic routings, and so on.


ciao,

Takashi


-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Midi reverb on Emu10k1
  2002-06-26 17:09 ` Takashi Iwai
@ 2002-06-26 17:26   ` Jaroslav Kysela
  2002-06-26 23:32     ` Rui Sousa
  0 siblings, 1 reply; 5+ messages in thread
From: Jaroslav Kysela @ 2002-06-26 17:26 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Nicola Orru', alsa-devel@lists.sourceforge.net

On Wed, 26 Jun 2002, Takashi Iwai wrote:

> Hi,
> 
> At Mon, 24 Jun 2002 20:38:00 +0200,
> Nicola Orru' wrote:
qq> > 
> > Hello, people out there!
> > 
> > I'm Yet-Another-Programmer-Keyboard player.
> > I would like to work on MIDI chorus/reverb implementations on the emu10k1 driver in a way 
> > I can experience as much fun as original Creative driver provide on Windogs.
> > 
> > Where should I start from? How much work is needed to complete the sub-project?
> > Where can I find documentation about that?
>  
> this is one of long standing todo's.
> 
> the implementation needs to steps.
> 
> 1. write a dsp loader program to communicate with the alsa-drivers via
>    emu10k1's hwdep ioctls.
> 
>    there is already an assembler, which was ported from oss driver's
>    program.  but it's never tested, i think.

Well, the assembler probably needs more modifications, because my idea of 
DSP code management and linking is different from the OSS guys.

> 2. adds a code to assign the dsp codes to certain midi controls in
>    emu10k1 driver.
> 
> once the first one is ready, then it wouldn't take long time to do the
> 2nd step.  i have already some idea about the latter.
> 
> 
> > Currently, I am trying to learn more about DSP architectures and 
> > digital filter programming on several online books, but, 
> > as I have little patience, I would like to "beat the metal" as
> > soon as possible.
> > 
> > Any hints, pointers to TFM, will be sooo happily accepted.
> 
> the oss emu10k1 driver has already good examples for dsp codes on sb
> live.  but the interface is different between alsa and oss drivers, so
> you cannot use them straightforwardly.
> the oss emu10k1 archive also includes some documents about dsp codes
> on emu10k1.
> 
> the problem is, as written above, the implementation of loader.
> how to manage static and dynamic routings, and so on.

Exactly. OSS code does this management partly in the kernel. In my
opinion, we should leave in kernel only necessary things, so the
linker/loader/code manager should be written completely in the user space.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Midi reverb on Emu10k1
  2002-06-26 17:26   ` Jaroslav Kysela
@ 2002-06-26 23:32     ` Rui Sousa
  2002-06-27 14:18       ` Jaroslav Kysela
  0 siblings, 1 reply; 5+ messages in thread
From: Rui Sousa @ 2002-06-26 23:32 UTC (permalink / raw)
  To: Jaroslav Kysela
  Cc: Takashi Iwai, Nicola Orru', alsa-devel@lists.sourceforge.net

On Wed, 26 Jun 2002, Jaroslav Kysela wrote:

> On Wed, 26 Jun 2002, Takashi Iwai wrote:
> 
> > Hi,
> > 
> > At Mon, 24 Jun 2002 20:38:00 +0200,
> > Nicola Orru' wrote:
> qq> > 
> > > Hello, people out there!
> > > 
> > > I'm Yet-Another-Programmer-Keyboard player.
> > > I would like to work on MIDI chorus/reverb implementations on the emu10k1 driver in a way 
> > > I can experience as much fun as original Creative driver provide on Windogs.
> > > 
> > > Where should I start from? How much work is needed to complete the sub-project?
> > > Where can I find documentation about that?
> >  
> > this is one of long standing todo's.
> > 
> > the implementation needs to steps.
> > 
> > 1. write a dsp loader program to communicate with the alsa-drivers via
> >    emu10k1's hwdep ioctls.
> > 
> >    there is already an assembler, which was ported from oss driver's
> >    program.  but it's never tested, i think.
> 
> Well, the assembler probably needs more modifications, because my idea of 
> DSP code management and linking is different from the OSS guys.
> 
> > 2. adds a code to assign the dsp codes to certain midi controls in
> >    emu10k1 driver.
> > 
> > once the first one is ready, then it wouldn't take long time to do the
> > 2nd step.  i have already some idea about the latter.
> > 
> > 
> > > Currently, I am trying to learn more about DSP architectures and 
> > > digital filter programming on several online books, but, 
> > > as I have little patience, I would like to "beat the metal" as
> > > soon as possible.
> > > 
> > > Any hints, pointers to TFM, will be sooo happily accepted.
> > 
> > the oss emu10k1 driver has already good examples for dsp codes on sb
> > live.  but the interface is different between alsa and oss drivers, so
> > you cannot use them straightforwardly.
> > the oss emu10k1 archive also includes some documents about dsp codes
> > on emu10k1.
> > 
> > the problem is, as written above, the implementation of loader.
> > how to manage static and dynamic routings, and so on.
> 
> Exactly. OSS code does this management partly in the kernel. In my
> opinion, we should leave in kernel only necessary things, so the
> linker/loader/code manager should be written completely in the user space.
> 

This is basically what we have (the "OSS guys" ;). The information that is
kept in the kernel is not meant to do any managing but instead it 
allows the patch loader/manager (implemented in user space) to 
retrieve the current DSP code state (which patches are loaded, which 
inputs connect to which outputs, ....). This is very difficult 
(impossible, maybe) to deduce by simply retrieving the DSP code.

Rui Sousa



-------------------------------------------------------
This sf.net email is sponsored by: Jabber Inc.
Don't miss the IM event of the season | Special offer for OSDN members! 
JabberConf 2002, Aug. 20-22, Keystone, CO http://www.jabberconf.com/osdn

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: Midi reverb on Emu10k1
  2002-06-26 23:32     ` Rui Sousa
@ 2002-06-27 14:18       ` Jaroslav Kysela
  0 siblings, 0 replies; 5+ messages in thread
From: Jaroslav Kysela @ 2002-06-27 14:18 UTC (permalink / raw)
  To: Rui Sousa
  Cc: Takashi Iwai, Nicola Orru', alsa-devel@lists.sourceforge.net

On Thu, 27 Jun 2002, Rui Sousa wrote:

> On Wed, 26 Jun 2002, Jaroslav Kysela wrote:
> 
> > On Wed, 26 Jun 2002, Takashi Iwai wrote:
> > 
> > > Hi,
> > > 
> > > At Mon, 24 Jun 2002 20:38:00 +0200,
> > > Nicola Orru' wrote:
> > qq> > 
> > > > Hello, people out there!
> > > > 
> > > > I'm Yet-Another-Programmer-Keyboard player.
> > > > I would like to work on MIDI chorus/reverb implementations on the emu10k1 driver in a way 
> > > > I can experience as much fun as original Creative driver provide on Windogs.
> > > > 
> > > > Where should I start from? How much work is needed to complete the sub-project?
> > > > Where can I find documentation about that?
> > >  
> > > this is one of long standing todo's.
> > > 
> > > the implementation needs to steps.
> > > 
> > > 1. write a dsp loader program to communicate with the alsa-drivers via
> > >    emu10k1's hwdep ioctls.
> > > 
> > >    there is already an assembler, which was ported from oss driver's
> > >    program.  but it's never tested, i think.
> > 
> > Well, the assembler probably needs more modifications, because my idea of 
> > DSP code management and linking is different from the OSS guys.
> > 
> > > 2. adds a code to assign the dsp codes to certain midi controls in
> > >    emu10k1 driver.
> > > 
> > > once the first one is ready, then it wouldn't take long time to do the
> > > 2nd step.  i have already some idea about the latter.
> > > 
> > > 
> > > > Currently, I am trying to learn more about DSP architectures and 
> > > > digital filter programming on several online books, but, 
> > > > as I have little patience, I would like to "beat the metal" as
> > > > soon as possible.
> > > > 
> > > > Any hints, pointers to TFM, will be sooo happily accepted.
> > > 
> > > the oss emu10k1 driver has already good examples for dsp codes on sb
> > > live.  but the interface is different between alsa and oss drivers, so
> > > you cannot use them straightforwardly.
> > > the oss emu10k1 archive also includes some documents about dsp codes
> > > on emu10k1.
> > > 
> > > the problem is, as written above, the implementation of loader.
> > > how to manage static and dynamic routings, and so on.
> > 
> > Exactly. OSS code does this management partly in the kernel. In my
> > opinion, we should leave in kernel only necessary things, so the
> > linker/loader/code manager should be written completely in the user space.
> > 
> 
> This is basically what we have (the "OSS guys" ;). The information that is
> kept in the kernel is not meant to do any managing but instead it 
> allows the patch loader/manager (implemented in user space) to 
> retrieve the current DSP code state (which patches are loaded, which 
> inputs connect to which outputs, ....). This is very difficult 
> (impossible, maybe) to deduce by simply retrieving the DSP code.

Right, but we have things like shared memory for the inter-application 
communication. This job is not time-critical, so it would be really better 
to leave it outside the kernel space. And, at last, we can have more 
implementations of the linker/manager code, which is always appreciated in 
the open source community.

						Jaroslav

-----
Jaroslav Kysela <perex@suse.cz>
Linux Kernel Sound Maintainer
ALSA Project  http://www.alsa-project.org
SuSE Linux    http://www.suse.com



-------------------------------------------------------
Sponsored by:
ThinkGeek at http://www.ThinkGeek.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2002-06-27 14:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-24 18:38 Midi reverb on Emu10k1 Nicola Orru'
2002-06-26 17:09 ` Takashi Iwai
2002-06-26 17:26   ` Jaroslav Kysela
2002-06-26 23:32     ` Rui Sousa
2002-06-27 14:18       ` Jaroslav Kysela

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.