Old 06-16-2018, 05:23 AM   #1
Hamulus
Human being with feelings
 
Join Date: Oct 2009
Posts: 33
Default Singing excersizes generator

Hi!
I just wrote a simple script to generate singing excersizes.

Just create a midi item which is started from your lowest note, select the item and place cursor at the end of item.

Then run the script, enter number of seminotes and the script will generate excersize pyramid.
Code:
from reaper_python import *

ret = RPR_GetUserInputs('Number of seminotes', 1, 'Seminotes','',2000)

seminotes = int(ret[4])

for x in range(seminotes):
  RPR_Main_OnCommand(40698, 0) #copy selected
  RPR_Main_OnCommand(40058,0) #paste copied
  RPR_Main_OnCommand(RPR_NamedCommandLookup('_FNG_MIDI_UP_SEMI'), 0)
  
for x in range(seminotes):
  RPR_Main_OnCommand(40698, 0) #copy selected
  RPR_Main_OnCommand(40058,0) #paste copied
  RPR_Main_OnCommand(RPR_NamedCommandLookup('_FNG_MIDI_DN_SEMI'), 0)
Hamulus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 07:55 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.