Author Topic: DSP-Stack  (Read 2298 times)

vertex

  • Posts: 38
DSP-Stack
« on: 20 Feb '03 - 19:42 »
hi, ian

ahm, a short question... what about an easy function to set the dsp-effect-stack?
something like

Code: [Select]
DWORD BASS_ChannelGetDSPStack(DWORD handle, HDSP dsp);
wich gives the position of the effekt inside the stack

and something like
Code: [Select]
DWORD BASS_ChannelSetDSPStack(DWORD handle, HDSP dsp, int NewPosition);
(old position is returned)

or
Code: [Select]
DWORD BASS_ChannelMoveDSPUp(DWORD handle, HDSP dsp);
DWORD BASS_ChannelMoveDSPDown(DWORD handle, HDSP dsp);


i donīt know if this is neccessary for other bass-users... maybe worth a poll (i donīt know, how to make a poll in here ;o)

(sorry for my bad english)
cheers,
vertex

Ian @ un4seen

  • Administrator
  • Posts: 21372
Re: DSP-Stack
« Reply #1 on: 21 Feb '03 - 11:55 »
The DSP functions are applied in the order that they were added to the channel. So to change the order, you can remove them, and re-add them in the order you want :)

If you're wanting to reorder the DSP for quality purposes (eg. maybe you want to move a DSP that tends to clip last)... 1.8 will have floating-point DSP, so there's no clipping as the data passes through the DSP functions.

vertex

  • Posts: 38
Re: DSP-Stack
« Reply #2 on: 21 Feb '03 - 15:32 »

Quote

So to change the order, you can remove them, and re-add them in the order you want :)


yeah, thats the way i do, but if you have 4 effects and want to change the first 2 effect, you have to remove all effect and rearange them all... ;o) would be much easier, if bass would provide some dsp-order-functions.

first i didnīt thought about quality but the result of the effects - there is a difference in the sound if you add a echo and then a distortion or if you add a distortion and then a echo ;o) (the second way might be the better, but not always ;o)