preset values instead of pot

Algorithm development and general DSP issues

Moderator: frank

Post Reply
itsmekeuh
Posts: 2
Joined: Tue Jun 23, 2009 2:56 pm

preset values instead of pot

Post by itsmekeuh »

Hi,
I just got the development board and I am just trying to get an idea on how to start with this.

using rev_rt_d_f.spn ( Room Reverb with reverb time, diffusion and dampening)
and I have a first question, if I want to assign a fixed value for, lets say the diffusion, to free a pot , how could this be done?

I thought it would be something trivial like declaring a value and then replacing rdax pot1,0.7 but apparently it is not that simple :-)
frank
Posts: 1244
Joined: Wed Oct 19, 2005 12:26 pm
Contact:

Post by frank »

Should be almost that simple. Try replacing:

rdax pot1,0.7

with

sof 1.0,val

Set 'val' to the constant you would like to use
Frank Thomson
Experimental Noize
itsmekeuh
Posts: 2
Joined: Tue Jun 23, 2009 2:56 pm

Post by itsmekeuh »

Thx Frank that seems to be working
Post Reply