-
FFW
posted in technical issues • read moreIt maybe can work in message space if we start with a [bang~] to trigger the computation until it fill a 64b array and then play.
EDIT : Yes it does

-
-
FFW
posted in technical issues • read moreYou can even use a single
[tabread4~]to play the array twice throw the multichannel support.
Patch from the [tabread4~] help with a small modification:

-
FFW
posted in technical issues • read moreAnother possible algorithm:
- Fill a list with the samples, randomize it
- Drop the samples one by one, use it and fill another list
- When the first list is empty, switch with the second, randomize it and goto 2.
If you pick a random sample of the second list before the last of the first is consumed then you prevent repetition.
-
FFW
posted in technical issues • read moreHi,
You don't need the parent name if you use [iemguts/sendcanvas]. For an example see
https://forum.pdpatchrepo.info/topic/15118/tooltip-display-a-message-about-an-abstraction-in-its-parent -
-
-
FFW
posted in technical issues • read more@willblackhurst you generate the combinations but the main subject is the permutations I think.
EDIT: my two cents

perm4.pd -
FFW
posted in technical issues • read moreFYI I've played with dynamic display here https://forum.pdpatchrepo.info/topic/15118/tooltip-display-a-message-about-an-abstraction-in-its-parent/1
-
FFW
posted in technical issues • read moreThe Euclidean definition of the functions div and mod https://dl.acm.org/doi/10.1145/128861.128862
it is unfortunate that the definition of these functions appears to be
handled rather casually in the computer science literature and in the design
of programming languages, as one might infer from various poor “defini-
tional engineering” decisions down to wrong or erroneous definitions, as in
the ISO Standard for Pascal [11, 13], Algol 68 [201], and some other languages.In this paper we clarify the differences between the various definitions, in
particular those based on division by truncation (T-definition) and on division
by flooring (F-definition) as defined by Knuth [141]. We also propose still
another definition, which we call Euclidean because it is based on Euclid’s
theorem (E-definition).April 1992…
-
-
FFW
posted in technical issues • read more@Moothart @oid's patch with a different arrangement. Patch style is very personal, there is no accounting for taste.

-
FFW
posted in technical issues • read more@freq63 said:
What I find confusing is the fact that all 4 values are printed without issue separately before unpack.
separately is the word.
[unpack]get the values one (two) after each other so only its (two) first inlet(s) is (are) triggered. -
FFW
posted in technical issues • read moreThe messages come one by one (or two by two) so the
unpacknever get a 4 items list.You can accumulate the messages to 4 this way:

-
FFW
posted in technical issues • read moreThis 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
posted in technical issues • read more- Do not split the control flow without
[trigger] - Why don't you use
[until]?

- Do not split the control flow without
-
FFW
posted in technical issues • read moreI think it's easier to dynamically upgrade the variable name with the [list prepend] right inlet.
-
FFW
posted in technical issues • read more[netsend]help for the[send(message says "same as list" so you can also do[hslider] | [list prepend z] | [netsend] -
-
FFW
posted in technical issues • read more@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…




