Reaper Users: ReaSongBuilder script

Use this forum for general discussions and questions about Jamstix
roy_arn
Posts: 17
Joined: Mon Mar 04, 2013 12:21 pm

Reaper Users: ReaSongBuilder script

Post by roy_arn »

O.K. Looking better on a quick test getting an intro of 2 bars now with todays file. need to test on my music computer. but was getting 2 and a bit bars on previous file. so fingers crossed.

thank you

Roy
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Reaper Users: ReaSongBuilder script

Post by Azimuth (Archive) »

Captain, Quick test with latest version using a 6/8, 5 bars/verse, 3 bars/chorus JS song and all looks good. I have no idea where/how you are finding ReaScript documentation to solve these problems as they arise. I tried looking into the rounding problem myself and that wiki is a total head-scratcher IMO.
roy_arn
Posts: 17
Joined: Mon Mar 04, 2013 12:21 pm

Reaper Users: ReaSongBuilder script

Post by roy_arn »

Sorry about this Captain Caveman, but the problems I'm getting are on just one midi project that I've been trying your script on. I've just tried three more projects and it works well. So I need to explore this one project and see what's throwing it out. Intro ends about 2 bars and a little over a 1/16th.
I'll let you know if I figure it out.

Best Roy
Captain Caveman
Posts: 11
Joined: Tue Feb 21, 2006 1:47 pm

Reaper Users: ReaSongBuilder script

Post by Captain Caveman »

@a_zimuth: if you go to Help -> HTML lists -> ReaScript documentation Reaper shows the current API. Rounding crapola crops up all the time, with Python it turns out that an int isn't the integer found in every other programming language in the universe, but a 32 bit precision float so an additional floor() was required. I moan, but it's all good fun. :)

@roy_arn: that's good to know. Maybe there is a tempo change at the beginning (or time sig), because the script does not take them into account. The script places regions in the timeline by absolute time (ie seconds), not bars or beats so tempo changes (or time sigs) in the project before using it will throw it off. It's not fit for Math Rock atm (well it is, as long as the markers are placed afterwards). I might geek tease myself into getting the bells n whistles put on at some point but if it works for everyone at the mo with the known limitations I'll leave it for now.
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Reaper Users: ReaSongBuilder script

Post by Azimuth (Archive) »

Captain, the script has handled everything I've thrown at it perfectly, totally usable now. (provided that I remember to reset the song structure :oops:) Thanks for the info regarding the documentation. If you ever decide to implement some bells and whistles that would be great. I can however, live with it just the way it is now. Now let's go make some music because that's what this is supposed to be about after all. :D
roy_arn
Posts: 17
Joined: Mon Mar 04, 2013 12:21 pm

Reaper Users: ReaSongBuilder script

Post by roy_arn »

Seems to be all going well for me too, just removed a tempo marker and reset project tempo to required speed, and even the problem project works as expected. Thanks Captain for all your graft, much appreciated.

Roy
Jae.Thomas
Posts: 285
Joined: Tue Jun 06, 2006 10:17 pm

Reaper Users: ReaSongBuilder script

Post by Jae.Thomas »

I feel like this script used to work a lot better - and quicker. I can't seem to get it working anymore...
Post Reply