hi list,
although i've searched a bit, i cannot find exts/libs for some stuff i will need in near future. before writing them on my own, i'ld like to ask the list if some of it is allready built:
string operations (on symbols) like strcat, strstr, ...
spatializing stereo sound like EAX
timing like smpte(?) or hw clock or ...
thanks in advance, martin
martin pi attacksyour.net/pi
johann strauss gasse 32 | 7 1040 vienna ++43 699 10 44 37 42
sil.at
hi,
'strcat' used to be somewhere in gem, also zexy/makesymbol is, in a way, a multi-strcat.
If you do not mind becoming an alpha tester, I have just recently cloned most of the standard max string/symbol-handling classes (sprintf, spell, match, to/fromsymbol) -- [sprintf] object would do for strcat() and more, while strstr() functionality could be emulated with something like:
<symbol>->[spell]->[match]->[thresh]->[sprintf %c%c%c...]->[tosymbol] <pattern>->[spell]->[thresh]->[prepend set]->[<the match above>]
Btw, does anybody know of a max version which would handle a sprintf's 'symout' argument according to the reference manual?
Btw, I would be glad to know about any externals handling smpte code as well...
rzsz
martin pi wrote: ...
future. before writing them on my own, i'ld like to ask the list if some of it is allready built:
- string operations (on symbols) like strcat, strstr, ...
...
- timing like smpte(?) or hw clock or ...
Btw, I would be glad to know about any externals handling smpte code as well...
hi -
first attempt to build an smpte external. functionality is not very big yet and i do not really know if this helps anyone except myself.
if the attachement is to big for the list, the file may be found at
the only object in the lib is called "smpte". if you look at the code, you see how dumb it is.
martin
martin pi attacksyour.net/pi
johann strauss gasse 32 | 7 1040 vienna ++43 699 10 44 37 42
sil.at
Hi,
at http://www.akustische-kunst.de/puredata/experimental/ one can find an external that outputs smtp as numbers for h, m, s, & f, as symbol (hh:mm:ss:ff) and as midi timecode (MTC). That's why it's called 'mtc'.
It should be possible to direct it using a joystick under windows: holding one firer button down and pressing the other results in one step foreward, doing it the other way round results in backwards transport... this was intended to connect to my film projector but Pd seems to be too slow to check the state of the 'fire buttons' (which actually are reed contacts in the projector) every few ms. That's why I couldn't check the correctness of the MIDI output. Maybe the code is usefull for someone...
Olaf
martin pi schrieb:
Btw, I would be glad to know about any externals handling smpte code as well...
hi -
first attempt to build an smpte external. functionality is not very big yet and i do not really know if this helps anyone except myself.
if the attachement is to big for the list, the file may be found at
the only object in the lib is called "smpte". if you look at the code, you see how dumb it is.
martin
martin pi attacksyour.net/pi
johann strauss gasse 32 | 7 1040 vienna ++43 699 10 44 37 42
sil.at
Name: eth0_tul.tar.gz
eth0_tul.tar.gz Type: Unix Tape Archive (application/x-tar) Encoding: BASE64
hi again,
sorry about sending this crap in a hurry:
Krzysztof Czaja wrote: ...
do for strcat() and more, while strstr() functionality could be emulated with something like:
<symbol>->[spell]->[match]->[thresh]->[sprintf %c%c%c...]->[tosymbol] <pattern>->[spell]->[thresh]->[prepend set]->[<the match above>]
A better solution is attached, but, it is probably too bloated for an ipaq, anyway?
Thank you both, Martin and Olaf, for your smpte code!
Krzysztof
#N canvas 300 45 452 450 12; #X obj 29 255 match; #X obj 144 208 prepend set; #X obj 29 100 spell; #X obj 29 29 inlet; #X obj 284 29 inlet; #X obj 69 170 counter; #X obj 29 404 outlet; #X obj 29 135 t 0 b; #X obj 29 331 int; #X obj 353 170 counter; #X obj 313 100 spell; #X obj 284 208 int; #X obj 29 367 - 0; #X obj 231 170 thresh 1; #X obj 313 135 t 0 b; #X obj 284 64 t b a b; #X obj 177 404 outlet; #X obj 177 367 spigot; #X obj 29 290 t b b; #X msg 226 338 0; #X msg 275 338 1; #X obj 29 64 t b a b b; #X connect 0 0 18 0; #X connect 1 0 0 0; #X connect 2 0 7 0; #X connect 3 0 21 0; #X connect 4 0 15 0; #X connect 5 0 8 1; #X connect 7 0 0 0; #X connect 7 1 5 0; #X connect 8 0 12 0; #X connect 9 0 11 1; #X connect 10 0 14 0; #X connect 11 0 12 1; #X connect 12 0 6 0; #X connect 13 0 1 0; #X connect 14 0 13 0; #X connect 14 1 9 0; #X connect 15 0 11 0; #X connect 15 1 10 0; #X connect 15 2 9 2; #X connect 17 0 16 0; #X connect 18 0 8 0; #X connect 18 1 19 0; #X connect 19 0 17 1; #X connect 20 0 17 1; #X connect 21 0 17 0; #X connect 21 1 2 0; #X connect 21 2 5 2; #X connect 21 3 20 0;
#N canvas 578 323 326 233 12; #X msg 56 81 XABCY; #X msg 229 74 ABC; #X msg 228 39 thing; #X floatatom 40 169 5 0 0; #X msg 40 39 anything goes; #X msg 179 39 go; #X obj 40 124 strstr; #X obj 121 169 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 -1; #X connect 0 0 6 0; #X connect 1 0 6 1; #X connect 2 0 6 1; #X connect 4 0 6 0; #X connect 5 0 6 1; #X connect 6 0 3 0; #X connect 6 1 7 0;