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 Users: ReaSongBuilder script
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Rayzoon Technologies LLC Forum Index -> Jamstix - General
View previous topic :: View next topic  
Author Message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Sat Sep 07, 2013 5:42 pm    Post subject: Reaper Users: ReaSongBuilder script Reply with quote

I've put together a ReaScript that takes the arrangement from the Jamstix Song Builder (IVVCCE etc) and creates regions in Reaper from the info, instantly (you can copy/paste) creating your song arrangement for visual and editing purposes.

http://stash.reaper.fm/v/17752/ReaSongBuilder.py

Last Updated 11 Sep 2013.


Last edited by Captain Caveman on Wed Sep 11, 2013 8:32 am; edited 1 time in total
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Sun Sep 08, 2013 11:29 am    Post subject: Reply with quote

Great idea Captain Caveman. I am getting a syntax error when running the script. I have Python 2.75 installed and Reaper 4.52.
It is probably is my own fault as I know nothing about using Reascript. Thanks for sharing it.
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Sun Sep 08, 2013 1:25 pm    Post subject: Reply with quote

Hmm.. that's strange, I'm running 2.75 and 4.52 too (32 bit (but that shouldn't matter).

Could you download it again in case something's wrong with the file and if it still produces a syntax error message, post it here?
Cheers!
Back to top
View user's profile Send private message
roy_arn
Junior Jammer
Junior Jammer


Joined: 04 Mar 2013
Posts: 17
Location: United Kingdom

PostPosted: Sun Sep 08, 2013 3:44 pm    Post subject: Reply with quote

Just posted a reply on Reaper download page' I'm getting the following error on Reaper X64 windows 7, Python 3.3.2.

Line 47

length = int(sDataL[1][1]*2

Tab Error: inconsistent use of tabs and spaces in indentations.

Hope there's a resolution to this, being a keen Jamstix user this script sounds useful.

Roy
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Sun Sep 08, 2013 4:25 pm    Post subject: Reply with quote

Cheers, that was helpful - there was an extra space of indentation in that section. It was running fine with Python 2.7 (x86) and Reaper 4.52 (x86), but I've put it back to where it should have been so hopefully it will now run on everyone else's 'putes. Smile

I've made it so that it opens a Settings dialog on first run and you can now change settings anytime by running the script and entering 'r' in the text field.

Fingers crossed....
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Sun Sep 08, 2013 6:16 pm    Post subject: Reply with quote

Just reuploaded a new version with a fix for a bug in the settings dialog where you couldn't close it if the fields contained the wrong kind of data.
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Sun Sep 08, 2013 10:50 pm    Post subject: Reply with quote

Sorry for not replying back Captain, I work nights and had to get some sleep. New version works perfectly, absolutely brilliant. Just don't compose anything with verses or choruses that are 1 bar in length. Wink
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Mon Sep 09, 2013 2:39 am    Post subject: Reply with quote

I've found one instance where the script is not laying out the regions correctly. Here's a link to the JS song file and a screen snip of JS's Song Sheet and Reapers Region Manager showing the results. The "song" is in 6/8 as the name implies.

It obviously is having trouble interpreting the Drum Solo that starts the "song". Does the script expect a "Intro" part explicitly? There is something else going haywire also however. It looks almost like the script assumes there are always at least 2 repetitions.

http://sdrv.ms/17jXSGA
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Mon Sep 09, 2013 5:42 am    Post subject: Reply with quote

Hmmm, I don't have time to check this out just now. Here's the code for the section lengths...

Code:
# Here are all the possible sections.... A2, V1 etc = section length.                   
   # Relative lengths are same as in Jamstix 3
   # Ax =  x bars         Vx = Verse Length * x (see multipliers)      Cx = Chorus Length * x
   #
   sectionData = {'I': ['Intro'    , 'A2'],        'V': ['Verse'    , 'VS'],        'P': ['Pre-chorus', 'VH'], \
                  'C': ['Chorus'   , 'CS'],        'B': ['Bridge'   , 'VS'],        'M': ['Middle 8'  , 'VD'], \
                  'D': ['Drum Solo', 'A1'],        'S': ['Solo'     , 'VS'],        'Q': ['Silence'   , 'A2'], \
                  'L': ['Link'     , 'VH'],        'X': ['Breakdown', 'VS'],        'E': ['Ending'    , 'A1']}
   
   multipliers = {'S': 1, 'H': 0.5, 'D': 2}


... which shows that the Drum Solo should have a set length of 1 bar. So DDDD should be 4 bars. I'll have a look later.....

Cheers.

edit: it's a time signature thing. Everything should work at 4/4 at the mo, but I need to do some stuff to get it working at other time signatures....
Back to top
View user's profile Send private message
Azimuth
Moderator & Beta Team
Moderator & Beta Team


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Mon Sep 09, 2013 7:34 am    Post subject: Reply with quote

No problem, just wanted to let you know about this.
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Mon Sep 09, 2013 11:32 am    Post subject: Reply with quote

Thanks very much for letting me know, it would have taken a while for me to come across that one, being a 97.6% 4/4 guy. Smile

I'll hopefully get to the bottom of this tonight.
Back to top
View user's profile Send private message
roy_arn
Junior Jammer
Junior Jammer


Joined: 04 Mar 2013
Posts: 17
Location: United Kingdom

PostPosted: Mon Sep 09, 2013 12:32 pm    Post subject: Reply with quote

roy_arn wrote:
Just posted a reply on Reaper download page' I'm getting the following error on Reaper X64 windows 7, Python 3.3.2.

Line 47

length = int(sDataL[1][1]*2

Tab Error: inconsistent use of tabs and spaces in indentations.

Hope there's a resolution to this, being a keen Jamstix user this script sounds useful.

Roy


Tried this today and getting the same error but line 71 instead of line 47.

Roy
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


Joined: 21 Feb 2006
Posts: 42
Location: The Megacontinent

PostPosted: Mon Sep 09, 2013 2:32 pm    Post subject: Reply with quote

Sorry 'bout that. It turns out there were a couple of rogue tabs (instead of equal number of spaces) in there so whilst it looked perfectly inline, opening it up in Komodo Edit showed the problem. Python 3 must be fussier than v2 with that issue.

That's the version uploaded with those fixed. Going to check out the time sig problem in a while.
Back to top
View user's profile Send private message
roy_arn
Junior Jammer
Junior Jammer


Joined: 04 Mar 2013
Posts: 17
Location: United Kingdom

PostPosted: Mon Sep 09, 2013 2:33 pm    Post subject: Reply with quote

Thanks CC I'll try this tomorrow.

Roy
Back to top
View user's profile Send private message
roy_arn
Junior Jammer
Junior Jammer


Joined: 04 Mar 2013
Posts: 17
Location: United Kingdom

PostPosted: Mon Sep 09, 2013 2:42 pm    Post subject: Reply with quote

Couldn't wait so just quickly tried it out on my lappy, no errors now well done CC, now tomorrow I'll try it on my music comp and see how it works with Jamstix loaded, but looks like this will save quite some time laying out an arrangement.

Thanks Roy
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
Goto page 1, 2  Next
Page 1 of 2

 
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