HardwareHeaven.com

HardwareHeaven.com

Looking for the skin chooser?
 
 
  • Home

  • Hardware reviews

  • Articles

  • News

  • Tools

  • Gaming at HardwareHeaven

  • Forums

 

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


Reply
 
Thread Tools
Old Apr 9, 2005, 03:42 AM   #1
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

arrow I made a simple delay filter with sample and ms display

Some people seem interested in using delay filters. I made a simple one using C++.
It displays the delay in number of samples and miliseconds.
It uses xTram, that is computer RAM.
I set the minimum delay to 25 samples because if it is lower, the sounds gets bad because of latency issues between RAM and the sound card.
I reduced the slider length a little compared to the last version.
The delay length can be fine tuned with the keyboard.
The minimum adjustement step is one sample.
I set the maximum to 500 miliseconds.
I made it mono.

You can get it here for 3538i :
http://pages.globetrotter.net/samaus...s/TheDelay.kxl
Screenshot :
http://pages.globetrotter.net/samaus...s/TheDelay.png

I haven't updated the 3537 version of the plugin so it is stereo and 1 second. I'll do the update if it is requested.
3537 version here :
http://pages.globetrotter.net/samaus...eDelay3537.kxl

Tril

Last edited by Tril; Aug 2, 2005 at 02:09 AM. Reason: Compiled for 3538i. Updated the screenshot.
Tril is offline   Reply With Quote


Old Apr 9, 2005, 01:07 PM   #2
HardwareHeaven Senior Member
 
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 492
Rep Power: 0
Chester01 is on a distinguished road

WOW that is very nice. I really like how you can change the amount of samples even when at the far end. The millisecond readout helps a lot also. Excellent work.
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium)
STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
Chester01 is offline   Reply With Quote
Old Apr 9, 2005, 06:06 PM   #3
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Looks good Tril.
Russ is online now   Reply With Quote
Old Apr 10, 2005, 03:27 AM Threadstarter Thread Starter   #4
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I have updated the plugin. A control register was declared in the dane code but it was not used so it was removed. It was only needed in the version of the plugin that did not use C++.
Tril is offline   Reply With Quote
Old Apr 10, 2005, 04:03 AM   #5
DriverHeaven Senior Member
 
Daniel Drummond's Avatar
 
Join Date: Dec 2002
Location: Brazil
Posts: 1,137
Rep Power: 0
Daniel Drummond is on a distinguished road

Picture? Thanks!
__________________
www.palcomp3.com.br/ed
Daniel Drummond is offline   Reply With Quote
Old Apr 10, 2005, 04:33 AM Threadstarter Thread Starter   #6
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Quote:
Picture?
What do you mean picture. A screenshot of the plugin?
Tril is offline   Reply With Quote
Old Apr 10, 2005, 04:40 AM   #7
DriverHeaven Senior Member
 
Daniel Drummond's Avatar
 
Join Date: Dec 2002
Location: Brazil
Posts: 1,137
Rep Power: 0
Daniel Drummond is on a distinguished road

Yes, so users who don't have kx installed in the machines they are at the moment they read the thread can still take a peek of the plugin.
__________________
www.palcomp3.com.br/ed
Daniel Drummond is offline   Reply With Quote
Old Apr 10, 2005, 05:02 AM Threadstarter Thread Starter   #8
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I added a screenshot but it's the default skin. I did not make a skin so it looks plain normal.
Tril is offline   Reply With Quote
Old Apr 11, 2005, 11:08 PM   #9
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

does this run on 3537? for us newbies!!!
trev
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old Apr 12, 2005, 04:54 AM Threadstarter Thread Starter   #10
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I added a version compiled for 3537. Since I don't curently have 3537 installed I could not try it before posting it. Try it and tell me if it works. If it does not, tell me what happens. It should work fine because there were no compiler errors but it is possible that I forgot to copy/paste a line while doing the conversion from 3538 to 3537.
Tril is offline   Reply With Quote
Old Apr 19, 2005, 11:39 AM   #11
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

thanks for that tril sorry ive not replied earlier... comp problems!!, i will try it as soon as my comp problems are sorted, and let you know
trev
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old May 19, 2005, 06:41 PM   #12
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

hi tril,
Ive tired the delay in 3537, and its a bit wierd. it tells me it "NO MORE FREE XTRAM MEMORY" . this only happens if i have another fx loaded. this also happens if i load delay first (which works fine) then try another fx.
So for example i load the delay then load the APS reverb and i get the XTRAM MEMORY note.


its probably not the fx problem but maybe me not understanding something?

TREV
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old May 19, 2005, 11:22 PM   #13
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

That is just a resource limiltation thing. 1 sec of delay uses a lot of Tram, so you can have problems if you are using other plugins that use Tram at the same time. Look at the top of the DSP Window and you can see the current and maximum values for the various resources used by the DSP (i.e. number of instructions, number of GPR's (registers), iTram, xTram, etc).
Russ is online now   Reply With Quote
Old May 20, 2005, 11:54 AM   #14
kX Project Lead Programmer and Coordinator
 
Join Date: Dec 2002
Posts: 3,119
Rep Power: 75
Eugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud ofEugene Gavrilov has much to be proud of

please let me know if you wish this effect to be added to 3538i release
[drop me a message -- www.kxproject.com/contact.php ]
Eugene Gavrilov is offline   Reply With Quote
Old May 20, 2005, 02:12 PM Threadstarter Thread Starter   #15
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I would like to improve the plugin before thinking of putting it inside a future release of the driver.

I never thought of improving it before because it suited my needs but if more people used it, it should be even better.

I could do as Russ did with his SlapbackFX plugin and use a dialog box prior to loading the plugin to choose wich microcode to load.

You could choose if you want the filter to be mono or stereo. You could also choose the maximum length of the delay.

I would need a little help from Russ thought as I don't think I would be able to do that by myself right now.

Eugene, can you give me an approximation of the 3538i release date (weeks, months...). I want to know how much time I have to improve my plugin before the next driver update.
I'm open on suggestions for the name of the plugin. I called it TheDelay but it could be changed if a someone suggests a better name.
Tril is offline   Reply With Quote
Old May 21, 2005, 06:27 AM   #16
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

I have mentioned a central list on a thread or two. I noticed plugins get mentioned and linked all the time. Then they vanish into the threads. I think it would be cool if there was a central list or link somewhere that contained all or every KX plugin programmed to date. A web page that contains links to the various plugins programmed by the KX users would be vaery useful for the users. Just my opinion though.
ROBSCIX is offline   Reply With Quote
Old May 21, 2005, 07:04 AM Threadstarter Thread Starter   #17
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

They eventually get inserted into the drivers if they are good enough. Such a list is not really needed. It's my opinion.
Tril is offline   Reply With Quote
Old May 21, 2005, 08:31 AM   #18
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

tril,
fx worked well in 3537 for a bit, except-

if i clear the dsp add your fx and then try to add 'aps reverb' it wont let me. russ has stated its because of not enough tram , but i have only addrd two two effects and get the problem ..... is that normal?


also today I got an error...

'error instantiating effect/ plugin do you wish to unregister it?'


hmmm, any ideas?
trev
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old May 21, 2005, 08:53 AM   #19
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

I believe that is normal with kX's default settings, as you are talking about over 3 seconds of delay between the 2 plugins. You can however increase the amount of xTram available under "Settings" -> "Setup Buffers" -> "Tank Memory Size" (although it is recommended that you do not change these settings (I am not sure why)).

As for the error, that usually means that it could not locate the plugin (did you change it's location?), or possibly it is not compatible with the version of kx that you are using. Try re-registering the plugin. and make sure that you are using the correct version of the plugin for the version of kx that you are using, etc.

-Russ
Russ is online now   Reply With Quote
Old May 21, 2005, 09:31 AM   #20
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

will do thanx for that. have reloaded the fx and it seems to be ok again... i didnt move it so not sure why the error came up... i will monitor.


would love some opinion on your reply re changing settings, whetether you should, how much by and why its not a good idea. as it would be good for me to use a few more fx in dsp, as i use alot of soundfonts and vsti's in my songs.

any offers?
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old May 21, 2005, 10:08 AM   #21
DriverHeaven Senior Member
 
ROBSCIX's Avatar
 
Join Date: Mar 2004
Posts: 1,732
Rep Power: 0
ROBSCIX is on a distinguished road

Why wouldn't such a list be needed? some plugins are only simple and wouldn't be added to the driver. I have seen a few linked, then they are gone again....I try and get copies if I can, I search the threads all the time looking....oh well.....
ROBSCIX is offline   Reply With Quote
Old May 21, 2005, 10:38 AM   #22
HardwareHeaven Extreme Member
 
Join Date: Jan 2005
Posts: 5,563
Rep Power: 62
Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!Russ is just super!

Again, I am not sure why changing those settings is not recommended but I think it is something along these lines: The tank memory and the various buffers are allocated in the Non-Paged area, which contains the core code of the system (parts of the System which are so important that they may never be paged out). It is a limited resource, and may be used by other drivers, and possibly some system utilities, etc, so you pretty much want to only use what is absolutley necessary as it could have an affect on system stability and performance, etc.

-Russ
Russ is online now   Reply With Quote
Old May 21, 2005, 05:16 PM Threadstarter Thread Starter   #23
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

I made the delay 1 second but I could change the code and recompile for a shorter delay if you want to.

Tell me what is the maximum number of samples of delay you want and I'll do it. I'll only do it once thought as it takes some time to change the code so choose carefully how much delay you want.

Would it be better if I made the filter mono?

As it is, it load two times one second of delay since it is stereo.

ROBSCIX, since you already have some linked and you are interested in doing a list of plugins, you could start one yourself instead of asking others to do it.

You could call it something like "list of links to kX plugins" and you could link to the threads or the websites where there are plugins.

Last edited by Tril; May 21, 2005 at 05:23 PM.
Tril is offline   Reply With Quote
Old May 24, 2005, 08:14 PM   #24
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

tril,
hi, I'm no expert but i guess half of what yo have now would be ok delay wise? what do you think? trev
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old May 24, 2005, 10:09 PM Threadstarter Thread Starter   #25
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Okay. I'll make the delay 500 ms and the plugin mono.
If you need 1 second, you load two.
If you need stereo, you load two.

I think that's what I'll give Eugene for the next release of the driver.
Tril is offline   Reply With Quote
Old May 24, 2005, 10:33 PM   #26
DriverHeaven Addict
 
Join Date: Feb 2005
Location: portsmouth, england
Posts: 323
Rep Power: 0
trevbushell is on a distinguished road

ok. good fx tril, thanx
trev
__________________
[COLOR=black]http://www.myspace.com/trevbushell[/COLOR]
trevbushell is offline   Reply With Quote
Old Jun 1, 2005, 12:35 PM   #27
DriverHeaven Newbie
 
Join Date: May 2005
Posts: 4
Rep Power: 0
uipe is on a distinguished road

Could you tell us how can we edit it, cause I've been trying to undersatnd where to make changes so I could make it use less xtram but I can't figure it out....

I wanted to be able to use it just like the time correction feature in alpine car radios, cause I am using my AG2 ZS in my car pc install...

I have a 4.0 system and wanted to be able to change the "center" of the sound.

sorry If I am using the wrong tool thanks anyway
uipe is offline   Reply With Quote
Old Jun 1, 2005, 10:29 PM Threadstarter Thread Starter   #28
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Quote:
Originally Posted by uipe
Could you tell us how can we edit it, cause I've been trying to undersatnd where to make changes so I could make it use less xtram but I can't figure it out....
You need the C++ source code and it's not posted. I said that I would change the plugin to mono and the delay to 500 ms. I did it but I did not post the updated plugins.

Quote:
Originally Posted by uipe
I wanted to be able to use it just like the time correction feature in alpine car radios, cause I am using my AG2 ZS in my car pc install...

I have a 4.0 system and wanted to be able to change the "center" of the sound.
I found this on the web :
Quote:
And then there's the digital time correction. In a nutshell, this allows you to trick your ears into thinking the center of the soundstage is in a particular spot in the car by delaying the signal output from certain speakers. The length of the delay depends on how far you are from the speaker in question, and where you want to the soundstage to "appear."
To know how much delay you need, you have to consider the dimension of the cabin of the car. I mesured the interior of a minivan Plymouth Voyager. This will give some good maximum values since a car is usually smaller.

Length : 320 cm = 3,20 m
Width : 120 cm = 1,20 m

The speed of sound is about 340 m/s at at sea level on normal temp.

1/340 [s/m] * 3,20 [m] * 48000 [samples/s] = 452 [samples]
1/340 [s/m] * 1,20 [m] * 48000 [samples/s] = 170 [samples]

The maximum delay needed if you want the sound in a corner would be
1/340 [s/m] * 3,42 [m] * 48000 [samples/s] = 483 [samples]

Each of the 4 speakers need to be able to have that much delay.
483 [samples] * 4 = 1932 [samples]

There are enough ressources on the sound card but you may have to unload other effects that use xTram.

You could play with 4 delay plugins at the same time to get what you want but I think it would be best to make a separate filter for your need.

I would use two sliders. One for the front/back balance and another for the left/right balance. I would display a distance in meters instead of a time delay in samples. Zero being the middle of the car (same distance from all speakers). Using the speed of sound as 340 [m/s] is an approximation but it's good enough.

It seems to be a fun project. I can try to program this for you if you want. Even if you don't want I'll do it anyway because it catches my interest. It would use C++ code to calculate the delays.

Are you using version 3538 of the drivers? That's the version I'm currently using and I'll first program the plugin for this version.

I already have the code for my delay plugin so this new plugin should not be too long to make. I'll post it in a new thread once it is done.

I could display the number of samples of delay, the delay in ms, the distance in meters, the distance in cm and the distance in mm. Personnally, I will choose to display the delay in samples and ms and the distance in meters. Tell me what you prefer. Converting to another unit is easy.
Tril is offline   Reply With Quote
Old Jun 1, 2005, 11:14 PM   #29
DriverHeaven Newbie
 
Join Date: May 2005
Posts: 4
Rep Power: 0
uipe is on a distinguished road

EEK!

first of all THANKS A LOT

you cant imagine how happy I am to read this, I am a great fan of car sound quality and I wanted to be able to use only my pc and not use an external sound processor (like an alpine pxa 701)!

I am using version 3537 but first thing tomorow i will install the new version so I can help u beta test the plugin
uipe is offline   Reply With Quote
Old Jun 2, 2005, 12:15 AM Threadstarter Thread Starter   #30
S-3D enthusiast
 
Tril's Avatar
 
Join Date: Sep 2004
Location: Canada
Posts: 1,676
Rep Power: 64
Tril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud ofTril has much to be proud of
System Specs

Quote:
Originally Posted by uipe
first of all THANKS A LOT
No problem. I like it when people suggest ideas for plugins. I use four speakers in my room. Once I have that plugin, I'll play with it.

It will take some time but not too much.

The plugin will use iTram instead of xTram because small delays are required.
Tril is offline   Reply With Quote
Reply

Thread Tools