Dear Miller, thank you for your patch. Anyway, until here I have been arrived. The point is that if you connect this [readsf~] to a [dac~] in the parent window it sounds 64-times higher and shorter. There is something that I am missing?
best Marco 2018-03-03 5:26 GMT+01:00 Miller Puckette <m...@ucsd.edu>: > Here's a quick test I made.. it seems to work OK: > > #N canvas 575 153 544 389 10; > #N canvas 167 97 714 533 sr 1; > #X obj 142 58 block~ 4096 1 64; > #X obj 92 251 osc~ 6400; > #X obj 92 272 tabwrite~ foo; > #X obj 186 243 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 > -1 -1; > #X obj 319 228 readsf~; > #X msg 317 146 open /tmp/test.wav; > #X msg 343 197 start; > #X obj 357 175 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 > -1 -1; > #X obj 317 265 tabwrite~ foo; > #X obj 427 307 timer; > #X floatatom 427 328 5 0 0 0 - - -, f 5; > #X obj 331 396 array define foo 1e+06; > #X obj 92 342 soundfiler; > #X msg 91 319 write /tmp/test.wav foo; > #X msg 321 107 \; foo const 0; > #X text 67 203 this is to make the soundfile /tmp/test.wav, f 23; > #X text 324 55 Then clear out the array \, open the file \, and read > it back in (1e6 points in 326 msec at 48K sample rate); > #X connect 1 0 2 0; > #X connect 3 0 2 0; > #X connect 4 0 8 0; > #X connect 4 1 9 1; > #X connect 5 0 4 0; > #X connect 6 0 4 0; > #X connect 7 0 6 0; > #X connect 7 0 8 0; > #X connect 7 0 9 0; > #X connect 9 0 10 0; > #X connect 13 0 12 0; > #X restore 226 209 pd sr; > > cheers > Miller > > On Wed, Feb 28, 2018 at 12:12:49PM +0100, Amur Tet wrote: > > Dear list, > > > > I am trying to put a [readsf~] inside a sub re-blocked and up-sampled > > following a previous conversation[1], using [block~]. Anyway, I don't get > > the correct up-sampling factor. Assuming the patch at sr = 44100 hz, the > > same for the audio file, blocksize 64 samples, I tried various > > configurations with changing blocksize, overlap and up-sampling factor > but > > without obtaining the wanted result. Any idea? Osx, Pd vanilla 47.1, > > quadriphonic soundfile. > > > > Best, > > Marco Matteo Markidis > > > > [1]: soundfiler alternative, https://www.mail-archive.com/ > > search?l=pd-list@lists.iem.at&q=subject:%22Re%5C%3A+%5C% > > 5BPD%5C%5D+soundfiler+alternative%5C%3F%22&o=newest&f=1 > > > > -- > > Ho cambiato l'indirizzo email in mm.marki...@autistici.org . Se non è un > > problema, scrivimi a questo nuovo indirizzo email. > > > > I changed my email address in mm.marki...@autistici.org . If it is ok > for > > you, please write me to this new email address. > > > _______________________________________________ > > Pd-list@lists.iem.at mailing list > > UNSUBSCRIBE and account-management -> https://lists.puredata.info/ > listinfo/pd-list > > -- Ho cambiato l'indirizzo email in mm.marki...@autistici.org . Se non è un problema, scrivimi a questo nuovo indirizzo email. I changed my email address in mm.marki...@autistici.org . If it is ok for you, please write me to this new email address.
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list