All of lore.kernel.org
 help / color / mirror / Atom feed
* emu10k1 TRAM access ?
@ 2009-05-13 12:53 mAdVax
  0 siblings, 0 replies; 12+ messages in thread
From: mAdVax @ 2009-05-13 12:53 UTC (permalink / raw)
  To: alsa-devel

Hello

I would like to send some data to a DSP patch. I can use alsa controls 
(easy) but I need more : TRAM and lookup table. I read many lines of 
code, but all this is still quite obscure...
Here are 3 questions :

How can I fill the TRAM ? (from user space)
How can I know which TRAM area has been allocated to a given patch ?
Do 'lookup tables' work ?

Some code samples will be greatly appreciated  :)

Thanks in advance.

Xavier

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

* emu10k1 TRAM access ?
@ 2009-05-14 12:41 mAdVax
  2009-05-14 12:47 ` mAdVax
  2009-05-15 13:56 ` Takashi Iwai
  0 siblings, 2 replies; 12+ messages in thread
From: mAdVax @ 2009-05-14 12:41 UTC (permalink / raw)
  To: alsa-devel

Hello

I would like to send some data to a DSP patch. I can use alsa controls
(easy) but I need more : TRAM and lookup table. I read many lines of
code, but all this is still quite obscure...
Here are 3 questions :

How can I fill the TRAM ? (from user space)
How can I know which TRAM area has been allocated to a given patch ?
Do 'lookup tables' work ?

Some code samples will be greatly appreciated  :)

Thanks in advance.

Note: I only know 2 sources of information about emu10k1 DSP, the alsa 
source code, and the old emu10k1 site at sourceforge.

Xavier

FYI: I already posted this message yesterday as a non-member, but it has 
not been moderated (I don't get an answer 24H later).

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

* Re: emu10k1 TRAM access ?
  2009-05-14 12:41 emu10k1 TRAM access ? mAdVax
@ 2009-05-14 12:47 ` mAdVax
  2009-05-15 13:56 ` Takashi Iwai
  1 sibling, 0 replies; 12+ messages in thread
From: mAdVax @ 2009-05-14 12:47 UTC (permalink / raw)
  To: alsa-devel

mAdVax a écrit :

> FYI: I already posted this message yesterday as a non-member, but it has 
> not been moderated (I don't get an answer 24H later).

Sorry, double post : i missed it.

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: emu10k1 TRAM access ?
  2009-05-14 12:41 emu10k1 TRAM access ? mAdVax
  2009-05-14 12:47 ` mAdVax
@ 2009-05-15 13:56 ` Takashi Iwai
  2009-05-15 20:56   ` mAdVax
  1 sibling, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-05-15 13:56 UTC (permalink / raw)
  To: mAdVax; +Cc: alsa-devel

At Thu, 14 May 2009 14:41:02 +0200,
mAdVax wrote:
> 
> Hello
> 
> I would like to send some data to a DSP patch. I can use alsa controls
> (easy) but I need more : TRAM and lookup table. I read many lines of
> code, but all this is still quite obscure...
> Here are 3 questions :
> 
> How can I fill the TRAM ? (from user space)
> How can I know which TRAM area has been allocated to a given patch ?
> Do 'lookup tables' work ?
> 
> Some code samples will be greatly appreciated  :)

Well, it got into already my dark place of memory, and my cache is too
small to fetch soon.  But, I recommend you to take a look at
alsa-tools/ld10k1.  It's the central place to access the emu10k1 DSP.


Takashi

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

* Re: emu10k1 TRAM access ?
  2009-05-15 13:56 ` Takashi Iwai
@ 2009-05-15 20:56   ` mAdVax
  2009-05-16 10:32     ` mAdVax
  0 siblings, 1 reply; 12+ messages in thread
From: mAdVax @ 2009-05-15 20:56 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

Takashi Iwai a écrit :
> At Thu, 14 May 2009 14:41:02 +0200,
> mAdVax wrote:
>> Hello
>>
>> I would like to send some data to a DSP patch. I can use alsa controls
>> (easy) but I need more : TRAM and lookup table. I read many lines of
>> code, but all this is still quite obscure...
>> Here are 3 questions :
>>
>> How can I fill the TRAM ? (from user space)
>> How can I know which TRAM area has been allocated to a given patch ?
>> Do 'lookup tables' work ?
>>
>> Some code samples will be greatly appreciated  :)
> 
> Well, it got into already my dark place of memory, and my cache is too
> small to fetch soon.  But, I recommend you to take a look at
> alsa-tools/ld10k1.  It's the central place to access the emu10k1 DSP.

Done ;)
Either I missed something, either lookup tables are not implemented.

The client part (liblo*) uses different struct for delay-lines and for
lookup tables, the server part (ld*) contains only minor references to
tram type, but the driver part does not make _any_ difference (AFAI
understand).

In the old as10k1 documentation at sourceforge, it is said :
> Note, lookup tables currently don't work
> (because we don't understand how to)
But the Alsa documentation does not say anything.

Don't you (anyone) only remember if lookup table has been implemented ?

Thanks again

Xavier


_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: emu10k1 TRAM access ?
  2009-05-15 20:56   ` mAdVax
@ 2009-05-16 10:32     ` mAdVax
  2009-05-16 15:09       ` Takashi Iwai
  0 siblings, 1 reply; 12+ messages in thread
From: mAdVax @ 2009-05-16 10:32 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: alsa-devel

mAdVax a écrit :

 > Don't you (anyone) only remember if lookup table has been implemented ?

I answer to my own question.
According to an old post on kx forum, lookup tables only work on emu10k2 
chips, and are never been implemented in kx driver. I fear that nobody 
knows how to handle this stuff.

Emu10k1 is quite old. Should I switch to X-Fi ? Can the DSP be used by 
the user ? In a near future ?

Regards,

Xavier

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: emu10k1 TRAM access ?
  2009-05-16 10:32     ` mAdVax
@ 2009-05-16 15:09       ` Takashi Iwai
  2009-05-16 21:28         ` mAdVax
  0 siblings, 1 reply; 12+ messages in thread
From: Takashi Iwai @ 2009-05-16 15:09 UTC (permalink / raw)
  To: mAdVax; +Cc: alsa-devel

At Sat, 16 May 2009 12:32:53 +0200,
mAdVax wrote:
> 
> mAdVax a écrit :
> 
>  > Don't you (anyone) only remember if lookup table has been implemented ?
> 
> I answer to my own question.
> According to an old post on kx forum, lookup tables only work on emu10k2 
> chips, and are never been implemented in kx driver. I fear that nobody 
> knows how to handle this stuff.
> 
> Emu10k1 is quite old. Should I switch to X-Fi ? Can the DSP be used by 
> the user ? In a near future ?

To be warned, emu20kx have much less open information than emu10k1...
The current driver just supports the normal PCM, and no real DSP
parts are supported.


Takashi

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

* Re: emu10k1 TRAM access ?
  2009-05-16 15:09       ` Takashi Iwai
@ 2009-05-16 21:28         ` mAdVax
  2009-05-17 15:48           ` Alex Austin
  0 siblings, 1 reply; 12+ messages in thread
From: mAdVax @ 2009-05-16 21:28 UTC (permalink / raw)
  To: alsa-devel

Takashi Iwai <tiwai <at> suse.de> writes:

> 
> At Sat, 16 May 2009 12:32:53 +0200,
> mAdVax wrote:
> > 
> > mAdVax a écrit :
> > 
> >  > Don't you (anyone) only remember if lookup table has been implemented ?
> > 
> > I answer to my own question.
> > According to an old post on kx forum, lookup tables only work on emu10k2 
> > chips, and are never been implemented in kx driver. I fear that nobody 
> > knows how to handle this stuff.
> > 
> > Emu10k1 is quite old. Should I switch to X-Fi ? Can the DSP be used by 
> > the user ? In a near future ?
> 
> To be warned, emu20kx have much less open information than emu10k1...
> The current driver just supports the normal PCM, and no real DSP
> parts are supported.

I see... It's a shame. No other competitor with 'open' dsp ?

I'm sticked with my Audigy for long. She's not so bad, after all ;)

Thank you

Xavier

_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

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

* Re: emu10k1 TRAM access ?
  2009-05-16 21:28         ` mAdVax
@ 2009-05-17 15:48           ` Alex Austin
  2009-05-17 21:05             ` mAdVax
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Austin @ 2009-05-17 15:48 UTC (permalink / raw)
  To: mAdVax; +Cc: alsa-devel

On Sat, May 16, 2009 at 4:28 PM, mAdVax <madvax@free.fr> wrote:

> Takashi Iwai <tiwai <at> suse.de> writes:
>
> >
> > At Sat, 16 May 2009 12:32:53 +0200,
> > mAdVax wrote:
> > >
> > > mAdVax a écrit :
> > >
> > >  > Don't you (anyone) only remember if lookup table has been
> implemented ?
> > >
> > > I answer to my own question.
> > > According to an old post on kx forum, lookup tables only work on
> emu10k2
> > > chips, and are never been implemented in kx driver. I fear that nobody
> > > knows how to handle this stuff.
> > >
> > > Emu10k1 is quite old. Should I switch to X-Fi ? Can the DSP be used by
> > > the user ? In a near future ?
> >
> > To be warned, emu20kx have much less open information than emu10k1...
> > The current driver just supports the normal PCM, and no real DSP
> > parts are supported.
>
> I see... It's a shame. No other competitor with 'open' dsp ?


http://www.alsa-project.org/main/index.php/Special:Search?search=56301&go=Go

>
> I'm sticked with my Audigy for long. She's not so bad, after all ;)
>
> Thank you
>
> Xavier
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>

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

* Re: emu10k1 TRAM access ?
  2009-05-17 15:48           ` Alex Austin
@ 2009-05-17 21:05             ` mAdVax
  2009-05-18 19:34               ` Alex Austin
  0 siblings, 1 reply; 12+ messages in thread
From: mAdVax @ 2009-05-17 21:05 UTC (permalink / raw)
  To: Alex Austin; +Cc: alsa-devel



Alex Austin a écrit :
> On Sat, May 16, 2009 at 4:28 PM, mAdVax <madvax@free.fr> wrote:
> 
>> No other competitor with 'open' dsp ?
> 
> 
> http://www.alsa-project.org/main/index.php/Special:Search?search=56301&go=Go

Thank you, but this one is not really better.
This would be *great*, if the firmware was open source.
But I cannot find any information about it.

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

* Re: emu10k1 TRAM access ?
  2009-05-17 21:05             ` mAdVax
@ 2009-05-18 19:34               ` Alex Austin
  2009-05-18 22:28                 ` mAdVax
  0 siblings, 1 reply; 12+ messages in thread
From: Alex Austin @ 2009-05-18 19:34 UTC (permalink / raw)
  To: mAdVax; +Cc: alsa-devel

It's a 24-bit Freescale DSP. They've made it for years. There's plenty of
info if you know where to look. I don't think you necessarily need the stock
firmware for any of those cards. However, I haven't actually used any of
them. Only theory specifies whether the cards can be opened and used.

- Alex Austin
(651) 238-9273

"...and then I visited Wikipedia ...and the next 8 hours are a blur."


On Sun, May 17, 2009 at 4:05 PM, mAdVax <madvax@free.fr> wrote:

>
>
> Alex Austin a écrit :
>
>> On Sat, May 16, 2009 at 4:28 PM, mAdVax <madvax@free.fr> wrote:
>>
>>  No other competitor with 'open' dsp ?
>>>
>>
>>
>>
>> http://www.alsa-project.org/main/index.php/Special:Search?search=56301&go=Go
>>
>
> Thank you, but this one is not really better.
> This would be *great*, if the firmware was open source.
> But I cannot find any information about it.
>
>
>

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

* Re: emu10k1 TRAM access ?
  2009-05-18 19:34               ` Alex Austin
@ 2009-05-18 22:28                 ` mAdVax
  0 siblings, 0 replies; 12+ messages in thread
From: mAdVax @ 2009-05-18 22:28 UTC (permalink / raw)
  To: Alex Austin; +Cc: alsa-devel


Alex Austin a écrit :
> It's a 24-bit Freescale DSP. They've made it for years. There's plenty of
> info if you know where to look. I don't think you necessarily need the stock
> firmware for any of those cards. However, I haven't actually used any of
> them. Only theory specifies whether the cards can be opened and used.

Yes, I can find info and tools for this chip. But i don't even know 
where I would have to peek and poke samples. I would spend weeks 
(months?) only to copy inputs to outputs.
And if this have been easy, I'm sure some good hackers would have done 
it years ago.

I'm not a good hacker! And don't even have an Echo sound card.
But i own an Audigy, and plan to buy some more ;)

Regards

Xavier

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

end of thread, other threads:[~2009-05-18 22:28 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-05-14 12:41 emu10k1 TRAM access ? mAdVax
2009-05-14 12:47 ` mAdVax
2009-05-15 13:56 ` Takashi Iwai
2009-05-15 20:56   ` mAdVax
2009-05-16 10:32     ` mAdVax
2009-05-16 15:09       ` Takashi Iwai
2009-05-16 21:28         ` mAdVax
2009-05-17 15:48           ` Alex Austin
2009-05-17 21:05             ` mAdVax
2009-05-18 19:34               ` Alex Austin
2009-05-18 22:28                 ` mAdVax
  -- strict thread matches above, loose matches on Subject: below --
2009-05-13 12:53 mAdVax

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.