SergeD
07-04-2005, 10:10 AM
Hi,
Theo Krueger offered a bright manner to eliminate the machine gun effect for Gold and Kontakt 2 users in this thread http://www.soundsonline-forums.com/showthread.php?t=969
I clumsily proposed something for Silver users having Sonar in his thread. Sorry Theo, I apologize for this hijack. Besides, after reading the pdf file from Scott Cairns, it seems that my script has a totally different approach from the Theo idea.
Now this Cal script is intented to attenuate (instead of eliminate) the machine gun effect for Silver users working with Sonar or Homestudio.
Since samples are already stretched in Silver the theo idea cannot be applied in this library. But I think that if a sample is gently pitched the results are not so bad.
Are some silver users would like to try this script with samples like snare, glock or any staccato articulation and give their appreciation please ?
;; ---------------------
;; Pitch_RANDOM.CAL, by Serge Daigneault 2005
;; Insert random pitch
(do
(dword setting 6) ; Or whatever you want
(int NewPitch 0)
(int OldPitch 0)
(int Channel 0)
(do
(forEachEvent
(do
(if (== Event.Kind NOTE)
(do
(= NewPitch OldPitch)
(= Channel Event.Chan)
; Randomize pitch. No repeating equal values ...
(while (== NewPitch OldPitch)
(= NewPitch (* 15 (random (* -1 setting) setting)))
)
(insert (- Event.Time 1) Channel WHEEL NewPitch) ; Random wheel
(= OldPitch NewPitch)
))
))
(insert Event.Time Channel WHEEL 0) ; Reset wheel on last note event
)
)
;;------------------------
For people which have never used Cal files in Sonar, follow these steps:
1) In Sonar or HomeStudio check in Options / Global where is the Cal folder
2) Copy and paste this script in a file, save the file as Pitch_RANDOM.CAL in the Cal Folder
3) In Sonar select repetitive notes which sound as machine gun.
4) Hit Ctrl + F1 and double click on Pitch_RANDOM.CAL
Thanks,
SergeD
Theo Krueger offered a bright manner to eliminate the machine gun effect for Gold and Kontakt 2 users in this thread http://www.soundsonline-forums.com/showthread.php?t=969
I clumsily proposed something for Silver users having Sonar in his thread. Sorry Theo, I apologize for this hijack. Besides, after reading the pdf file from Scott Cairns, it seems that my script has a totally different approach from the Theo idea.
Now this Cal script is intented to attenuate (instead of eliminate) the machine gun effect for Silver users working with Sonar or Homestudio.
Since samples are already stretched in Silver the theo idea cannot be applied in this library. But I think that if a sample is gently pitched the results are not so bad.
Are some silver users would like to try this script with samples like snare, glock or any staccato articulation and give their appreciation please ?
;; ---------------------
;; Pitch_RANDOM.CAL, by Serge Daigneault 2005
;; Insert random pitch
(do
(dword setting 6) ; Or whatever you want
(int NewPitch 0)
(int OldPitch 0)
(int Channel 0)
(do
(forEachEvent
(do
(if (== Event.Kind NOTE)
(do
(= NewPitch OldPitch)
(= Channel Event.Chan)
; Randomize pitch. No repeating equal values ...
(while (== NewPitch OldPitch)
(= NewPitch (* 15 (random (* -1 setting) setting)))
)
(insert (- Event.Time 1) Channel WHEEL NewPitch) ; Random wheel
(= OldPitch NewPitch)
))
))
(insert Event.Time Channel WHEEL 0) ; Reset wheel on last note event
)
)
;;------------------------
For people which have never used Cal files in Sonar, follow these steps:
1) In Sonar or HomeStudio check in Options / Global where is the Cal folder
2) Copy and paste this script in a file, save the file as Pitch_RANDOM.CAL in the Cal Folder
3) In Sonar select repetitive notes which sound as machine gun.
4) Hit Ctrl + F1 and double click on Pitch_RANDOM.CAL
Thanks,
SergeD