Page 1 of 2
Questions / Things of green
Posted: Tue Oct 24, 2023 4:12 pm
by R&R
I crack myself up
Here's a kind of a unnecessarily elaborate latch switch logic, using counters. But can be used with simplest trigger buttons. Doesn't cause loopback so state can be set directly. Might be useful to someone even if it's a bit funny...
Edit:
LOL have to make a proper one, since I have to doubleclick the changed knob twice...
Re: Question about green
Posted: Tue Oct 24, 2023 4:18 pm
by R&R
And with that...
Here's a question for the real coders:

- Justified_when_is_the_question.jpg (53.34 KiB) Viewed 167817 times
This will stop sending trigger halfway of a knob.
I block triggers this way when I use like... log10 and some "power" operations afterwards, that aren't needed for half knob turn... this seems justified.
But how much green does one really need afterwards to justify this, and the constant overhead of running it?
Log, power, or a whole bunch of divisions maybe?
Re: Question about green
Posted: Tue Oct 24, 2023 7:10 pm
by R&R
Aaaaaw...
The capitulation version simply using the buttons Ruby box to store value/state as usual instead.
Anyone more clever than me (setting the bar real low here people

) know how to do this latch without storing button states in Ruby box, and yet allowing for loopback?
Re: Question about green
Posted: Fri Nov 03, 2023 3:03 pm
by R&R
Hmmm...
The Alpha thinks this is a problem, but old FS does not...

- Loop.jpg (127.64 KiB) Viewed 167627 times
So the logic would be that update to the list cases a trigger in the Dropdown prim outputs. But this isn't an issue with old FS?
Re: Question about green
Posted: Fri Nov 03, 2023 3:42 pm
by R&R
R&R wrote:The Alpha thinks this is a problem, but old FS does not...
Easily fixed with a S&H... But clearly a difference between FS4 and old FS.

- Loop_no_more.jpg (124.01 KiB) Viewed 167623 times
Re: Questions / Things of green
Posted: Sat Nov 04, 2023 7:05 pm
by R&R
Guessing this is the only easy way of getting last played (midi received) note's velocity in green?
Re: Questions / Things of green
Posted: Sun Nov 05, 2023 3:05 pm
by martinvicanek
Here is an alternative (FS User Guide p.219f):

- MIDI_velocity.png (14.65 KiB) Viewed 167389 times
(Note: To avoid confusion: The MIDI message displayed in the lower Ruby panel (Quick Watch) is
not a "note on" but a "note off" message, hence the different velocities.
Note On: 93 (green output)
Note Off: 19 (lower Ruby panel)
I could not manage to sustain the note while taking the screenshot.

)
Re: Questions / Things of green
Posted: Sun Nov 05, 2023 4:24 pm
by R&R
martinvicanek wrote:Here is an alternative (FS User Guide p.219f):

That's definately more neat, code-wise...
Wonder if Maik has hidden any treats in the Voice-type stream, thats not available...

or if it's just not implemented at all under the hood
Hmmm, along those lines... some poly stream values that could be passed along each stream would have been practical. Maybe i'm just unaware if there already is such a thing in FS.
Might have been to costly on the CPU perhaps...
Re: Questions / Things of green
Posted: Wed Nov 08, 2023 4:05 pm
by R&R
R&R wrote:Hmmm, along those lines... some poly stream values that could be passed along each stream would have been practical. Maybe i'm just unaware if there already is such a thing in FS.
Might have been to costly on the CPU perhaps...
Not a green question. Breaking my own topic

- Poly_bus.jpg (75.7 KiB) Viewed 167194 times
I'm so slow
Could just sacrifice resources by using more Poly's and filter out by Id, or perhaps by any other arbitrary value I guess...?
Anyone used an "early in schematic bus creation" type of scheme in elaborate more global way in any of your FS plugins?
Re: Questions / Things of green
Posted: Sun Jun 02, 2024 6:10 pm
by R&R
Just a simple interval indicator for my synths P3C knob later on.
Trivial and has surely been done a million times... probably just as many times better
Unnecessary amount of greens perhaps. I'm just to lazy...

- Knob.jpg (9.47 KiB) Viewed 138475 times
Might be useful to someone else.
Can be used as a regular marker or modulation indicator for knobs if steps are increased a bit. Redraws are limited to the integer change.