-
benq
I have a wavetable player and and adc~ in my patch and need to know how to switch between them, dumb question I know but my head is getting fried!!
Cheers in advance!
-
benq
Hi, i have an lfo modulating a cut off frequency for my filter, the osc~ outputs values between 0 and 1 but I need to scale it to values between 20 and 20000. what is the best way to do this? If i can scale it logarithmically it would be even better!
Thanks in advance!
-
benq
I have a grid controlling two sliders which control the cutoff frequency and resonance of a filter i have made. I also want to be able to turn the cutoff frequency up and down by holding down z and x and change the resonance using . and ;.
So far I have used the key and select objects and made it so that when you press the desired key it adds or takes away the respective value for the slider.
The problem with this is that it only moves one increment when you touch the key and doesn't output the same message when you hit the key again, so you cant get around the problem by tapping the key alot.
What I am looking for is an object that continuously outputs its received data when a key is pressed and stops outputting the data when the key is released.
Does anyone know of one that exists?
Thanks in advance for your help!
-
benq
Thankyou so much mate! now stuck on this!
I have a wavetable player and and adc~ in my patch and need to know how to switch between them, dumb question I know but my head is getting fried!!
Can you help?
Cheers in advance!
-
benq
o right i get you cheers mate!
All i need to do now then is to graph my frequency response logarithmically, at the moment I have used the filtergraph 1 and 2 from the help files to graph my frequency response of my filter, but how do i make this graph logarithmically?
Thanks again!
-
benq
I managed to get it working by rescaling the 0 and 1 that the osc~ outputs and used the mtof object to convert this into a cutoff frequency.
The problem with this is that it is not 100% accurate for what I am trying to do.
I want to have maximum cutoff at 10k for the hi pass but obviously not the low pass because that would make it impossible to leave the signal unaffected.
I need to know the best way of logarithmically scaling the cutoff frequency, basically i need an equation to scale 0-1 to 20-20000 logaritmeically.
any ideas?
Thanks alot by the way this has really helped!
-
benq
I completely understand the first bit but wat happens in the expr a*.. box, that doesnt make sense to me!
Sorry for being dumb and new to puredata but if i know what that means i will be so happy!
and why do you put $1 10 in the message box?
Sorry, if you explain it to me like im a complete dunce i will probably understand!
Thanks again
-
benq
Works now thankyou very much! had to use the select object but works perfectly now!
My next problem is how to modulate my cutoff frequency with an lfo?
An osc~ outputs signal and i dont know how to get that to modulate a control value, anyone know?
Thanks in advance!!!
-
benq
First of all thanks for that mate!
That makes perfect sense except that when i hold down a key it doesnt send out a rapid bunch of key-downs and key ups.
It only sends out the number attached to the key object when i press the key once, and doesnt send out a stream when i old it down.
If i can make it send out a stream of key down I can make it change the slider for every keydown value and to stop moving it when it receives the key up.
So how do i change my OS so that in pd when i attach the key object it continally outputs the number of the key i am holding down?