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 Previous  1, 2
 
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: Mon Sep 09, 2013 6:06 pm    Post subject: Reply with quote

Apologies to everyone, because those other versions were completely broken. Well, they worked at 120bpm at 4/4 but at no other tempos or time signatures.

Now it works with the time signature in Project Settings (not tempo markers or envelopes). I've tested 2/4, 3/4, 4/4 and 6/8 anyway.

Now it almost certainly works properly. Smile
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 10:37 pm    Post subject: Reply with quote

Let me get this straight.... you're doing something to help us and you're apologizing? Laughing Seriously, thanks man for doing this. It really is going to be a big time saver.

EDIT: I made a few minor changes to the script. The length for Drum Solo should be "A4" vs. "A1" because JS creates it as 1 bar with 4 repetitions. I also changed the naming of Pre-Chorus to Pre-Chor and Drum Solo to Drumsolo so the SWS Autocolor extension could differentiate between the regions.
I don't quite understand why but Autocolor can differentiate between Solo and Drumsolo but not between Prechorus and Chorus..... strange.

RE-EDIT: The Drum Solo length is still wrong for non-standard verse lengths. I'll check it out further tonight.

RE-RE-EDIT: The length for Drum Solo should be 'VS', Drum Solo follows verse length. The script still can not work correctly if Verses or Choruses contain an odd number of bars. JS rounds down to the next integer but the script does not.


Last edited by Azimuth on Wed Sep 11, 2013 2:41 am; edited 6 times in total
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: Tue Sep 10, 2013 11:17 am    Post subject: Reply with quote

Intro too long, not sure about verses etc because intro length throws the rest out.

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


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Wed Sep 11, 2013 12:42 am    Post subject: Reply with quote

Roy, the Intro length is always 2 Bars long unless manually changed. What is happening with your setup?
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


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

PostPosted: Wed Sep 11, 2013 8:30 am    Post subject: Reply with quote

@a_zimuth: Thanks for the info, I've updated it so it rounds down any fractions either in the input fields or the subsequent divisions. (and changed the drum solo length)

@roy_arn: I don't know what's happening because as far as I can see the Intro is always 2 bars long. Could you redownload the latest version to make sure we are all on the same page and check again?
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: Wed Sep 11, 2013 12:01 pm    Post subject: Reply with quote

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


Joined: 19 Nov 2010
Posts: 2131

PostPosted: Wed Sep 11, 2013 2:04 pm    Post subject: Reply with quote

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.
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: Wed Sep 11, 2013 2:47 pm    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Captain Caveman
Jammer
Jammer


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

PostPosted: Wed Sep 11, 2013 5:53 pm    Post subject: Reply with quote

@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. Smile

@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.
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 Sep 12, 2013 3:33 am    Post subject: Reply with quote

Captain, the script has handled everything I've thrown at it perfectly, totally usable now. (provided that I remember to reset the song structure Embarassed) 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. Very Happy
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: Fri Sep 13, 2013 2:29 am    Post subject: Reply with quote

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
Back to top
View user's profile Send private message
Jae.Thomas
Grand Master Jam
Grand Master Jam


Joined: 06 Jun 2006
Posts: 280

PostPosted: Sat Mar 12, 2022 12:55 pm    Post subject: Reply with quote

I feel like this script used to work a lot better - and quicker. I can't seem to get it working anymore...
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
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 Previous  1, 2
Page 2 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