Go Back   DriverHeaven.net > Forums > Hardware and Related Topics > kX Project Audio Driver Support Forum > Effects and the DSP

Notices

Reply
 
LinkBack Thread Tools Display Modes
Old Dec 4, 2003, 01:02 AM   #1 (permalink)
Kevin Horden
DriverHeaven Junior Member
 
Join Date: Nov 2003
Location: Shropshire, England
Posts: 21
Kevin Horden is on a distinguished road

Look up Table

Is there any documentation on using the TRAM for lookup tables?

I'm working on converting MIDI note inputs into delta's for an oscilator. I have calculated all the deltas and worked out an algorithm for deriving the deltas but the most efficient way to implement this would be a lookup table. Calculating it on the fly would take a lot of registers and opcodes.

Cheers,

Kevin
Kevin Horden is offline   Reply With Quote
Old Dec 4, 2003, 06:17 AM   #2 (permalink)
Max M.
d/h member-shmember
 
Max M.'s Avatar
 
Join Date: Dec 2002
Location: from the edge of the deep green sea
Posts: 2,190
Max M. is on a distinguished road

Unfortunally, look-up tables are not implemented on 10k1 processor... So it does not make too much sense to bother with thing not present on all of supported cards.
__________________

Last edited by Max M.; Dec 4, 2003 at 06:32 AM.
Max M. is offline   Reply With Quote
Old Dec 4, 2003, 09:15 AM   #3 (permalink)
Soeren_B
kX Project DSP Engineer
 
Join Date: Dec 2002
Location: Denmark
Posts: 94
Soeren_B is on a distinguished road

What is preventing you from calculating these values inside the GUI/C++ code ? You have to get MIDI input from somewhere...

/Soeren
Soeren_B is offline   Reply With Quote
Old Dec 4, 2003, 10:52 AM   #4 (permalink)
eyagos
DriverHeaven Addict
 
Join Date: Dec 2002
Posts: 259
eyagos is on a distinguished road

Lookup tables, that would be fantastic, altouhg as Max says, they are not supported.

I have an aproximation algorithm to make divisions in dane (i.e. 1/0.4 = 2.5 = 2 + 0.5). It needs 25 opcodes, and with a lookup table could be reduced to 5 or 6. And, almost in my case, these can not be done in the kxl, because each sample needs a different calculation.
eyagos is offline   Reply With Quote
Old Dec 4, 2003, 12:17 PM   #5 (permalink)
Eugene Gavrilov
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 2,927
Eugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of lightEugene Gavrilov is a glorious beacon of light

yes, Look-up tables are support in hardware only for 10k2 boards
moreover, kX kernel-level driver currently doesn't handle them at all
and the existing information about look-up tables is not sufficient and will require some investigation...
I doubt I can currently spend time on this...

/E
Eugene Gavrilov is offline   Reply With Quote
Old Dec 15, 2003, 08:48 PM   #6 (permalink)
Max M.
d/h member-shmember
 
Max M.'s Avatar
 
Join Date: Dec 2002
Location: from the edge of the deep green sea
Posts: 2,190
Max M. is on a distinguished road

btw. eyagos, you could not use tablelookups in your division approximation algorithm anyway:
Since those table look-ups made on emu10k2 through external tram - there're the same issues and limitations as for xtram delay lines... and yep main of them: the value of data register is not updated immidiatelly after changing its address register (e.g. there's the same latency between time you change "look-up pointer" and time you get desired value from your "look-up data")
E.g. i'd said that emu10k2 implementation of table look-ups is absolutely useless for "every-samplecycle" algorithms...
(anyway i think this means it should never be supported by kX ;)

oh, how cool probably it is to program fx8010 on rfx32 - since there's no xtram at all, but only one huge itram instead ;)
__________________

Last edited by Max M.; Dec 17, 2003 at 04:45 PM.
Max M. is offline   Reply With Quote
Old Dec 17, 2003, 03:19 PM   #7 (permalink)
Kevin Horden
DriverHeaven Junior Member
 
Join Date: Nov 2003
Location: Shropshire, England
Posts: 21
Kevin Horden is on a distinguished road

The only reason I asked about look-up tables (apart from seeming like a neat solution to my problem) is that while I was trawling for info I found Danial Bertrand's 10k1 assembler guide and saw a reference to look up tables in it. His 10k1 assembler which I believe is used in the Linux Alsa drivers mentions, and has, assembler directives for look up tables on a 10k1. Is he talking or writing rubbish?
Kevin Horden is offline   Reply With Quote
Old Dec 17, 2003, 04:44 PM   #8 (permalink)
Max M.
d/h member-shmember
 
Max M.'s Avatar
 
Join Date: Dec 2002
Location: from the edge of the deep green sea
Posts: 2,190
Max M. is on a distinguished road

When Daniel wrote his assembler and that manual it was not 100% known if table-lookups are present at emu10k1 or not... (Later we found that table-lookups are implemented only on 10k2)

(presence of some feature in assembler does not mean that same feature is supported by driver and/or hardware, for example "dane" assembler also supports some features which are not supported by kX driver - i think i'll start some little war on this just after the new year ;)
__________________

Last edited by Max M.; Dec 17, 2003 at 05:31 PM.
Max M. is offline   Reply With Quote
Old Dec 18, 2003, 01:28 AM   #9 (permalink)
Kevin Horden
DriverHeaven Junior Member
 
Join Date: Nov 2003
Location: Shropshire, England
Posts: 21
Kevin Horden is on a distinguished road

Thanks Max. I think the basic problem is Creative Labs and the way they want to keep all the information under lock and key.
Kevin Horden is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump




 

 
Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
SporeHeaven skin by Allan "Zardon" Campbell, for Electronic Arts. vBulletin implementation by Craig '5320' Humphreys

All times are GMT -5. The time now is 02:32 PM. Copyright ©2008 DriverHeaven.net