-
echoes
hello,
i had a patch that up until yesterday had a working udpsend object.
today i woke up and it crashed any time i sent something like
[send /some/message localhost 999(
|
[packOSC]
|
[udpsend]that worked fine yesterday
how can i generate a crash log for a bug report? there's no documentation i can find on how to do it.
-
echoes
hi,
i'm trying to compile iemmatrix-0.2 on osx. I run bootstrap and
./configure --with-pd=/Applications/Pd-extended.app/Contents/Resources/
followed by make, which gives
mtx_dispersive_dline.c:144:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static allpass_chain_cycle (t_float x, t_float *y, t_float *z, int n, t_float a) { mtx_dispersive_dline.c:154:1: warning: control reaches end of non-void function [-Wreturn-type] mtx_dispersive_dline.c:156:8: warning: type specifier missing, defaults to 'int' [-Wimplicit-int] static mtx_dispersive_dline_matrix(t_mtx_dispersive_dline *x, t_symbol *s, mtx_dispersive_dline.c:166:6: error: non-void function 'mtx_dispersive_dline_matrix' should return a value [-Wreturn-type] return;
Additionally, is there a GUI library for representing an n x n matrix in the style of toggles, or should I build that myself? I'd rather not make arbitrary matrices from bangs or toggles.
-
echoes
Hi! pd is cool. I'm having some trouble implementing my first patch taking as input the name of a musical scale as a message, i.e.
[wholetone(
|
[scalegen]
|
[print]I take a message as input and look up the name in a [s-map] external i found on the mailing list.
The s-map stores step patterns such as
... set diatonic 2 2 1 2 2 2 1, ...Using this step pattern and an offset, I want to calculate the distance from a tonic pitch "0" of each scale note, i.e. for C Ionian:
C D E F G A B C ...
-2-2-1-2-2-2-1-...should result in the final output:
0 2 4 5 7 9 13 14The reason I am doing things this way is because based on the mode of a scale, the addition steps may result in different patterns, i.e. for C Dorian:
0 1 3 5 7 9 10 12To this end, my strategy is:
(0) Begin with a temporary integer 0,
(1) Get the first element of the list,
(2) add this to the temporary integer, andthe result,
(3) Get the second element of the list,
(4) Go to (2) unless we reach the end of the list. Then, output the resulting list.I want to be able to do this for arbitrary step patterns and scale sizes, but right now, I can't wrap my head around using "until" as what is basically a for loop.
Additionally, I think my triggering order is incorrect, and I don't understand how I can continually append to list without resetting it with each iteration.
An advice would be hugely appreciated! Thanks!
-
echoes
i'm looking for an object like [grid] that gives a graphical representation of a (binary) matrix with selectable boxes, like toggles instead of the (x, y) coordinate point in [grid]. ideally, the object can both send and receive a position.
this can be done with a group of toggles, but i'd prefer not to route 512 toggles by hand, and i would like the flexibility to regenerate a different-sized grid with some creation arguments or inlets.
does such an element exist? would i need to write my own?
-
-
echoes
Well, I feel green. This is perfect, thank you!
[edit]
|
[Here's a small update to the above which outputs only the final result(
|
[print] -
echoes
Well, I feel green. This is perfect, thank you!
[edit]
|
[Here's a small update to the above which outputs only the final result(
|
[print]