alienoiz
Synthedit regular
Posts: 148
Return Goku!
Posts: 148
|
Post by alienoiz on Feb 20, 2015 21:33:53 GMT 1
hey guys...
is there anyway to convert hertz to volts using native SE math modules?
|
|
|
Post by Rob on Feb 21, 2015 12:05:02 GMT 1
Hey,
It won't be very efficient, why bother?
|
|
alienoiz
Synthedit regular
Posts: 148
Return Goku!
Posts: 148
|
Post by alienoiz on Feb 21, 2015 13:32:02 GMT 1
i donĀ“t have a module for this conversion to work with x64 version......
|
|
|
Post by Rob on Feb 21, 2015 19:00:43 GMT 1
|
|
alienoiz
Synthedit regular
Posts: 148
Return Goku!
Posts: 148
|
Post by alienoiz on Feb 21, 2015 20:53:37 GMT 1
it does not seems complicated but what im trying to do is diferent... im trying to get the hz of a "random" bpm to insert in the pitch pin of a sampler module to get the .wav sample play at that bpm....
|
|
|
Post by mindtraveller on Feb 22, 2015 15:59:54 GMT 1
Hi, I guess at first you have to detect the .wav's original bpm and that's in general very difficult. However if you know its tempo then you also know that for pitch=5volts (.wav-player pitch-input) the sample is played at that bpm.
If you want to play the sample at some other tempo (let's denote it by bpm') you can calculate the corresponing pitch via: p=5+log(bpm'/bpm)/log(2)
You can use a float function module to calculate it.
|
|
alienoiz
Synthedit regular
Posts: 148
Return Goku!
Posts: 148
|
Post by alienoiz on Feb 22, 2015 18:03:21 GMT 1
well i have a prefab made by a friend where the last output pin sends hz..and i only need to convert this value to volts and connect it to the pitch of the sampler module in order to make the bpm change in the sample.
|
|
|
Post by mindtraveller on Feb 22, 2015 19:25:19 GMT 1
Hi, in this case (unless you want to modulate the the pitch at audio rate) you can use the following modules and connections: volts_to_float -> float function -> float_to_volts (all in the conversion folder of SE). Then you can type the formula 'log(A/13.75)/log(2) in the formula input of the float function module. (that's just the relation between pitch and frequency).
But why don't you just use the DH_HzToVoltage module?
Greetings,
Adrian
|
|
alienoiz
Synthedit regular
Posts: 148
Return Goku!
Posts: 148
|
Post by alienoiz on Feb 22, 2015 22:18:25 GMT 1
hey thanks i will try it tomorrow... i want this to work in x64 and i have some new modules to replace some of the DH ones.. but i miss the Hz2voltage one..thats why : )
|
|