All times are UTC

 
 



Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: Clips color_index about to be replaced - do you use it?
PostPosted: Thu Oct 15, 2009 4:01 pm 

Joined: Mon Jun 28, 2004 6:55 am
Posts: 353
Location: Ableton Headquarter
Using live.object you could ask the clip for its "color_index",
currently a number between 0 and 59. You could also set it.

The problem with this property is that it exposes too many
implementation details of Live which are about to change.
Also, there was no way get the actual RGB color value.

Therefore we are going to replace that property by a "color"
property which returns the actual RGB value combined into an integer.
The "color" property will not be settable for now.

Let me know what you think!

Ralf

_________________
Ralf Suckow
suckow@ableton.com


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Thu Oct 15, 2009 4:47 pm 

Joined: Tue Jun 15, 2004 6:40 pm
Posts: 12960
Location: Belgium
This would break some patches designed for the Lemur, Iphone and other devices that rely on the API hack (Sysex and LiveOSC).

On the other hand, I agree the color index isn't much use. The parsing of the index number to the RGB values takes up more memory than it should. As you actually have to store the values either in a Max patch, Lemur script or whatever other method you use.
Are you using the same method as the Lemur for getting the RGB value into 1 integer? ((R x 2^16) + (G x 2^8) + B)

_________________
Image
All Live Packs 25% off - Tips and Tricks - Tutorials - Max Patches


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Thu Oct 15, 2009 6:48 pm 

Joined: Sat Dec 15, 2001 11:46 am
Posts: 1490
Location: ableton
I found it very useful to set the Clip colors by a max patch but if "for now" means it will be possible
in the not so distant future....it´s fine with me.

Christian

_________________
support@ableton.com


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Thu Oct 15, 2009 10:14 pm 

Joined: Wed May 17, 2006 1:18 am
Posts: 415
well, the not settable part kinda sucks. i do not use it now, but that would have been a finishing touch sort of detail later for a few patches i want to make. not to look a gift horse in the mouth, but i don't see too much use for getting the color.

the RGB value would/will be a much better number to work with though.


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 7:30 am 

Joined: Thu Sep 17, 2009 3:50 pm
Posts: 166
Location: Berlin
I use live.color to get the colors which is enough for me.
Setting the colors from a device is not a good idea anyway...

_________________
Les Ondes Mémorielles-----x---
--____-----------|----------|----
--(_|_ ----|\-----|-----()--------
-- _|_)----|-----()---------------
----------()----------TJ Shredder


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 7:44 am 

Joined: Mon Jun 28, 2004 6:55 am
Posts: 353
Location: Ableton Headquarter
stefan-tiedje wrote:
I use live.color to get the colors which is enough for me.

OK.

Quote:
Setting the colors from a device is not a good idea anyway...


You never know what the users are going to do with all that.
I mean, many will think as you do, and some applications will
expose bad style, but we cannot exclude that there are valid
applications possible, can we? :)

The question is just what the priorities are.

_________________
Ralf Suckow
suckow@ableton.com


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 9:37 am 

Joined: Thu Sep 17, 2009 3:50 pm
Posts: 166
Location: Berlin
Ralf wrote:
You never know what the users are going to do with all that.


I'd probably create a device called "best sound ever" which just scrambles all skin colors in a rapid way and leave it all white if you close Live. Next time Live is opened you get a white screen and nothing to see...;-)

Yes I think it would be bad style to change user preferences from within a device, but if its done carefully and reseting the original settings on closing, it could open for some fun uses. Maybe it is possible to protect automatically the user preferences after closing such a session. Maybe thats already the case...

Stefan

_________________
Les Ondes Mémorielles-----x---
--____-----------|----------|----
--(_|_ ----|\-----|-----()--------
-- _|_)----|-----()---------------
----------()----------TJ Shredder


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 10:24 am 

Joined: Mon Jun 28, 2004 6:55 am
Posts: 353
Location: Ableton Headquarter
stefan-tiedje wrote:
Yes I think it would be bad style to change user preferences from within a device, but if its done carefully and reseting the original settings on closing, it could open for some fun uses. Maybe it is possible to protect automatically the user preferences after closing such a session. Maybe thats already the case...
Stefan


Ahh, here's the misunderstanding. We are not going to change the preferences.
We would like to allow the user to set a particular clip (or scene) to the
index from preferences with the nearest color (RGB) to the one requested by the user.

_________________
Ralf Suckow
suckow@ableton.com


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 10:26 am 

Joined: Mon Jun 28, 2004 6:55 am
Posts: 353
Location: Ableton Headquarter
hoffman2k wrote:
Are you using the same method as the Lemur for getting the RGB value into 1 integer? ((R x 2^16) + (G x 2^8) + B)


Yes, AFAIK. If not, we should modify it to behave this way.

_________________
Ralf Suckow
suckow@ableton.com


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 1:04 pm 

Joined: Tue Feb 20, 2007 11:10 pm
Posts: 6117
it'd be cool to be able to set colors as well...
but not a prioprity for me..
not as essential as some other stuff..
(like a flag to enable sysex input..)
I guess this is true for all 'visible' parameters in live..
I would def rather be able to control them...than not

_________________
Image


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 1:16 pm 

Joined: Tue Jun 15, 2004 6:40 pm
Posts: 12960
Location: Belgium
3dot... wrote:
(like a flag to enable sysex input..)


We really need to crack our heads on that Remote Control Surface stuff. It literally has a function called "handle_sysex".
All we really need is to know how. I bugged the people in the know of this a little too much. I've been told its coming soon.
All I've been able to do with that stuff so far is lock/unlock devices.
I reckon what we're missing is an actual script to select in preferences.

_________________
Image
All Live Packs 25% off - Tips and Tricks - Tutorials - Max Patches


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Fri Oct 16, 2009 5:11 pm 

Joined: Tue Feb 20, 2007 11:10 pm
Posts: 6117
hoffman2k wrote:
3dot... wrote:
(like a flag to enable sysex input..)


We really need to crack our heads on that Remote Control Surface stuff. It literally has a function called "handle_sysex".
All we really need is to know how. I bugged the people in the know of this a little too much. I've been told its coming soon.
All I've been able to do with that stuff so far is lock/unlock devices.
I reckon what we're missing is an actual script to select in preferences.

yep... I've been too busy this week to even open Live at home..
so I'll also try and research the remote thingie this weekend...
but if they said it's coming... then there's hope I guess...
I also found out that Jitter isn't crashing my system anymore...
so I'm gonna dedicate some time to that as well (!)
this M4L stuff is very exciting..

_________________
Image


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Sun Oct 18, 2009 1:56 am 

Joined: Thu Jun 23, 2005 9:06 pm
Posts: 5738
Location: Amsterdam, Netherlands
I think setting a clip's colour is useful, you never have too much feedback.
A clip could for example change from dark blue to bright blue to indicate it is playing, which would be clearer on a dim lit stage than just its play arrow.


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Sun Oct 18, 2009 3:06 am 

Joined: Thu Nov 08, 2007 6:52 am
Posts: 85
Umm, I haven't managed to figure out a ton of stuff with max so far, but in terms of what use setting color would be (for me, and perhaps other dj's) would be using it to indicate a track's played state for a dj set. Any color for unplayed, red after play?

S

_________________
http://www.semuta.com
m1330 : XPSP2 : Ableton Suite 8 : Maschine : Traktor Pro : MPC1000 JJOS2XL : MachineDrum MkII
FB: http://profile.to/semuta/


Top
 Profile  
 
 Post subject: Re: Clips color_index about to be replaced - do you use it?
PostPosted: Thu Oct 22, 2009 8:58 am 

Joined: Tue Nov 16, 2004 6:27 pm
Posts: 1585
Location: Here and There
Being able to change clip color is pretty important for me. i have a patch which changes all of the clips in the selected scene white ( because who can actually visibly tell which clips are selected?) then when i change scenes it puts the proper colors back...
So, this is temporary while you good people update the code?

You had to of figured some idiot out there was going to be using this esoteric feature :P

also, scene color would be nice as well...

_________________
[url=http://www.trackteamaudio.com] Image
drum.crate - Vinyl Inspired Drum Racks, Articulations, and sequences for Live 7[/url]


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 18 posts ]  Go to page 1, 2  Next

All times are UTC

 
 

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

Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group