|
|||||||
![]() |
|
|
Thread Tools |
|
|
#1 |
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
I have created simple DSP effect, that can change stereobase from mono to full stereo. IMHO it may be useful.
http://skipyrich.siteburg.com/store/stereobase.zip Last edited by skipyrich; Dec 28, 2004 at 06:33 PM. Reason: URL is changed |
|
|
|
|
|
#2 |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
You can save 1 instruction on that. Instead:
; mono = mono*(1-base); macsn mono, mono, mono, base ; outN = mono + inN*base macs outL, mono, inL, base macs outR, mono, inR, base You can use: ;outL = (1-base)*mono + base*inL interp outL, mono, base, inL ;outR = (1-base)*mono + base*inR interp outR, mono, base, inR And don't forget that using "in" registers more than once in the code may cause problems in some particular cases. You should use dummy temp registers for that purpose.
__________________
Miss you, Steve... |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
I have updated code with your optimization. Thanks for your suggestions.
Quote:
![]() I saw the code from another DSP effects (b2b, gainHQ, etc...) in which this behaviour is used too... Where I can find these problems explained? (URL?) |
|
|
|
|
|
|
#4 | |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
Quote:
I personally haven't encountered problems of this kind in my dsp coding experience, but Max should be trusted...
__________________
Miss you, Steve... |
|
|
|
|
|
|
#5 |
|
h/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,639
Rep Power: 69 ![]() ![]() ![]() ![]() ![]() ![]() |
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
Hmmm...
I have found some (outdated?) explanations in kX Help... And I does not found any similar info in http://kxproject.lugosoft.com/dane.php As using dummy registers require additional instructions, I let it remain as is and will wait for bugreports
|
|
|
|
|
|
#7 | |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
That explains everything.
Sorry Max, I haven't seen this thread before... Quote:
(I'm very wise today, ain't I )
__________________
Miss you, Steve... |
|
|
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
Thanks, Max, your post is very cognitive. I was surprised by "Multithreaded execution"...
In which thread on the russian forum this problem is discussed? Quote:
IMHO it is better to make dummy effect which does nothing but buffering between FXBus and other effects. |
|
|
|
|
|
|
#9 |
|
Audiotecna- Representante
Join Date: Dec 2002
Location: Bogota, Colombia
Posts: 173
Rep Power: 0 ![]() |
If this effect is easy to code, then a karaoke wouldn't be difficult too, am I wrong? Analog X (analogx.com) has done one which works as a VST and for Winamp too.
What the effect does is cancel whichever signal is present on both channels. Would be really nice to have one within the DSP...pretty please??
__________________
Audiotecna - Innovación Musical Distribuidora oficial de Ortofon DJ, Native Instruments and Moog Music para Colombia (1)8073934 |
|
|
|
|
|
|
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
Changing width of a stereoimage is a simple task, however there is no way to correctly extract center channel from two channels. Removing voice from a song is done with some assumptions that are not trivial.
|
|
|
|
|
|
#11 |
|
DH Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64 ![]() ![]() ![]() ![]() |
|
|
|
|
|
|
#12 |
|
Audiotecna- Representante
Join Date: Dec 2002
Location: Bogota, Colombia
Posts: 173
Rep Power: 0 ![]() |
problems with 3538h
I've been using stereobase since it was posted and i find it really useful.
However, since I installed 3538h, the plugin dissapears from my DSP each restart, giving me an error message when I try to load it. The problem gets fixed as soon as i reinstall the plugin, however I have to do this each restart
__________________
Audiotecna - Innovación Musical Distribuidora oficial de Ortofon DJ, Native Instruments and Moog Music para Colombia (1)8073934 |
|
|
|
|
|
#13 |
|
HardwareHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 492
Rep Power: 0 ![]() |
__________________
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...
|
|
|
|
|
|
#14 | |
|
DH Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64 ![]() ![]() ![]() ![]() |
Quote:
[color=yellow]Asks the author of the plug.[/color] [color=yellow][/color] [color=yellow]/LeMury[/color] |
|
|
|
|
|
|
|
|||
|
DriverHeaven Newbie
Join Date: Aug 2004
Location: Russia
Posts: 6
Rep Power: 0 ![]() |
Quote:
Please review the first post in this thread. Quote:
Quote:
If these parameters exists, but its data don't point to the stereobase.da, then you have an other plugin that use this GUID .
|
|||
|
|
|
|
|
#16 |
|
DH Senior Member
Join Date: Jan 2003
Location: The Netherlands
Posts: 1,932
Rep Power: 64 ![]() ![]() ![]() ![]() |
>>This plugin is an .da source and don't require additional compiling.
[color=yellow]Ah, yes I see now (duh). Then it's the GUID like you already mentioned.[/color] [color=#ffff00]/LeMury[/color] |
|
|
|
|
|
#17 |
|
HardwareHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 492
Rep Power: 0 ![]() |
I realize this is near 4 years old by now... does anyone have the code for this ?
__________________
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...
|
|
|
|
|
|
#18 |
|
HardwareHeaven Addict
Join Date: Jan 2008
Location: germany, sb0090
Posts: 259
Rep Power: 0 ![]() ![]() |
|
|
|
|
|
|
#19 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
A member by the name of RadioColonel (spelling?? probably wrong??) has a pack of Dane only plugins - one of which is a widener that works rather well.
:::.::.::: The Castle :::.::.::: It uses more resources than Stylus02's but, if you're like me - you like options
|
|
|
|
|
|
#20 |
|
HardwareHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 492
Rep Power: 0 ![]() |
Thanks Maddog6; I did actually need to "expand" the stereo field, not convert it between "100%" and mono... See, in my dorm room, the way my desk wraps around the room; when i am sitting on my bed, my right speaker is approx 3.1 feet further back from me the left one. I have time delayed and volume corrected the sound with the inverse square law so the stereo imaging is 'centered' however there is only about 23.4 degrees of separation between the two speakers so I wanted to figure out how to calculate 'how much' stereo expansion i need... lol big problems
|
|
|
|
|
|
#21 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 0 ![]() ![]() |
No problem...
Well - as far as this plug in 'expanding' - ?? - it *sounds* like (not that I can look at dane code and figure out what is happening exactly) it simply amplifies the difference between left versus right - in other words - amplifies the non-centered panned audio. As, I notice - the harder a sound is panned in the stereo field - the more amplified it seems with the plugin set to 100% - where 0% seems like normal (not mono) So it seems this plugin is the 'compliment' to Stylus02's in that it does just the opposite. As far as calculating - heh - I just mess with sliders till it sounds cool The theory makes my head hurt - but good sound is like asprin.
|
|
|
|
|
|
#22 |
|
HardwareHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 492
Rep Power: 0 ![]() |
yea; messing with the theory gets you so far... it can help you figure out where about the sliders should sound good and save hours of tuning lol; when it comes to a timedelay to put the speakers in proper time alignment, when you get close to the correct delay a little difference in delay from the 'proper' delay will sound wierd, then getting closer it will sound better, then get bad again and then finally its where it should be lol, can be tough to tune by ear
__________________
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...
|
|
|
|
![]() |
| Thread Tools | |
|
|