🔥 Lifetime deal! Get Control Surface Studio for Just £67 👉 Click Here To Get It
Time left... mailtimers.com
⚠️ Lifetime licenses are ending soon, get yours before they're gone ⚠️
Your shopping cart is empty.

Tempo led feedback to the play button

Submitted by danicroitor on Sat, 08/03/2019 - 15:59
danicroitor
Pro User
Control Surface Studio User

Is there anyway for the play button to blink according to the tempo?

Does anyone knows if this is possible and how to do it?

Topic Category: 

11 Responses

Comments

danicroitor
Pro User
#1

up! ?

danicroitor
Pro User
#2

John, any changes that you'll give me a hand here? :)
I'll much appreciate it

danicroitor
Pro User
#3

up

JohnC
Forum Admin
#4

Hey, sorry I missed this one.
I did look into it when you originally posted, the problem was (if I remember right), I couldn't find something which could be used for sending off/on led feedback values. I think I tried using 'current song time' which will fire continuously when playback is active but from that I would still need a way to decide if on or off should be sent and the value it gives me needs more investigation.

danicroitor
Pro User
#5

Hi John,
Thanks a lot for taking the time loking into this.

From what I care, the "blinking led feedback" could be on always.

An Idea would be that it changes color regarding the pay or stop status.

JohnC
Forum Admin
#6

Oh, you wouldn't want it to flash in sync with the tempo?

Seth
Control Surface Studio User
#7

I have solved this by creating a custom MAX4Live device that count's out the beats in sync with lives transport. It also displays a zero exactly half way through each beat to enable proper LED flashing:
i.e. 1,0,2,0,3,0,4,0

It works with any time signature / tempo, In CSS I have just assigned "1" to red and any number > 1 to Blue. So the first beat of the bar flashes red and the rest flash blue.

Let me know if of interest and i'll upload.

Seth
Control Surface Studio User
#8

Thought I'd upload anyway in case anyone stumbles across this thread:

https://maxforlive.com/library/device/8024/tempo-led-feedback

Wim
Control Surface Studio User
#9

Hi Seth,
Thank you for your contributions! This is awesome!
So cool you can make this happen I haven't tried it out yet, but I will sooner or later ;-)
Respect!

haschtl
Control Surface Studio User
#10

You can also use
self.song().get_current_beats_song_time().beats
It counts 1,2,3,4 (no zeros like with Seth's solution)

I've attached it to a listener to "current_song_time" and send it via Midi to my device.
I used https://nsuspray.github.io/Live_API_Doc/ to find this value, it's a good resource also for Control Surface Studio!

haschtl
Control Surface Studio User
#11

Addition:
With some conditioning in Control Surface Studio it is possible to create the "blinking" effect with a condition like "int(self.song().current_song_time*2)%2==0" to set the number and the opposite to turn it off.