Hi list,

I having some trouble with a large abstraction I've made. It's a [soundfiler]/[phasor~]/[tabread4~] based sample player that plays tracks forwards, backwards, half-speed, etc and I am also using [freeverb~] as a frozen reverb tail. It can play 5 tracks simultaneously fine, and I can manipulate them live, but when all the tracks are stopped the CPU steadily increases until it reaches 100% and I've no idea why. The tracks I'm loading are all between 3-5mins long so I'm obviously using a lot of memory. The tracks are stopped by sending [phasor~] a frequency of zero, and muting the main [*~] output. It's a bit of a sprawling mess, but I'd be really grateful if anyone would be able to look at it and tell me what's going wrong!

test_patch is the patch I'm using and player2.pd is the abstraction.
Also, this is on a Macbook Pro 8,1 2.7 GHz Intel Core i7 with 4GB RAM running Pd-extended 0.42-5

thanks

James
#N canvas 20 68 1045 656 10;
#X obj 7 5 player2;
#X obj 8 382 keyboard;
#X obj 8 402 nroute 1 2;
#X obj 8 422 route 44;
#X obj 8 442 s stop_track;
#X floatatom 8 630 0 0 0 0 - - -;
#X obj 8 570 cputime;
#X obj 8 462 loadbang;
#X obj 8 522 metro 1000;
#X msg 8 482 1;
#X floatatom 8 502 0 0 0 0 - - -;
#X obj 8 542 t b b;
#X obj 8 610 * 0.1;
#X obj 8 590 int;
#X text 53 502 <-- on/off;
#X text 36 631 CPU load in percent;
#X obj 211 5 player2;
#X obj 415 5 player2;
#X obj 619 5 player2;
#X obj 823 5 player2;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 3 0 4 0;
#X connect 6 0 13 0;
#X connect 7 0 9 0;
#X connect 8 0 11 0;
#X connect 9 0 10 0;
#X connect 10 0 8 0;
#X connect 11 0 6 0;
#X connect 11 1 6 1;
#X connect 12 0 5 0;
#X connect 13 0 12 0;

Attachment: binfTejCtPV7T.bin
Description: application/applefile

Attachment: player2.pd
Description: Binary data

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to