Benalt, Adam D (NBC Universal, MSNBC) escreveu:
Thanks Jonathan,
This works as you noted below, however I need this to be an automated
process.
At least a couple of times per second, writing one numeric value to the
same text file over and over again.
Then I can query it as needed and it will return the VU level at that
moment.
Pall --
This concept seems simpler than using terminal, as I'm not really
familiar with how that will work.
something like that, maybe? (didn't tested on windows)
josé
--
http://www.padovani.googlepages.com
#N canvas 0 22 743 498 10;
#X msg 302 275 write /Users/ze/teste.txt;
#X obj 303 224 loadbang;
#X msg 338 98 1;
#X obj 197 202 metro 50;
#X floatatom 65 259 5 0 0 0 - - -;
#X floatatom 178 175 5 0 0 0 - - -;
#X obj 159 244 f;
#X msg 327 130 0;
#X obj 474 179 tgl 20 0 empty empty write_file 0 -5 0 10 -262144 -1
-1 1 1;
#X obj 468 91 sel 1;
#X msg 165 432 clear;
#X obj 118 363 sel 100;
#X obj 130 398 t b b;
#X floatatom 439 311 5 0 0 0 - - -;
#X obj 197 391 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144
-1 -1;
#X obj 144 109 *~;
#X floatatom 205 58 5 0 1 0 - - -;
#X text 481 275 <-change to windows formated path;
#X floatatom 459 217 5 0 0 0 - - -;
#X msg 367 248 50;
#X obj 170 138 env~;
#X text 498 215 <- change the metro;
#X obj 343 437 textfile;
#X obj 65 223 counter;
#X obj 97 173 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X text 481 313 <-change number of recorded itens;
#X msg 163 302 add2 $1;
#X msg 356 306 1;
#X msg 116 201 1;
#X obj 432 341 - 1;
#X obj 124 63 adc~;
#X connect 0 0 22 0;
#X connect 1 0 0 0;
#X connect 1 0 19 0;
#X connect 1 0 27 0;
#X connect 2 0 3 0;
#X connect 3 0 6 0;
#X connect 3 0 24 0;
#X connect 4 0 11 0;
#X connect 5 0 6 1;
#X connect 6 0 26 0;
#X connect 7 0 3 0;
#X connect 8 0 9 0;
#X connect 9 0 2 0;
#X connect 9 1 7 0;
#X connect 10 0 22 0;
#X connect 11 0 12 0;
#X connect 12 0 10 0;
#X connect 12 0 23 2;
#X connect 12 1 0 0;
#X connect 13 0 14 0;
#X connect 13 0 29 0;
#X connect 14 0 23 2;
#X connect 15 0 20 0;
#X connect 16 0 15 1;
#X connect 18 0 3 1;
#X connect 19 0 18 0;
#X connect 20 0 5 0;
#X connect 23 0 4 0;
#X connect 24 0 23 0;
#X connect 26 0 22 0;
#X connect 27 0 13 0;
#X connect 29 0 11 1;
#X connect 30 0 15 0;