Rayzoon Technologies LLC Forum Index Rayzoon Technologies LLC
Official Online Community & Support
 
Rayzoon Web Site

 FAQFAQ   SearchSearch   http://rayzoon.com/v-web/bulletin/bb/lm.phpMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Reaper Lua script to create Regions from Jamstix MIDI

 
Post new topic   Reply to topic    Rayzoon Technologies LLC Forum Index -> Jamstix - General
View previous topic :: View next topic  
Author Message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Thu May 25, 2017 10:14 am    Post subject: Reaper Lua script to create Regions from Jamstix MIDI Reply with quote

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
View user's profile Send private message
jimgue_77
Jammer
Jammer


Joined: 30 May 2009
Posts: 25

PostPosted: Thu May 25, 2017 11:01 am    Post subject: Thanks to a_zimuth! Reply with quote

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 Very Happy

-jim
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Thu May 25, 2017 11:08 am    Post subject: Reply with quote

Thanks Jim I appreciate it.
Back to top
View user's profile Send private message
Dali_S
Jamologist
Jamologist


Joined: 06 Dec 2008
Posts: 134

PostPosted: Thu May 25, 2017 11:51 am    Post subject: Reply with quote

Woha !

As a Reaper user I will check this out for sure !

Thanks for sharing.
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Fri May 26, 2017 7:14 am    Post subject: Reply with quote

Thanks Dali_S, let me know what you think and if you have any ideas for improvement.
Back to top
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Tue May 30, 2017 10:44 am    Post subject: this is pretty cool Reply with quote

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
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Tue May 30, 2017 10:45 am    Post subject: Re: this is pretty cool Reply with quote

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
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Tue May 30, 2017 10:56 am    Post subject: Reply with quote

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
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Tue May 30, 2017 1:18 pm    Post subject: genius Reply with quote

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
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Tue May 30, 2017 1:40 pm    Post subject: Reply with quote

No problem, if you have any questions, just ask. I hope it works well for you.
Back to top
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Tue May 30, 2017 2:39 pm    Post subject: python now installed Reply with quote

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
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Tue May 30, 2017 3:36 pm    Post subject: trying to create new script with Reascript Reply with quote

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
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Tue May 30, 2017 8:32 pm    Post subject: Re: trying to create new script with Reascript Reply with quote

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
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Wed May 31, 2017 10:41 am    Post subject: ahh lua Reply with quote

i was using a .py extension.

i will try it later with the correct extension.

brian
Back to top
View user's profile Send private message
TheSystem
Grand Master Jam
Grand Master Jam


Joined: 16 Dec 2009
Posts: 294

PostPosted: Wed May 31, 2017 5:04 pm    Post subject: that worked Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Rayzoon Technologies LLC Forum Index -> Jamstix - General All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2002 phpBB Group