Jump to content


Photo

New Tool (2.8): Autocolors


  • Please log in to reply
20 replies to this topic

#1 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 11 March 2012 - 21:42

Observes track names and automatically assigns colors to tracks by predefined filter rules.
It's comparable to Reapers SWS auto color extension. How it works is best explained by example:

E.g. filter is: kick, snare, hihat, drums -> color red
E.g. filter is: synth[0-9], lead -> color green

Now, if any track name contains the string "snare". E.g. snare1, softsnare,hardsnare,... it's color will automatically be changed to red. Beside this very simple filter, it's also possible to define multiple filters using more complex filter strings that may include wildcards / regular expressions. For more details have a look at the PDF manual.

Renoise Tool Link:
http://renoise.com/tools/autocolors

Latest version:
http://code.google.c...nn-mixing-tools

History:
v1.01 initial release
v1.02 fixes midi binding

Edited by Airmann, 12 March 2012 - 03:08.

  • ffx, KMaki and Meef Chaloin like this

#2 rhowaldt

rhowaldt

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2259 posts
  • Gender:Male
  • Location:The Hague, Netherlands

Posted 11 March 2012 - 22:41

that sounds really cool! no link in the thread? or is it just up on the tools-website?

specs: [cpu] AMD Turion64 X2 TL-56 1.80 Ghz [ram] 2Gb DDR2 [audio] Realtek HD [os] Win7 x86
gear: cheap-ass no-functions-whatsoever midi-keyboard, Zoom H4 recorder, MeeBlip
home: http://www.roaldblijleven.net (forever under construction)
renoise: http://roald.exul.nl...oise/cheatsheet
music: http://soundcloud.com/rhowaldt

#3 f+d+k

f+d+k

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 716 posts
  • Gender:Not Telling
  • Location:On Land
  • Interests:고추장

Posted 12 March 2012 - 00:04

Great tool!

It's late at night, maybe not the best time to test some regexps - but do I have to use quotes when using blanks?

I tried:
add:^dr .*$
expecting to have all tracks with a "dr " prefix to change to the same colour, but then *all* tracks changed.
The track where I applied the rule is now named ".*$", so this seems to be the regexp which was used...

#4 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 12 March 2012 - 02:50

Great tool!

It's late at night, maybe not the best time to test some regexps - but do I have to use quotes when using blanks?

I tried:

add:^dr .*$
expecting to have all tracks with a "dr " prefix to change to the same colour, but then *all* tracks changed.
The track where I applied the rule is now named ".*$", so this seems to be the regexp which was used...


Hey thanks for the positive feedback, always appreciated :-).

The problem is the whitespace which functions beside , as delimiter, so your command is interpreted as: color = ^dr or .*$
.*$ stands for everything, so all tracks have the same color.

Guess I should remove space as second delimiter. I added it because it's so easy to enter something like: add:hat cymbal snare insteas of: add:hat,cymbal,snare. But obviously it causes other problems and it's therefore not so clever. Guess I'll remove it in the next release.

As a workaround you can use: add:^dr%s.*$

Edited by Airmann, 12 March 2012 - 03:09.


#5 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 12 March 2012 - 03:09

that sounds really cool! no link in the thread? or is it just up on the tools-website?


Thanks for the hint. Added link to Renoise Tool catalogue and the bleeding edge Google code repository.

#6 f+d+k

f+d+k

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 716 posts
  • Gender:Not Telling
  • Location:On Land
  • Interests:고추장

Posted 12 March 2012 - 08:40

Guess I should remove space as second delimiter. I added it because it's so easy to enter something like: add:hat cymbal snare insteas of: add:hat,cymbal,snare. But obviously it causes other problems and it's therefore not so clever. Guess I'll remove it in the next release.

Yeah, I can see the convenience. I simply assumed I can use any old regular expression, being unaware of the possibility to add more than one at the same time, so I happily used the blank. One of the rare cases I didn't RTFM. ;)

As a workaround you can use: add:^dr%s.*$

Thanks for the workaround suggestion. Actually, I don't name my tracks in such a consistent fashion, but probably will start doing so with your tool. :thumbsup:

#7 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 12 March 2012 - 09:00

Yeah, I can see the convenience. I simply assumed I can use any old regular expression, being unaware of the possibility to add more than one at the same time, so I happily used the blank. One of the rare cases I didn't RTFM. ;)

Thanks for the workaround suggestion. Actually, I don't name my tracks in such a consistent fashion, but probably will start doing so with your tool. :thumbsup:


well, yes I'm the impatient guy so I seldom read the fine manuals ^^ - mostly it would help, though.
Maybe I'll move the delimiter list into config.xml for next release. So everybody can decide by oneself.

Another hint for using the tool - maybe you've found out already: there's a dialog window which shows the currently installed filters.

BTW: do you have a forum thread for ReNoam ?

#8 f+d+k

f+d+k

    Big Super GrandMasta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPip
  • 716 posts
  • Gender:Not Telling
  • Location:On Land
  • Interests:고추장

Posted 13 March 2012 - 11:05

Maybe I'll move the delimiter list into config.xml for next release. So everybody can decide by oneself.

That would be cool!

BTW: do you have a forum thread for ReNoam ?

Not linked from the new tools system yet, but here it is: http://forum.renoise...tool-28-renoam/

(You suggested an update function and also using sections as terminal symbols, right? Didn't have much time lately, but I hope I will be back on the track soon.)

Edit: Just noticed it's already linked, thanks web admin!

Edited by f+d+k, 13 March 2012 - 11:19.


#9 KMaki

KMaki

    Big Super Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPip
  • 672 posts
  • Gender:Male
  • Location:Tampere, Finland
  • Interests:Survival (e.g. breathing). Small scale renoise-tool-coding. The Melvins. Absurdity of it all. Zen / Not-zen. Wifey&Kids.

Posted 07 August 2012 - 21:07

Just noticed this tool. Brilliant. Thanks!!
Renoise (2.6->) 2.8 / Mac mini 2010 - 2.66GHz Intel Core 2 Duo - 4 Gb 1067 MHz DDR3 / OS X 10.8 / M-Audio Fast Track USB

#10 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 08 August 2012 - 05:01

Just noticed this tool. Brilliant. Thanks!!


Hey,
thanks, you're welcome man :-)

BTW @ ALL: I noticed a bug when a new song is loaded. Things doesn't work as expected I fear.
I'll fix this ASAP - after my vacation

Edited by Airmann, 08 August 2012 - 05:01.


#11 KMaki

KMaki

    Big Super Masta Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPip
  • 672 posts
  • Gender:Male
  • Location:Tampere, Finland
  • Interests:Survival (e.g. breathing). Small scale renoise-tool-coding. The Melvins. Absurdity of it all. Zen / Not-zen. Wifey&Kids.

Posted 08 August 2012 - 08:29

BTW @ ALL: I noticed a bug when a new song is loaded. Things doesn't work as expected I fear.
I'll fix this ASAP - after my vacation

No problems here. Good it's being maintained properly.
Hey, I havent gone into the entrails of this tool, so can't really tell if this would be possible, but... Feature request: if a track color changes, check name against filters, update tracks in the filter the track belongs automatically? The upd: works all right with normal stuff, but when dealing with regular expressions, one must retype the regexp every time the filter color needs updating... Would be a sweet addition, but maybe could make stuff complicated.
Renoise (2.6->) 2.8 / Mac mini 2010 - 2.66GHz Intel Core 2 Duo - 4 Gb 1067 MHz DDR3 / OS X 10.8 / M-Audio Fast Track USB

#12 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 08 August 2012 - 17:25

No problems here. Good it's being maintained properly.
Hey, I havent gone into the entrails of this tool, so can't really tell if this would be possible, but... Feature request: if a track color changes, check name against filters, update tracks in the filter the track belongs automatically? The upd: works all right with normal stuff, but when dealing with regular expressions, one must retype the regexp every time the filter color needs updating... Would be a sweet addition, but maybe could make stuff complicated.


that's really an interesting idea. I'll think about it, maybe I could include such behaviour as an optional feature.
When fixing the bug(s) I'll have a look at it.

Thanks for feedback, always appreciated

#13 D-GONZ

D-GONZ

    New Member

  • Normal Members
  • Pip
  • 8 posts
  • Gender:Male

Posted 27 October 2012 - 12:19

It was uploaded on my birthday haha. I just downloaded it.
I am the 'techno' amateur also known as
Posted Image
http://d-gonz.bandcamp.com/

#14 servous

servous

    Member

  • Normal Members
  • PipPip
  • 28 posts
  • Gender:Male
  • Location:Sweden

Posted 30 August 2014 - 21:18

Has the development of this tool halted?

 

I like this tool. I like to color code my tracks according to what kind character the content have.

 

But there is one thing which kind of annoys me and that is that when loading up a song the regexp is executed even though there may not be any changes made to the colors since it last was saved.  This causes the "Save changes?"-dialog to appear when closing or loading up a new song. Meaning that this dialog will show up everytime you close or load a song.

 

Unfortunately I don't have any Lua skills to make neccessary changes myself.



#15 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 30 August 2014 - 23:30

Hey thanks servous for feedback.

 

Development hasn't really stopped, means right now I'm not working on new features, but bugs are fixed and compatibility for newer Renoise versions shall be maintained.

You are the first one reporting this behaviour and I'll have a look at it. May I ask which Renoise version do you use ?



#16 servous

servous

    Member

  • Normal Members
  • PipPip
  • 28 posts
  • Gender:Male
  • Location:Sweden

Posted 30 August 2014 - 23:45

Hi!

 

I'm on Renoise 3.0.

 

Maybe a check if current colors/regexp in loaded song are identical to the ones saved, and if so not actually executing the regexp and applying the colors.



#17 Meef Chaloin

Meef Chaloin

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 466 posts
  • Gender:Male

Posted 24 February 2015 - 06:05

Is there a way to edit an existing filter, or add to it? The only way I can see is to remove it and add again with the new values.



#18 pat

pat

    Big Daddy Member

  • Normal Members
  • PipPipPipPipPipPipPip
  • 435 posts
  • Gender:Male

Posted 23 April 2015 - 23:29

this tool is so awesome!! I first installed it a long time ago but hadn't read the documentation and had no idea how to use it... and it crashed a couple times on me.

 

Well, I took a look at it again today, and it took me a few minutes to work it out but I'm glad I did. If you don't use this tool, definitely check it out. It's sweet!!



#19 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2871 posts
  • Gender:Not Telling
  • Interests:Renoise sidechaining, macOS fanboying

Posted 28 August 2016 - 12:15

Is it possible that you add a simple prefs.xml text view editor and move the tool entry to the tools menu?

 

Really nice tool, and smart way to reuse the color pickers of Renoise :)


Edited by ffx, 28 August 2016 - 12:16.

MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)


#20 ffx

ffx

    Guruh Motha Fakka is Levitating and Knows Everything About Renoise Member

  • Normal Members
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • 2871 posts
  • Gender:Not Telling
  • Interests:Renoise sidechaining, macOS fanboying

Posted 31 August 2016 - 17:25

BUG BUG BUG !

 

Appeared in a song with only one send track, after I deleted that send track:

'/Users/Ju/Library/Preferences/Renoise/V3.1.0/Scripts/Tools/de.airmann.AutoColors.xrnx/main.lua' failed in one of its notifiers.The notifier will be disabled to prevent further errors.


Please contact the author (Matthias Ehrmann [airmann_pub@online.de]) for assistance...


./AutoColors.lua:163: attempt to index local 'track' (a nil value)
stack traceback:
  ./AutoColors.lua:163: in function 'remove_track_name_changed_notifier'
  ./AutoColors.lua:206: in function <./AutoColors.lua:195>

MacOS 10.12.6 Retina, Renoise 3.1 64 bit   -   Tuned Shortcuts | Multi-Jump From/To Send | Quick Template | Insert Native DSP Menu (incl. deprecated)


#21 Airmann

Airmann

    Big GrandDaddy Member

  • Normal Members
  • PipPipPipPipPipPipPipPip
  • 478 posts
  • Gender:Male
  • Location:Germany
  • Interests:dnb, production, mixing, mastering, sound design, developing

Posted 09 January 2017 - 02:30

Thanks for bug report. I changed my email adress lately. So I noticed just right now.