OOps, forgot to include the patch
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova 
00385(0)915225162

      From: Hrvoje Radnic <hrvojerad...@yahoo.com>
 To: Claude Heiland-Allen <cla...@mathr.co.uk>; "pd-list@lists.iem.at" 
<pd-list@lists.iem.at> 
 Sent: Friday, August 4, 2017 2:00 PM
 Subject: Re: [PD] Writing part of large table to file
   
Hi,just checked with a friend who has both mac and win machines, and the 
results are ok on win, but wrong on mac. Can someone with the Linux OS try to 
open the patch and copy-paste here the 3 print lines from pd terminal window 
generated by the attached patch? 

PS: interesting fact is that when I write the audio file to disk, pd terminal 
gives me info that the biggest amplitude in the file is the same as in table I 
am reading from. But when I load that file into new table, this is not the case 
anymore.Thank you for your help!
 Hrvoje Radnic
http://soundcloud.com/sumovi-protiv-valova 
00385(0)915225162

      From: Claude Heiland-Allen <cla...@mathr.co.uk>
 To: pd-list@lists.iem.at 
 Sent: Friday, August 4, 2017 3:12 AM
 Subject: Re: [PD] Writing part of large table to file
  
Hi,

On 04/08/17 01:30, Hrvoje Radnic via Pd-list wrote:
> I tried the patch on win10 machine and [soundfiler] works as expected.
> Now, it will be great if someone with Linux machine can confirm that
> [soundfiler] can't write audio files correctly, so I can report it.

The array-sound1.pd patch in this thread seems to work as expected here
in pd-0.48test6 on 64bit Linux:

$ uname -a
Linux frappuccino 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u2
(2017-06-26) x86_64 GNU/Linux
$ cat /proc/cpuinfo | grep model\ name | uniq -c
      4 model name      : AMD Athlon(tm) II X4 640 Processor

Didn't do much further testing.


Claude
-- 
https://mathr.co.uk

_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


   

   
#N canvas 676 246 1034 742 10;
#X obj 467 244 /;
#X msg 443 212 1;
#X msg 491 210 4e+06;
#X obj 409 318 array set zx;
#X obj 511 285 f;
#X obj 545 285 + 1;
#X msg 527 247 0;
#X obj 409 286 f;
#X msg 425 248 0;
#X obj 443 286 +;
#X obj 411 163 until;
#X msg 411 140 4e+06;
#X obj 408 187 t b b;
#X obj 447 108 t b b b b b;
#X obj 254 198 soundfiler;
#X obj 77 317 tabread soundf;
#X floatatom 77 340 9 0 0 0 - - -, f 9;
#X obj 209 14 loadbang;
#X msg 377 45 \; pd dsp 1;
#X obj 209 36 t b b b b b;
#X obj 301 633 ==;
#X obj 301 655 print last;
#X obj 189 228 t b b b;
#X msg 77 277 0;
#X obj 297 318 tabread soundf;
#X floatatom 297 340 9 0 0 0 - - -, f 9;
#X obj 187 317 tabread soundf;
#X floatatom 187 340 9 0 0 0 - - -, f 9;
#X obj 170 165 t b b;
#X floatatom 40 550 9 0 0 0 - - -, f 9;
#X obj 152 438 t b b b;
#X floatatom 260 550 9 0 0 0 - - -, f 9;
#X floatatom 150 550 9 0 0 0 - - -, f 9;
#X obj 181 633 ==;
#X obj 181 655 print middle;
#X obj 51 633 ==;
#X obj 51 655 print start;
#X obj 40 527 tabread zx;
#X obj 150 527 tabread zx;
#X obj 260 528 tabread zx;
#X obj 15 6 array define zx 4e+06;
#X msg 353 13 bang;
#X msg 260 488 4e+06;
#X obj 14 28 array define soundf;
#X msg 244 96 read -resize zx.wav soundf;
#X msg 297 278 2e+06;
#X msg 187 277 1e+06;
#X msg 40 487 2e+06;
#X msg 150 487 3e+06;
#X msg 265 127 write -skip 2e+06 -nframes 2e+06 -bytes 4 -wave zx.wav
zx, f 20;
#X connect 0 0 9 1;
#X connect 1 0 0 0;
#X connect 2 0 0 1;
#X connect 4 0 5 0;
#X connect 4 0 3 1;
#X connect 5 0 4 1;
#X connect 6 0 4 1;
#X connect 7 0 9 0;
#X connect 7 0 3 0;
#X connect 8 0 7 1;
#X connect 9 0 7 1;
#X connect 10 0 12 0;
#X connect 11 0 10 0;
#X connect 12 0 7 0;
#X connect 12 1 4 0;
#X connect 13 0 11 0;
#X connect 13 1 1 0;
#X connect 13 2 2 0;
#X connect 13 3 8 0;
#X connect 13 4 6 0;
#X connect 15 0 16 0;
#X connect 16 0 35 1;
#X connect 17 0 19 0;
#X connect 19 0 28 0;
#X connect 19 1 44 0;
#X connect 19 2 49 0;
#X connect 19 3 13 0;
#X connect 19 4 18 0;
#X connect 20 0 21 0;
#X connect 22 0 23 0;
#X connect 22 1 46 0;
#X connect 22 2 45 0;
#X connect 23 0 15 0;
#X connect 24 0 25 0;
#X connect 25 0 20 1;
#X connect 26 0 27 0;
#X connect 27 0 33 1;
#X connect 28 0 30 0;
#X connect 28 1 22 0;
#X connect 29 0 35 0;
#X connect 30 0 47 0;
#X connect 30 1 48 0;
#X connect 30 2 42 0;
#X connect 31 0 20 0;
#X connect 32 0 33 0;
#X connect 33 0 34 0;
#X connect 35 0 36 0;
#X connect 37 0 29 0;
#X connect 38 0 32 0;
#X connect 39 0 31 0;
#X connect 41 0 19 0;
#X connect 42 0 39 0;
#X connect 44 0 14 0;
#X connect 45 0 24 0;
#X connect 46 0 26 0;
#X connect 47 0 37 0;
#X connect 48 0 38 0;
#X connect 49 0 14 0;
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to