Signature
Work in progress : FCPD a FreeCAD PureData connexion
-
FFW
This is your triggerized patch:
You can see the right branch is triggered before the top-most
[t f f]
feeds the[pack]
so the numbers are all generated by the loop before they was printed.
EDIT: you stack computation branch and they are released deepest to shallowest so numbers are reverted. -
FFW
- Do not split the control flow without
[trigger]
- Why don't you use
[until]
?
- Do not split the control flow without
-
FFW
I think it's easier to dynamically upgrade the variable name with the [list prepend] right inlet.
-
FFW
[netsend]
help for the[send(
message says "same as list" so you can also do[hslider] | [list prepend z] | [netsend]
-
-
FFW
@fishcrystals said:
//these magic functions let us send human readable info to pure data void fudiStart(){ Serial.write(108); //Fudi Serial.write(105); //Fudi Serial.write(115); //Fudi Serial.write(116); //Fudi Serial.write(32); //Fudi } void fudiEnd(){ Serial.write(59); //Fudi Serial.write(10); //Fudi }
Could be:
//these magic functions let us send human readable info to pure data void fudiStart(){ Serial.print("list "); } void fudiEnd(){ Serial.print(" ;"); }
and become not-so-magic…
-
FFW
@jameslo If you have to restart the phasor at the state it stops you can follow your first idea and stop it at a specified moment, save the state and later restore and relaunch. What I propose is to only allow the phasor to stop at specific states (e.g. every 0.0001) so it's easier to save. When the stop is required the phasor will wait to reach an allowed state and then stop. So the stop time is fuzzy but the state is clear and clean.
I've no idea if and how it can be implemented or if it follow your requirement.
-
FFW
If you can't know the state of the phasor at a given stop time maybe you can stop it at a specified state and so transfer the incertitude to the stop time. It can be a solution, depending on what you need.
-