42 postsPage 2 of 3
1, 2, 3
Thanks for this Lawrence, you are a star.

8-)

AMD Phenom quad core | 8 GB RAM | Roland UA-25 EX audio interface | Radeon HD 2400 Pro | Win 8.1 x64 | Studio One Pro v3.5.6 x64

"The queen of spades is a friend of mine, the queen of hearts is a bitch
someday when I clean up my mind, I'll find out which is which"
Gram Parsons
User avatar
by WaterlooSunset on Thu Apr 18, 2019 10:43 am
This is awesome indeed. Thanks for this.

I also agree with this quote.

"What I find just a little bizzarro is all through Studio One version 3 with the many requests for more variety of color, version 4 gives absolutely no enhancement towards that, yet a faithful user writes a script giving hundreds of color choices (albeit towards track color only)".


I have songs from V3 that I open in V4. I have greens that show correctly in V4 the way they were set in V3. I cannot create a new track in V4 with that same green, there is no choice in the V4 std palette.

I guess in a long about way I am agreeing with this needing to be better and Native in S1.

Win 8.1, MSI G41 Z87, I4770K (no OC), 16GB, NVIDIA 710, 2x27" Monitors 480Gb SSD, 2x1TB WD Blacks. SYBA Firewire SD-PEX30009, FS Mobile. Monitor2USB, S1 Pro 4.1.1
Hobbiest - Mainly Guitars, UVI, Soundtoys, NI, IK, EZ2, SD3, BFD Eco GR5, TH3, Amplitube 4, Waves GR,
Korg 707, NanoPAD2, MicroKey2. Eris 5, B2031A
User avatar
by Lokeyfly on Fri Apr 19, 2019 12:19 pm
Lawrence wrote: Here's a toolbar add-on that allows you to create, store, import and export custom color sets of 40 colors using any RGB colors. It colors full tracks, not individual clips.

What I like in particular are the color sets are 8 main colors, so that readily provides 8 different sets of 5 different shades of each. Nice and practical when treating a track. The color selector icon also resides in a logical place along the adjustment tool bar, overhead where Macros and other logical tools are placed.

I don't mind that it doesn't adjust individual events either, because I adjust those individual events on my own. So if I introduce some color across a whole track, the different events shade to something close to that color hue, so events still keep their own identity, basically. Besides, if you need to override a color on an individual event (say one you're working on, or need to refer back to), it still can be done, and doesn't effect the rest of the track coloring. Ultimately, just works fine.

in other words, like so many things in a DAW, you make it work to your own needs. :)

Down the road, I'd like this implemented into the program, but in the mean time, knowing we have some resourceful people who find such script templates, or create/tweak their own and share in a good thing, is awesome. This is one of those good things!

S1 Pro 4.5, Laptop: VAIO i7, 8 core, Win 7 64x. Audio Interface: Audiobox 22 VSL, Audiophile 192 PCI-e, Faderport 8, Controllers: Arturia Keylab 49 MkII, Novation SL25 MKII, Roland JV-90, Guitar controllers: Roland GR-50, Percussion controllers: Roland Octapad, Akai MPD-18. MIDI Patchbay: MOTU 8x8, Sampler: E-Mu ESI-32, Mixer: Yamaha Promix 01.

 My music

On Bandcamp

On YouTube
User avatar
by Lawrence on Sat Apr 20, 2019 3:26 am
I appreciate your kind comments guys, thanks.

P.S. The update from a couple of days ago broke the RGB number displays. If you have no RGB numbers in the boxes in the editor, download it again from the first post.

default.zip
My current default color set. Still tweaking to my taste.
(599 Bytes) Downloaded 30 times

User avatar
by Bbd on Sat Apr 20, 2019 6:43 am
Just installed this. Much thanks Lawrence. It works great!
:thumbup:

Bbd

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


OS: Win 10 x64 Home, Studio One Pro 4.x, Notion 6, Series III 24, Studio 192, Haswell CPU: i7 4790k @ 4.4GHz, RAM: 16GB, Faderport 8/16, Central Station +, PreSonus Sceptre S6, Eris 3.5, ELAC Sub, ATOM
User avatar
by Trucky on Sat Apr 20, 2019 8:16 am
Hey Lawrence-

Great job on this! Thanks for sharing!

Is it possible to also allow data entry for manually typing in the RGB values?
Currently it's only displaying the slider values and it would provide faster data entry for those that know the RGB values.

Also, what's the math used for the values in the .colorset export file?

Color RGB Colorset
Black 0,0,0 -16777216
White 255,255,255 -1

Is it possible to import/export a file containing RGB values?

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lawrence on Sat Apr 20, 2019 11:04 am
Yep, it was already doing that (allowing typing in values to set colors) but the refactor broke that for the RGB boxes as well. Fixed in 1.0.0.4.

Is it possible to import/export a file containing RGB values?

Technically possible sure, but there's nothing in the toolbar to do that currently.

The current math (or JS code, if that's what you're asking) from RGB to color is...
( (Blue << 16) | ( Green << 8) | Red ) | 0xff000000.

User avatar
by Trucky on Sat Apr 20, 2019 12:34 pm
Thanks for the quick fix.


The current math (or JS code, if that's what you're asking) from RGB to color is...
( (Blue << 16) | ( Green << 8) | Red ) | 0xff000000.

Sorry, still not understanding the math.

Here's the color, RGB info followed by their values that show in the exported .colorset file.
Can you show the math equations to convert each of the following? Thanks!

Black (0,0,0) = -16777216
White (255,255,255) = -1

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lawrence on Sat Apr 20, 2019 2:34 pm
That's the conversion code I'm using in in JS. Blue, Green, Red:
( (255 << 16) | ( 255 << 8) | 255) | 0xff000000 = # number for White

The math behind this page https://www.shodor.org/stella2java/rgbint.html otoh is...
256*256*red+256*green+blue

User avatar
by Trucky on Sat Apr 20, 2019 3:10 pm
I ran the conversion tool in the link you provided.
I understand the math conversion but couldn't understand why the value stored in the .colorset file is a negative number and a 1 added to the actual value.
Image

Suggestion: If it's more difficult to export/import RGB values, another common practice would be to save them as Hex values.

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lawrence on Sat Apr 20, 2019 3:16 pm
I'm not sure what problem you're trying to solve. The colors store and recall correctly which all it needs to do for the limited purpose it serves.

The difference in the integer values in your image (other than the negative sign) is that that formula from that page uses 256, which explains why the numbers are shifted by 1. That may be what Java uses internally 256 instead of 255 as that page appears to relate to Java.

User avatar
by Trucky on Sat Apr 20, 2019 4:32 pm
Nothing major...
Just a suggestion given the fact that your toolbar offers importing of custom .colorset files.
Many graphic sites provide RGB or Hex value lists for various color charts that make it easy to copy/paste into a file rather than manual data entry.

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lawrence on Sat Apr 20, 2019 4:46 pm
Sounds cool to me. Point me to a few of those sites with lists like that so I can have a look. It sounds like something worth investigating. Reading and writing RGB values isn't hard, I mostly just wanted to avoid using delimiters.

Thanks T.

User avatar
by Trucky on Sat Apr 20, 2019 5:22 pm

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lawrence on Sun Apr 21, 2019 9:26 am
Ok, thanks. None of those really allow copying and pasting RGB or HEX values directly as all of the pages are tables and copy and pasting text of more than one value from HTML tables is a bit of a mess.

At any rate, there's a new menu in 1.0.0.5, "Import Hex Colors" that will import (up to) 40 colors from a simple text file with hex values. A sample text file is attached below. With or without the leading #, doesn't matter, and also allows for comments.

This is about as far down the proverbial rabbit hole as I intend to go with this little utility.

hexcolors.txt
(491 Bytes) Downloaded 49 times

User avatar
by Trucky on Sun Apr 21, 2019 10:36 am
The "Import Hex Colors" option (with or without leading #) works great! It's a real time saver for me when working with the various color pallets available on the Internet. Most seem to only list Hex or RGB values.

Thanks Lawrence!!!

Please add your specs to your SIGNATURE.
Search the STUDIO ONE 4 ONLINE MANUAL. Access your MY.PRESONUS account.
OVERVIEW of how to get your issue fixed or the steps to create a SUPPORT TICKET.
Needs to include: 1) One Sentence Description 2) Expected Results 3) Actual Results 4) Steps to Reproduce.


Windows 10 Pro 64-bit (v1903: Build 18362.116), Studio One 4.5 Pro | Notion 6.5 | Universal Control v3.0.0.51747
Dell Inspiron 17 5770 (Intel Core i7-8550U 1.8 GHz, 4GB AMD Radeon 530 Graphics, 16GB RAM, Samsung 850 EVO 1TB SSD
StudioLive Series III 32 v2.0.15934
User avatar
by Lokeyfly on Sun Apr 21, 2019 11:19 am
Lawrence wrote: This is about as far down the proverbial rabbit hole as I intend to go with this little utility.


Nyaaa, whats up, doc? Plenty of carrots, and color here at Looney Tunes. Thanks for the recent shipment....chomp, chomp. ;)
Image

S1 Pro 4.5, Laptop: VAIO i7, 8 core, Win 7 64x. Audio Interface: Audiobox 22 VSL, Audiophile 192 PCI-e, Faderport 8, Controllers: Arturia Keylab 49 MkII, Novation SL25 MKII, Roland JV-90, Guitar controllers: Roland GR-50, Percussion controllers: Roland Octapad, Akai MPD-18. MIDI Patchbay: MOTU 8x8, Sampler: E-Mu ESI-32, Mixer: Yamaha Promix 01.

 My music

On Bandcamp

On YouTube
User avatar
by roland1 on Sun Apr 21, 2019 1:43 pm
Lawrence, what prevents this from being applied to console channels?

I don't know anything about coding at this level, so I'm assuming that some kind of barrier exists, or you would have already implemented this feature.

Just curious. And thanks again for this new script. Definitely useful and it's nice to be able to step outside of the default "EDM palette" for S14 (v3's palette was better, IMO).

I use: Studio One "Bug" Pro v4.51 & v3.56 on an i7 7700 win10 PC w16GB RAM and on a Mac Pro Tower (Sierra) w/RME & Focusrite interfaces.

When not loitering here, I can be found at: http://RolandK.ca

Attention all shoppers: deception and commerce are old friends. Ask questions; don't just nod and agree as expected.
[Unless it's "On sale" with a warning to "Hurry. Act now!" so you can also get a "FREE" [whatever] — what an awesome deal!]
User avatar
by Lawrence on Mon Apr 22, 2019 5:29 am
Instrument tracks and their related mixer channels are different objects in Studio One. Audio tracks and their corresponding mixer channels are always the same object. It works the same natively, if you color an instrument track that doesn't have some direct correlation or link to a mixer channel it doesn't apply there either.

I didn't want to complicate the workflow with an optional switch for coloring bus channels or VI multi-outs and all that. Wanted to keep it simple.

I am a little surprised by the level of reaction to this little simple tool. Maybe the mods should move it to the Tips and Tricks forum so it won't be cluttering up the user support discussions. (<-hindsight being 20/20 and all that)

User avatar
by roland1 on Mon Apr 22, 2019 2:20 pm
More than 1300 views: we must build a wall! :)

I use: Studio One "Bug" Pro v4.51 & v3.56 on an i7 7700 win10 PC w16GB RAM and on a Mac Pro Tower (Sierra) w/RME & Focusrite interfaces.

When not loitering here, I can be found at: http://RolandK.ca

Attention all shoppers: deception and commerce are old friends. Ask questions; don't just nod and agree as expected.
[Unless it's "On sale" with a warning to "Hurry. Act now!" so you can also get a "FREE" [whatever] — what an awesome deal!]

42 postsPage 2 of 3
1, 2, 3

Who is online

Users browsing this forum: howardbernstein and 7 guests