Updated 11/11/2021 Jamstix 4 Reaper Regions script

Use this forum for general discussions and questions about Jamstix
d_steinschneider
Posts: 79
Joined: Mon Feb 13, 2017 7:21 pm

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by d_steinschneider »

Here is code for file:
sws-autocoloricon.ini

This file is stored in the root of the Reaper data folder. On my system its in C:\Users\[my_windows_user_name]\AppData\Roaming\REAPER. To get that that folder you need to check "Show hidden folders in the view tab of Windows Explorer > Folder and Search Options (can find that from the Organize menu of Windows Explorer)

replace [my_windows_user_name] with your windows user name (don't include brackets)

[code:1:13beb4b93c]
[SWS]
AutoColorEnable=1
AutoColorMarkerEnable=0
AutoColorRegionEnable=1
AutoIconEnable=0
AutoLayoutEnable=0
AutoColorCount=12
AutoColor 1=2 Intro 0 "" "" ""
AutoColor 2=2 Verse 255 "" "" ""
AutoColor 3=2 Pre-Chorus 12189625 "" "" ""
AutoColor 4=2 Chorus 54528 "" "" ""
AutoColor 5=2 Link 33023 "" "" ""
AutoColor 6=2 Solo 16720418 "" "" ""
AutoColor 7=2 DrumSolo 16760445 "" "" ""
AutoColor 8=2 Breakdown 16732071 "" "" ""
AutoColor 9=2 Middle-8 9885903 "" "" ""
AutoColor 10=2 Silence 0 "" "" ""
AutoColor 11=2 Ending 0 "" "" ""
[/code:1:13beb4b93c]
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Azimuth (Archive) »

I write similar to you in that I, 99% of the time, start with the Drum track after coming up with a riff idea.

P.S. The sws-autocoloricon.ini file will go in your Reaper folder if you are using a portable installation.
d_steinschneider
Posts: 79
Joined: Mon Feb 13, 2017 7:21 pm

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by d_steinschneider »

I took the VCA line out - thanks again for posting this ReaScript and providing the color info. I tried tracking with the Reaper Big Clock and then the Jamstix big Bar/Beat (click on Bar/Beat in Transport) but it wasn't working for me. The color coding of regions let's me see more where I am in the song.
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Azimuth (Archive) »

No doubt that SWS autocolor makes things much more visible and effective, in my opinion. You're most welcome and I hope it works well for you.
Grem_Songs
Posts: 146
Joined: Tue Jan 06, 2015 9:48 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Grem_Songs »

OK. New to JS4 and to Reaper. Not sure how to get the effect that's in that first post with the regions, but man I would love to get it on my system.

Read this thread but still not sure what to do. Anyone can point me in the right direction?

Or point me to a part in this thread that I misunderstood/didn't get?
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Azimuth (Archive) »

Where are you having trouble figuring it out? The steps basically are:

1) Reaper v.5+ and SWS Extensions installed. SWS is available at [url]http://www.sws-extension.org/[/url].

2) Copy the code (highlight>crtl+c) in the first post up above.

3) In Reaper, Actions>Show action list (default shortcut key=?).

4) In the Action list, bottom right hand side ReaScript>New.

5) In the New Script window that opens, name the file and make sure that Lua files is shown in the Save as Type dropdown.

6) In the ReaScript Development Environment window that opens, paste the code that you copied. Save the script (ctrl+s). Close the window.

7) Back in the Actions List, bottom left, click Add under Shortcuts for selected action. Type the key or key combo you want to use for the script in the Keyboard/MIDI/OSC window that opens.

8 ) For the color of the Regions, you have a choice. You can either copy the code that d_steinschneider provided earlier in the thread, paste it into Notepad and save it as sws-autocoloricon.ini and then place that in [my_windows_user_name]\AppData\Roaming\REAPER for a full Reaper installation or C:\Reaper if you are using a portable install (in Windows). OR in Reaper, MENU: Extensions>Auto Color/Icon/Layout and set rules similar to what I did in the image earlier in the thread.

9) Then just follow the 5 steps I posted in the first post to use it.

If you have any more problems getting this to work, just ask I'll be glad to help.
Grem_Songs
Posts: 146
Joined: Tue Jan 06, 2015 9:48 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Grem_Songs »

Sorry I haven't gotten back to this thread for a few days.

a_zimuth, the first step you put up is the one. Maybe I should have asked what SWS Extensions was!

Now that I have them and have them installed, I will try this cool *$$ tool you have created!!

Will get back to you on how it went.
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Azimuth (Archive) »

Like I said, if you have any problems just ask and I'll gladly help if I can.
R Green
Posts: 77
Joined: Wed Jun 06, 2007 3:27 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by R Green »

Hi A-Zimuth,
Would it be possible to put your script into the Reaper stash? I don't know if I am supposed to be able to scroll the window that the code is in, but I can only copy what is displayed. When I paste it into a lua edit screen in Reaper and press 'save' I get an error.
Once I get that sorted I will try and make the script work for osx by doing a get OS and then setting file locations with / rather than \.

Edit - found the problem with the compile fail so will start looking at the Get os business.
Azimuth (Archive)
Posts: 1675
Joined: Fri Nov 19, 2010 2:16 am

Updated 11/11/2021 Jamstix 4 Reaper Regions script

Post by Azimuth (Archive) »

Hi R_G,

It has been quite a while since I wrote the script so I've probably forgotten a lot about it since then but if there are any questions you might come across regarding it, I'll do my best to answer them. Glad you figured out what the issue was with the compile. I had previously done one for Jamstix 3 also that is buried somewhere in the Reaper forum.
Post Reply