• SONAR
  • Markers "jump to" midi control?
2015/02/02 07:06:30
johnkeel
I just bought Sonar Professional and the timing was perfect. My band "Sullen" (in my sig) is getting ready for gigs, which means a lot of programming for the geek synth dude (me).
I will be using Sonar live for all sequencing,  all patch changes, in-ear monitor clicks, fx envelopes, etc, in the past i used to play only with a instance of Kore2 to load my VSTs so this is a big upgrade in programming skills.
 
So, i just started setting it up and already there's a first doubt. my main Keyboard a Kurzweil PC3 will be my main controller, and im thinking about using markers to jump from song to song. So, i can already set a midi button in the keyboard to do Next and Previous marker, but i cant seem to find a way to do "jump to marker X".
 
Since the Kurzweil can have initial midi commands when you select a preset i want to add a "Jump to Marker X" whenever i select the Kurzweil setup "Song X". I need to point a button to a CC that corresponds to Markers (not next and previous). Anyone knows how to do this?
 
Thanks
2015/02/02 08:51:20
bitman
There is an API call in the SDK for marker navigation aside from that maybe you could try mapping a midi cc to a keybinding where afairemember, is exposed for our enjoyment.
 
Start with keybindings then work backwards to your controller.
 
2015/02/02 11:43:52
johnkeel
Binding keys wont solve any problem, this is the available marker key shortcuts:
Insert marker
M
Next marker
CTRL+SHIFT+PAGE DOWN
Previous marker
CTRL+SHIFT+PAGE UP
Open Markers view
ALT+SHIFT+4
 
Hummm in my head this seems something easy and simple just like a midi program change, but instead of changing program it would change the marker.
Looking at this:
http://www.cakewalk.com/Documentation?product=SONAR%20X2&language=4&help=ControlBar.12.html
 
You got Previous and Next, why not sending a value so that the "D" will jump to the marker matching the value?
This is of most use for any Live Programmer / Keyboard player! I never had to use this but i always thought this would be a walk in the park when the time comes, well the time did arrive and im lost haha
2015/02/02 12:04:53
azslow3
It is (theoretically) possible to do key binding for timeline moving (so "G" + "delete" X time to remove old value +"YYYYYY" new time + "Enter").
 
If you do not afraid to be "alpha tester", I can add such action into my plug-in. I do not have Visual Studio to modify ACT MIDI one. As bitman writes, that is just several C lines at proper place
2015/02/02 12:11:50
scook
It is possible to manipulate the Now time using CAL and bind the CAL scripts to shortcuts. For example this will set Now to measure 2 beat 1 tick 0
(= Now (makeTime 2 1 0))
2015/02/02 12:45:12
johnkeel
azslow3
It is (theoretically) possible to do key binding for timeline moving (so "G" + "delete" X time to remove old value +"YYYYYY" new time + "Enter").
 
If you do not afraid to be "alpha tester", I can add such action into my plug-in. I do not have Visual Studio to modify ACT MIDI one. As bitman writes, that is just several C lines at proper place




I could beta test it sure!
 
Scook, well i dont even know what to do with that information, im sorry :(
2015/02/02 15:27:56
azslow3
johnkeel
azslow3
It is (theoretically) possible to do key binding for timeline moving (so "G" + "delete" X time to remove old value +"YYYYYY" new time + "Enter").
 
If you do not afraid to be "alpha tester", I can add such action into my plug-in. I do not have Visual Studio to modify ACT MIDI one. As bitman writes, that is just several C lines at proper place




I could beta test it sure!

Ok, I will implement it tomorrow.
 

Scook, well i dont even know what to do with that information, im sorry :(

That is in fact a good idea. CAL scripts (C:\Cakewalk\Content\SONAR <version>\CAL Scripts) are "macros" for SONAR. You can create several scripts for different positions inside your project and then bind the execution. It sounds a bit cryptic at first, but configuring my plug-in can be even more confusing...
 
CAL can help you with other "unusual" operations, not available directly in SONAR.
 
My plug-in can help you with complicated Control Surface bindings. For example, you can fix some controls to arbitrary track/bus/send (and most other) parameters.
2015/02/02 15:56:47
scook
Instead or in addition to using markers, CAL will let you jump directly to a specified time. CAL scripts are plain text files stored in the CAL Files location specified in Preferences > File > Folder Locations. Suppose marker X is at measure 25 beat 2 tick 3. In notepad create JumpToMarkerX.CAL in the CAL files path and add the line
(= Now (makeTime 25 2 3))
and save the file. This command sets the Now time using the makeTime function. The makeTime function takes three arguments measure, beat and tick. CAL scripts are run from Process > Run CAL.... CAL scripts also show up in the keyboard shortcuts Global Area and can be bound to key and MIDI combinations.
2015/02/04 12:48:06
azslow3
AZ Controller latest Test version (0.3r0) includes that action.
It supports absolute and relative jumps, state dependent jumps and searches by name. For example, it is possible to search "previous 'Verse'", " 'Chorus' right from Marker 12" and all other combinations I could imagine.
2015/03/07 06:37:25
johnkeel
scook
Instead or in addition to using markers, CAL will let you jump directly to a specified time. CAL scripts are plain text files stored in the CAL Files location specified in Preferences > File > Folder Locations. Suppose marker X is at measure 25 beat 2 tick 3. In notepad create JumpToMarkerX.CAL in the CAL files path and add the line
(= Now (makeTime 25 2 3))
and save the file. This command sets the Now time using the makeTime function. The makeTime function takes three arguments measure, beat and tick. CAL scripts are run from Process > Run CAL.... CAL scripts also show up in the keyboard shortcuts Global Area and can be bound to key and MIDI combinations.




Zomg, that was easy! You Sir are the man!
Any idea how to make a ACT Script for Mix Recalls ? Like One Script per Mix Recall entry?
12
© 2026 APG vNext Commercial Version 5.1

Use My Existing Forum Account

Use My Social Media Account