Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ReaScript Advanced Renamers Log 2

Simple Counter

INPUT

r=1

OUTPUT

  1. r1
  2. r2
  3. r3
  4. r4
  5. r5
  6. r6
  7. r7
  8. r8
  9. r9

Three Digits Counter

INPUT

r=001

OUTPUT

  1. r001
  2. r002
  3. r003
  4. r004
  5. r005
  6. r006
  7. r007
  8. r008
  9. r009

Counter Restart

INPUT

r=1-2

OUTPUT

  1. r1
  2. r2
  3. r1
  4. r2
  5. r1
  6. r2
  7. r1
  8. r2
  9. r1

Counter Restart Time

INPUT

r=1-2s

OUTPUT

  1. r1
  2. r2
  3. r3
  4. r1
  5. r2
  6. r3
  7. r1
  8. r2
  9. r3

Counter Restart and Increment Left

INPUT

a=1_r=1-2

OUTPUT

  1. a1_r1
  2. a1_r2
  3. a2_r1
  4. a2_r2
  5. a3_r1
  6. a3_r2
  7. a4_r1
  8. a4_r2
  9. a5_r1

Counter Restart and Increment Left, with repeater

INPUT

a=1_r=1-2-2

OUTPUT

  1. a1_r1
  2. a1_r1
  3. a1_r2
  4. a1_r2
  5. a2_r1
  6. a2_r1
  7. a2_r2
  8. a2_r2
  9. a3_r1

Counter Restart and Increment Left, with repeater time

INPUT

a=1_r=1-2-2s

OUTPUT

  1. a1_r1
  2. a1_r1
  3. a1_r1
  4. a1_r2
  5. a1_r2
  6. a1_r2
  7. a2_r1
  8. a2_r1
  9. a2_r1

Scale

INPUT

$scale=G#1

OUTPUT

  1. G#1
  2. A#1
  3. C2
  4. D2
  5. E2
  6. F#2
  7. G#2
  8. A#2
  9. C3

Scale, negative start

INPUT

`$scale="G#-1"

OUTPUT

  1. G#-1
  2. A#-1
  3. C0
  4. D0
  5. E0
  6. F#0
  7. G#0
  8. A#0
  9. C1

Scale, negative start with repeator condition

INPUT

$scale="G#-1"-2

OUTPUT

  1. G#-1
  2. G#-1
  3. A-1
  4. A-1
  5. A#-1
  6. A#-1
  7. B-1
  8. B-1
  9. C0

Scale, negative start with repeator condition

INPUT

$scale="G#-1"-2s

OUTPUT

  1. G#-1
  2. G#-1
  3. G#-1
  4. A-1
  5. A-1
  6. A-1
  7. A#-1
  8. A#-1
  9. A#-1

Scale, negative start with repeator condition time and jump

INPUT

$scale="G#-1"-2s-2

OUTPUT

  1. G#-1
  2. G#-1
  3. G#-1
  4. A#-1
  5. A#-1
  6. A#-1
  7. C0
  8. C0
  9. C0

Dummy Values and Non-Zero Negative Incrementation

INPUT

r=100-x-x-"-2"

OUTPUT

  1. r100
  2. r098
  3. r096
  4. r094
  5. r092
  6. r090
  7. r088
  8. r086
  9. r084

Scale, restart jump

INPUT

$scale="G#-1"-2-a-a-12

OUTPUT

  1. G#-1
  2. A-1
  3. G#0
  4. A0
  5. G#1
  6. A1
  7. G#2
  8. A2
  9. G#3

Scales, multiples

INPUT

$scale="G#-1"_$scale="C#-1"

OUTPUT

  1. G#-1_C#-1
  2. A-1_D-1
  3. A#-1_D#-1
  4. B-1_E-1
  5. C0_F-1
  6. C#0_F#-1
  7. D0_G-1
  8. D#0_G#-1
  9. E0_A-1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment