| View previous topic :: View next topic |
| Author |
Message |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Thu May 25, 2017 10:14 am Post subject: Reaper Lua script to create Regions from Jamstix MIDI |
|
|
Hi everyone,
I've spent the last week or so writing a script for Reaper which will convert the location of target MIDI notes to Regions in Reaper.
http://forum.cockos.com/showthread.php?p=1848704#post1848704
.
.
.
EDIT: After thinking about this some more, I changed my mind about changing the script. A lot of times I will use the Drum Solo song part type for an extra busy Intro, Fill or Ending and don't want the number of bars in a Verse. So just enter "D" in the Song Structure entry once for every bar in length that you want your Drum Solo to be e.g. 4 bars, enter DDDD.
.
.
.
Last edited by Azimuth on Tue May 30, 2017 11:31 am; edited 6 times in total |
|
| Back to top |
|
 |
jimgue_77 Jammer

Joined: 30 May 2009 Posts: 25
|
Posted: Thu May 25, 2017 11:01 am Post subject: Thanks to a_zimuth! |
|
|
I don't use Reaper but I just wanted to say to a_zimuth that you totally rock! You are constantly positive and always trying to help others on here with Ralph's amazing piece of software (you've helped me in the past!).
Just wanted you to know that your efforts don't go unnoticed, at least by me
-jim |
|
| Back to top |
|
 |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Thu May 25, 2017 11:08 am Post subject: |
|
|
| Thanks Jim I appreciate it. |
|
| Back to top |
|
 |
Dali_S Jamologist

Joined: 06 Dec 2008 Posts: 134
|
Posted: Thu May 25, 2017 11:51 am Post subject: |
|
|
Woha !
As a Reaper user I will check this out for sure !
Thanks for sharing. |
|
| Back to top |
|
 |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Fri May 26, 2017 7:14 am Post subject: |
|
|
| Thanks Dali_S, let me know what you think and if you have any ideas for improvement. |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Tue May 30, 2017 10:44 am Post subject: this is pretty cool |
|
|
thanks for doing it.
what happens if i mess up or need to change the Jamstix song? like make a part shorter or longer? or decide to add a new part? etc...
brian |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Tue May 30, 2017 10:45 am Post subject: Re: this is pretty cool |
|
|
| TheSystem wrote: | thanks for doing it.
what happens if i mess up or need to change the Jamstix song? like make a part shorter or longer? or decide to add a new part? etc...
brian |
i missed the link at the top so i will go to it first before asking any more questions.
brian |
|
| Back to top |
|
 |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Tue May 30, 2017 10:56 am Post subject: |
|
|
Hi Brian,
Just re-run the script if you make a mistake or change your song. It is strictly visual and does not affect the audio or midi in any way. It will erase any existing Project Markers and Regions and create new Regions based on what you enter in the Song Structure input. Hope you enjoy it. |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Tue May 30, 2017 1:18 pm Post subject: genius |
|
|
man this is great. i will try it out.
i usually do this the opposite way. that is i create the markers before i created the Jamstix song. This should save quite a bit of time.
thanks again
brian |
|
| Back to top |
|
 |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Tue May 30, 2017 1:40 pm Post subject: |
|
|
| No problem, if you have any questions, just ask. I hope it works well for you. |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Tue May 30, 2017 2:39 pm Post subject: python now installed |
|
|
i installed python and can run ReaSongBuilder.
do i need to create a new script using the code you added to this link?
http://forum.cockos.com/showthread.php?p=1848704#post1848704
and place it in the same folder as ReaSongBuilder.py?
C:\Users\bblevins\AppData\Roaming\REAPER\Scripts
i tried this but do not see see it under Actions. Just ReaSongBuilder.py.
brian |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Tue May 30, 2017 3:36 pm Post subject: trying to create new script with Reascript |
|
|
is this what i need to do?
open reaper and create a new script using ReaScript? cut and past the code from the other link? |
|
| Back to top |
|
 |
Azimuth Moderator & Beta Team

Joined: 19 Nov 2010 Posts: 2131
|
Posted: Tue May 30, 2017 8:32 pm Post subject: Re: trying to create new script with Reascript |
|
|
| TheSystem wrote: | is this what i need to do?
open reaper and create a new script using ReaScript? cut and past the code from the other link? |
Yes, that will work or just save it in Notepad and rename it with a .lua extension and put it in your Reaper "Scripts" folder. Then "new" in the Actions window and point it to where you placed the script. It will say it already exists and agree to replace it. Then it will appear in your list. This script doesn't require that you have ReaSongBuilder or Python installed if you do not need them. |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Wed May 31, 2017 10:41 am Post subject: ahh lua |
|
|
i was using a .py extension.
i will try it later with the correct extension.
brian |
|
| Back to top |
|
 |
TheSystem Grand Master Jam

Joined: 16 Dec 2009 Posts: 294
|
Posted: Wed May 31, 2017 5:04 pm Post subject: that worked |
|
|
| Quote: | | Yes, that will work or just save it in Notepad and rename it with a .lua extension and put it in your Reaper "Scripts" folder. Then "new" in the Actions window and point it to where you placed the script. It will say it already exists and agree to replace it. Then it will appear in your list. This script doesn't require that you have ReaSongBuilder or Python installed if you do not need them. |
i can see it now.
thanks |
|
| Back to top |
|
 |
|