Questions / Things of green

For general discussion related FlowStone
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Questions / Things of green

Post by R&R »

I crack myself up :lol:

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...
Attachments
Spaghetti_green_latch_logic.fsm
(1.03 KiB) Downloaded 2939 times
Last edited by R&R on Sat Nov 04, 2023 6:55 pm, edited 3 times in total.
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Question about green

Post by R&R »

And with that...

Here's a question for the real coders:
Justified_when_is_the_question.jpg
Justified_when_is_the_question.jpg (53.34 KiB) Viewed 167740 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?
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Question about green

Post by R&R »

Aaaaaw... :lol: :lol: :lol:

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 :D) know how to do this latch without storing button states in Ruby box, and yet allowing for loopback?
Attachments
Ruby_Green_latch_logic.fsm
(869 Bytes) Downloaded 2866 times
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Question about green

Post by R&R »

Hmmm... :?

The Alpha thinks this is a problem, but old FS does not...
Loop.jpg
Loop.jpg (127.64 KiB) Viewed 167550 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?
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Question about green

Post 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
Loop_no_more.jpg (124.01 KiB) Viewed 167546 times
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Questions / Things of green

Post by R&R »

Guessing this is the only easy way of getting last played (midi received) note's velocity in green?
Attachments
Split_velocity.fsm
(10.44 KiB) Downloaded 2668 times
User avatar
martinvicanek
Posts: 1334
Joined: Sat Jun 22, 2013 8:28 pm

Re: Questions / Things of green

Post by martinvicanek »

Here is an alternative (FS User Guide p.219f):
MIDI_velocity.png
MIDI_velocity.png (14.65 KiB) Viewed 167312 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. :mrgreen: )
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Questions / Things of green

Post by R&R »

martinvicanek wrote:Here is an alternative (FS User Guide p.219f):
8-) 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...
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Questions / Things of green

Post 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 :roll:
Poly_bus.jpg
Poly_bus.jpg (75.7 KiB) Viewed 167117 times
I'm so slow :oops: :roll: :lol:
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?
R&R
Posts: 474
Joined: Fri Jul 15, 2022 2:28 pm
Contact:

Re: Questions / Things of green

Post 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 :D

Unnecessary amount of greens perhaps. I'm just to lazy...
Knob.jpg
Knob.jpg (9.47 KiB) Viewed 138398 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.
Attachments
Interval_indicator.fsm
(7.82 KiB) Downloaded 1257 times
Post Reply