Reaper Users: ReaSongBuilder script
-
Captain Caveman
- Posts: 11
- Joined: Tue Feb 21, 2006 1:47 pm
Reaper Users: ReaSongBuilder script
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.
http://stash.reaper.fm/v/17752/ReaSongBuilder.py
Last Updated 11 Sep 2013.
-
Azimuth (Archive)
- Posts: 1675
- Joined: Fri Nov 19, 2010 2:16 am
Reaper Users: ReaSongBuilder script
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.
It is probably is my own fault as I know nothing about using Reascript. Thanks for sharing it.
-
Captain Caveman
- Posts: 11
- Joined: Tue Feb 21, 2006 1:47 pm
Reaper Users: ReaSongBuilder script
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!
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!
Reaper Users: ReaSongBuilder script
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
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
-
Captain Caveman
- Posts: 11
- Joined: Tue Feb 21, 2006 1:47 pm
Reaper Users: ReaSongBuilder script
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. 
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....
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....
-
Captain Caveman
- Posts: 11
- Joined: Tue Feb 21, 2006 1:47 pm
Reaper Users: ReaSongBuilder script
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.
-
Azimuth (Archive)
- Posts: 1675
- Joined: Fri Nov 19, 2010 2:16 am
Reaper Users: ReaSongBuilder script
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. 
-
Azimuth (Archive)
- Posts: 1675
- Joined: Fri Nov 19, 2010 2:16 am
Reaper Users: ReaSongBuilder script
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.
[url]http://sdrv.ms/17jXSGA[/url]
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.
[url]http://sdrv.ms/17jXSGA[/url]
-
Captain Caveman
- Posts: 11
- Joined: Tue Feb 21, 2006 1:47 pm
Reaper Users: ReaSongBuilder script
Hmmm, I don't have time to check this out just now. Here's the code for the section lengths...
[code:1:d19f9afada]# 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}[/code:1:d19f9afada]
... which shows that the Drum Solo [i:d19f9afada]should[/i:d19f9afada] 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....
[code:1:d19f9afada]# 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}[/code:1:d19f9afada]
... which shows that the Drum Solo [i:d19f9afada]should[/i:d19f9afada] 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....
-
Azimuth (Archive)
- Posts: 1675
- Joined: Fri Nov 19, 2010 2:16 am
Reaper Users: ReaSongBuilder script
No problem, just wanted to let you know about this.