michael strohmann wrote:
on rpi / stretch / pd-46 || ESI UJ6 Audiointerface…
sometimes the first half second of audiofiles (4 channel) gets swallowed
i am using
[t b b]
| |
[1( [open audiofile.wav(
| /
[readsf~ 4]
my first bet was that the amplifier goes into sleep mode and needs time to wake
up. but i can rule that out.
now i am a bit clueless ….
are you completely sure ? even if you are, maybe reading & playing an
arbitrary short soundfile consisting of a 2 hertz sinus at low volume
every 10 seconds might make sure that the amp REALLY never goes to sleep.
does anybody else have similar troubles on RPi ???
no, there must be something else blocking the audio engine
you might try a little delay before the "1" message, or even try to run
the [readsf~] in a subpatch~ with a higher blocksize (see attached patch
again ;-)
that's all i can think of right now
i figure using [tabplay~] (thus preloading the soundfiles into RAM) is
not an option ?
best
oliver
#N canvas 556 237 462 300 10;
#X obj 59 157 readsf~ 2;
#X obj 50 228 dac~;
#X obj 35 186 *~ 0.2;
#X obj 87 185 *~ 0.2;
#X msg 59 132 open ../sound/bell.aiff \, 1;
#X obj 142 174 spigot;
#X obj 142 198 del 1;
#X obj 193 174 tgl 15 0 empty empty loop 17 7 0 10 -262144 -1 -1 0
1;
#X obj 67 29 loadbang;
#X msg 67 54 \; pd dsp 1;
#N canvas 0 50 544 300 readsf_blocksize 0;
#X obj 111 49 inlet;
#X obj 396 137 iem_blocksize~;
#X floatatom 396 164 5 0 0 0 - - -, f 5;
#X obj 111 164 readsf~ 2;
#X obj 88 230 outlet~;
#X obj 147 230 outlet~;
#X obj 255 48 inlet;
#X obj 208 181 spigot;
#X obj 208 205 del 1;
#X obj 111 76 symbol;
#X msg 111 123 open \$1 \, 1;
#X obj 397 204 block~ 1024;
#X connect 0 0 9 0;
#X connect 1 0 2 0;
#X connect 3 0 4 0;
#X connect 3 1 5 0;
#X connect 3 2 7 0;
#X connect 6 0 7 1;
#X connect 7 0 8 0;
#X connect 8 0 9 0;
#X connect 9 0 10 0;
#X connect 10 0 3 0;
#X restore 269 157 pd readsf_blocksize;
#X obj 380 134 tgl 15 0 empty empty loop 17 7 0 10 -262144 -1 -1 0
1;
#X obj 290 227 dac~;
#X obj 275 185 *~ 0.2;
#X obj 327 184 *~ 0.2;
#X msg 269 110 ../sound/bell.aiff;
#X connect 0 0 2 0;
#X connect 0 1 3 0;
#X connect 0 2 5 0;
#X connect 2 0 1 0;
#X connect 3 0 1 1;
#X connect 4 0 0 0;
#X connect 5 0 6 0;
#X connect 6 0 4 0;
#X connect 7 0 5 1;
#X connect 8 0 9 0;
#X connect 10 0 13 0;
#X connect 10 1 14 0;
#X connect 11 0 10 1;
#X connect 13 0 12 0;
#X connect 14 0 12 1;
#X connect 15 0 10 0;
_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list