• SONAR
  • How To Alternate Panning (Per Note)?
2016/12/29 02:07:29
AdamGrossmanLG
Hello,

I have a synth hi hat sound (still in MIDI) that I want to go from speaker to speaker... I want to alternate it so that the patterns looks like:

L-R-L-R-L-R-L-R

I know about the draw tool, but the thing is, these are not straight 16ths.  Its choppy.  

how do I get it so that each note hits a different pan position?
 
Thank You,
Adam
2016/12/29 02:40:32
promidi
What synth are you using?  What version and build number of Sonar are you using?

Can you modulate the pan position in your synth - depending on your synth.  Knowing your synth might help here.

You can also automate either the pan of the track or automate the pan parameter in the synth itself and use the draw square tool at 16th (set musical time snap to 1/8) and then move the automation nodes slightly to the left - as long as the hi-hat is the only note on the track.

You could also do it using Controller 10 on the track and use the PRV to put them in manually.  Just put each CC10 event just before each hi-hat hit.  Doing it this way you can create them as clips.  Create one clip and then copy that clip.
2016/12/29 05:32:39
Sanderxpander
Or use two hihat tracks, pan one left, one right.
2016/12/29 06:40:42
Boydie
I think I would use an automation lane and get the panning right for one "loop" of the hi hat pattern and then copy and paste the automation for the rest of the track
2016/12/29 08:21:25
Anderton
Sanderxpander
Or use two hihat tracks, pan one left, one right.


Similarly, render the audio and chop into two Take Lanes, one panned left and one right.
 
2016/12/29 09:16:48
bitflipper
Take a look here. I haven't tried these myself, but they look interesting. In particular, there's a MIDI plugin for sequencing any CC, which presumably includes CC10. (Note: these are paid products that cost $35 but work with some restrictions unlicensed.)
2016/12/29 12:14:11
Soundwise
There you go. Save this code as NotePan.CAL in your Sonar CAL scripts folder.
Then select a track you want to insert MIDI pan to, hit CTRL+F1, browse to your CAL scripts folder, choose NotePan.CAL. Enjoy!
 

;
;NotePan.CAL by Alisa Miller
;
;This CAL program will insert a determined pan event (CC 10) after each note event.
;

(do
  (int count 0)
  (int left 0)
  (int right 127)

;; Get Min and Max Pan values to determine Pan changes
 (getInt left "Enter the left pan amount" 0 64)
 (getInt right "Enter the right pan amount" 64 127)

    (forEachEvent
      (if (== Event.Kind NOTE)
        (do
          (if (== count 0)
            (insert (+ Event.Time 1) Event.Chan CONTROL 10 (= Control.Val left)
            )
          )
           (++ count)
           (insert (+ Event.Time 0) Event.Chan CONTROL 10 (= Control.Val right))
         (if (== count 2)
              (= count 0) ; if count is 2, reset to 0
         NIL
          )
        )
      )
    )
)

2016/12/29 16:32:28
AdamGrossmanLG
Amazing CAL script!!!  thank you everyone.  Good ideas in here!
2016/12/29 16:55:24
listen
The insight never ceases to amaze me - like for real...
2016/12/29 17:58:58
Anderton
Soundwise's script reminds me that Cakewalk was really ahead of the curve with the CAL thing...would be nice to see it get some more love from the Bakers.
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account