Thanks, Adion for this perfect explained information !!!
Posted Thu 27 Feb 20 @ 3:08 pm
Adion wrote :
key_smooth 0.47352778862
1. 432/440Hz = 0.98181818181
So we want the pitch to go down to 98.1818... % of the original
2. The formula to go from notes to % is
multiplier = 2 ^ (key/12)
(12 semitones is one octave, resulting in 2x the frequency)
3. We can turn this around to
key = 12*log(multiplier)/log(2)
This results in a required key change of -0.31766653647
4. The key_smooth function has a range from 0 to 1 mapping to -6 to +6 semitones
So to find the value, we multiply by the range (12) and add 0.5 since that's the center point
-0.31766653647/12 + 0.5
1. 432/440Hz = 0.98181818181
So we want the pitch to go down to 98.1818... % of the original
2. The formula to go from notes to % is
multiplier = 2 ^ (key/12)
(12 semitones is one octave, resulting in 2x the frequency)
3. We can turn this around to
key = 12*log(multiplier)/log(2)
This results in a required key change of -0.31766653647
4. The key_smooth function has a range from 0 to 1 mapping to -6 to +6 semitones
So to find the value, we multiply by the range (12) and add 0.5 since that's the center point
-0.31766653647/12 + 0.5
This is a Profi :-)
Thanks
Posted Fri 28 Feb 20 @ 2:24 am
Adion, I say Thanks too.
Dankeschön
greatings,Dirk aka vlnjacki
Dankeschön
greatings,Dirk aka vlnjacki
Posted Fri 28 Feb 20 @ 7:44 am
I set up to two shortcuts
1. key_smooth 0 (orginal tone)
2. key_smooth 0 & key_smooth -0.31766653647/12 (-8 Hz tone)
This works well.
Do you know any way that I could use the -8 Hz tuning when Automix is turned on?
Update: ONSONGLOAD event seems a solution for this... However, the function runs during the fading (with smart fading), which sounds a bit disturbing... Any idea for this issue?
1. key_smooth 0 (orginal tone)
2. key_smooth 0 & key_smooth -0.31766653647/12 (-8 Hz tone)
This works well.
Do you know any way that I could use the -8 Hz tuning when Automix is turned on?
Update: ONSONGLOAD event seems a solution for this... However, the function runs during the fading (with smart fading), which sounds a bit disturbing... Any idea for this issue?
Posted Fri 25 Nov 22 @ 1:27 pm
Hi Everyone!
Update here!
I found that if my recordings are in 432 Hz and I reload them to the deck they are lowered by -8 Hz again, which is not what I want.
So I modified the script as follows:
get_loaded_song 'filename' & not param_contains '432' ?
get_loaded_song 'filepath' & not param_contains '432' ?
get_loaded_song 'comment' & not param_contains '432' ?
key_smooth -0,0264722113725
Update here!
I found that if my recordings are in 432 Hz and I reload them to the deck they are lowered by -8 Hz again, which is not what I want.
So I modified the script as follows:
get_loaded_song 'filename' & not param_contains '432' ?
get_loaded_song 'filepath' & not param_contains '432' ?
get_loaded_song 'comment' & not param_contains '432' ?
key_smooth -0,0264722113725
Posted Wed 23 Aug 23 @ 7:02 pm