[alsa-devel] emu10k1 TRAM access ?
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).
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
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
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
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
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
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&g...
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
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&g...
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.
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&g...
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.
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
participants (3)
-
Alex Austin
-
mAdVax
-
Takashi Iwai