Javascript Macro Action Requests
-
- KVRAF
- Topic Starter
- 1777 posts since 30 Dec, 2012
Hi all, we are aware everyone will be using the new Javascript macros feature in different ways and to create the behaviour you desire we will need to add new actions.
Use this thread to request actions. Please keep them brief and refrain from side discussions (you can start a new thread for these) or it's difficult to keep track of the requests.
If the action isn't self explanatory, please add a little description of how you would like it to work.
We'll do our best to add these over the coming weeks.
Thanks!
Use this thread to request actions. Please keep them brief and refrain from side discussions (you can start a new thread for these) or it's difficult to keep track of the requests.
If the action isn't self explanatory, please add a little description of how you would like it to work.
We'll do our best to add these over the coming weeks.
Thanks!
- KVRAF
- 35295 posts since 14 Sep, 2002 from In teh net
- Beware the Quoth
- 33175 posts since 4 Sep, 2001 from R'lyeh Oceanic Amusement Park and Funfair
Will there also be a thread for 'how do I do X in my script' or will this cover that too?
my other modular synth is a bugbrand
-
- KVRist
- 39 posts since 6 May, 2003 from Berlin
Being able to use QWERTY key strokes would be nice.
Ex.1:
Set tempo for the edit
propertiesPanel ('Tempo')
qwertyKey ('tab' 'tab' 'tab' 'tab' 'tab')
qwertyWrite ('96')
qwertyKey ('enter')
Ex.2:
Rename several tracks
Select a track
qwertyKey ('tab')
qwertyWrite ('Track Name 1')
qwertyKey ('enter')
Select Item Relative: Tracktion.selectItem('down')
qwertyKey ('tab')
qwertyWrite ('Track Name 2')
qwertyKey ('enter')
Select Item Relative: Tracktion.selectItem ('down')
.
.
.
etc.
(Of course I could use an edit template instead. Anyway...
With the script I could insert a standard live drum setup into any edit and rename the tracks very quickly, for example.)
Ex.1:
Set tempo for the edit
propertiesPanel ('Tempo')
qwertyKey ('tab' 'tab' 'tab' 'tab' 'tab')
qwertyWrite ('96')
qwertyKey ('enter')
Ex.2:
Rename several tracks
Select a track
qwertyKey ('tab')
qwertyWrite ('Track Name 1')
qwertyKey ('enter')
Select Item Relative: Tracktion.selectItem('down')
qwertyKey ('tab')
qwertyWrite ('Track Name 2')
qwertyKey ('enter')
Select Item Relative: Tracktion.selectItem ('down')
.
.
.
etc.
(Of course I could use an edit template instead. Anyway...
With the script I could insert a standard live drum setup into any edit and rename the tracks very quickly, for example.)
-
- KVRAF
- Topic Starter
- 1777 posts since 30 Dec, 2012
"Basic Actions" -> "Editing" -> "Merge Selected Clips"phledo wrote:Especially: -> Render the selected clip and replace it
-
- KVRist
- 39 posts since 6 May, 2003 from Berlin
Thanks Dave.dRowAudio wrote:"Basic Actions" -> "Editing" -> "Merge Selected Clips"
I wouldn't have used that command on a single clip.
A couple of user definable (action) parameters before rendering would be nice, though.
"Merge Selected Clips" renders always to 32 bit stereo wav? (Unsure)
And again:
The rendered file should get the name of the clip being rendered.
-
- KVRer
- 28 posts since 1 Jul, 2013 from Southampton, UK
Event handlers for selections and marker clips on the Marker Track.
I want to register a macro to be run when the selected region is entered for the first time.
Like, I want to be able to turn on loop mode when the play head enters the selected region (that is, when and if the cursor hits the 'in' marker)
I don't know if registering handlers for these events would be best done in code or with a bit more UI. Certainly there is room in the Marker Clip properties panel for a macro to be referenced.
Maybe code would look like
selection.onEnter( toggleTransport('loop') );
or
Markers( 'Marker 1' ).onEnter( selectCurrentMarkerAndLoop() );
I want to register a macro to be run when the selected region is entered for the first time.
Like, I want to be able to turn on loop mode when the play head enters the selected region (that is, when and if the cursor hits the 'in' marker)
I don't know if registering handlers for these events would be best done in code or with a bit more UI. Certainly there is room in the Marker Clip properties panel for a macro to be referenced.
Maybe code would look like
selection.onEnter( toggleTransport('loop') );
or
Markers( 'Marker 1' ).onEnter( selectCurrentMarkerAndLoop() );
-
- KVRer
- 28 posts since 1 Jul, 2013 from Southampton, UK
I would like to be able to bring a new named Edit in to focus.
Currently
Traction.showEditScreen();
exists, but it will only show the last used edit screen. I'd like to be able to referenced a named edit screen
Tracktion.showEditScreen( 'Song 2' );
Or at least add
Tracktion.nextEditScreen();
Currently
Traction.showEditScreen();
exists, but it will only show the last used edit screen. I'd like to be able to referenced a named edit screen
Tracktion.showEditScreen( 'Song 2' );
Or at least add
Tracktion.nextEditScreen();
-
- KVRer
- 28 posts since 1 Jul, 2013 from Southampton, UK
Not strictly a macro request, but I would like the MIDI Modifier plugg-in to host script so that I could modify or event generate MIDI note and CC data in Tracktion.
-
- KVRian
- 1272 posts since 11 Apr, 2002 from Nashville, TN
I would like the inverse ability. I want the ability to trigger keystrokes and scripts and with MIDI.busywait wrote:Not strictly a macro request, but I would like the MIDI Modifier plugg-in to host script so that I could modify or event generate MIDI note and CC data in Tracktion.
- Banned
- 1376 posts since 23 Jun, 2007 from france
some midi orientated macros :
create random midi notes within a defined range
random notes velocity
delete double notes
midi data transform (aka Logic X), ex : transform note into controller datas, select note within a defined range...
Tranform a lopped midi clip into one big clip or into several clips.
Note mute/solo
create random midi notes within a defined range
random notes velocity
delete double notes
midi data transform (aka Logic X), ex : transform note into controller datas, select note within a defined range...
Tranform a lopped midi clip into one big clip or into several clips.
Note mute/solo
-
- KVRAF
- Topic Starter
- 1777 posts since 30 Dec, 2012
Hi Kang, I've just added some action to do these now. Here's what the scripts would look like:Kang wrote:Create a track named X
Rewind X amount
Load plugin with preset X
Any of these possible?
Code: Select all
// Insert a Track Named X
var track = Tracktion.insertTrack ('audio');
Tracktion.setName (track, "New Track Name");
// Rewind X Amount
var currentPos = Tracktion.getPosition ('transport');
Tracktion.setPosition ('transport', currentPos - 10.0);