Copy link to clipboard
Copied
I want to create a series of markers (cue or beat) to represent a given time range in a dance track. For example, I know the bpm is 104, sample rate is 44.1k (I usually work in a display time format of samples), the range for an 8-count of beats would be 203538 samples (I work in samples because it's much more accurate than marking 4.615 seconds). I have previously created scripts to mark an audio clip every X number of beats, but this only works for an entire audio clip (for example if I want a short audio clip to be marked by 8 beats - basically splitting the total time by 8, I have created scripts that work fine - script included below). The problem is when I want to use the same script, but only on a highlighted section (or better yet have it work from the cursor forward) - it just doesn't work that way. My guess is that these scripts are percentage based and not necessarily based on X amount of time/samples.
I included a sample script of how I would mark an audio clip into 8 beats (but the quesiton is how to apply this script to a highlighted section instead of the entire audio clip).
So, I want to be able to highlight a section of audio and have a script to create cue markers every X times. I can't seem to create a script to have the option to work based on the highlighted section instead of the entire file.
Collection: mark beats
Title: mark 8 counts
Description:
Mode: 2
Undo: 1
Selected: none at 0 scaled 8000 SR 44100
Freq: Off
cmd: Channel Both
Selected: 0 to 999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 1000 to 1999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 2000 to 2999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 3000 to 3999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 4000 to 4999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 5000 to 5999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 6000 to 6999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Selected: 7000 to 7999 scaled 8000 SR 44100
Freq: Off
cmd: Command 311
Freq: Off
Data Scaling: size 8000
Data: Cue List
1: 8
2: 1
3: 0
4: 0
5: 2
6: 1000
7: 1000
8: 3
9: 2000
10: 2000
11: 4
12: 3000
13: 3000
14: 5
15: 4000
16: 4000
17: 6
18: 5000
19: 5000
20: 7
21: 6000
22: 6000
23: 8
24: 7000
25: 7000
Data: Assoc List2
1: 8
2: Marker 01
3:
4: 1000
5: 544106354
6: Marker 02
7:
8: 1000
9: 544106354
10: Marker 03
11:
12: 1000
13: 544106354
14: Marker 04
15:
16: 1000
17: 544106354
18: Marker 05
19:
20: 1000
21: 544106354
22: Marker 06
23:
24: 1000
25: 544106354
26: Marker 07
27:
28: 1000
29: 544106354
30: Marker 08
31:
32: 1000
33: 544106354
End:
Have something to add?