-
musicproject
@svanya bit late with that one! Anyway, I got it sorted
-
musicproject
@whale-av what i posted is all the 'File Info' it doesn't calculate the number of samples for you. Adobe is actually pretty basic. Audacity is worse.
-
musicproject
that just gives me the file size, the number of samples is different. I know the 1.22739e+007 figure already, but thats not the number of samples. Thanks anyway
-
musicproject
Hi
I'm using Granular Synthesis in an audio patch, Currently the patch isn't working but i know if i tweak it a bit it will. (if anyone has used this technique, please respond! Its basically just a combination of using tabread4~ and samphold~)
So its mainly not working cos you have to know the number of samples in the audio file and i don't know how i calculate that. My file is 4 mins 38.32 secs long., 16 bit, stereo, 44100Hz (wav)
Anyone know how to do this? also if anyone has a successfully working patch, please share!
Rachel
-
musicproject
the above is actually one of my own patches - i didn't realise the comment i made in the file would actually bring up the real youtube link!
-
musicproject
well if you save the pd file as a text file it comes up with a bunch of stuff that looks like
#N canvas 674 51 634 542 10;
#X msg 10 48 ; pd dsp $1;
#X obj 105 108 soundfiler;
#X floatatom 131 130 5 0 0 0 - - -;
#X floatatom 140 198 5 0 0 0 - - -;
#X obj 112 227 phasor~;
#N canvas 0 0 450 300 (subpatch) 0;
#X array lc 1.31563e+006 float 0;
#X coords 0 1 1.31563e+006 -1 200 140 1 0 0;
#X restore 425 -29 graph;
#N canvas 0 0 450 300 (subpatch) 0;
#X array rc 1.31563e+006 float 0;
#X coords 0 1 1.31563e+006 -1 200 140 1 0 0;
#X restore 420 136 graph;
#X obj 421 289 hsl 195 15 0.2 1 0 0 empty empty empty -2 -8 0 10 -204800
-1 -1 0 1;
#X obj 117 415 *~;
#X obj 154 416 *~;
#X obj 115 452 dac~ 1 2;
#X obj 329 342 vsl 15 128 1 10 1 0 empty empty empty 0 -9 0 10 -204786
-1 -1 0 0;
#X obj 238 195 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 0
1;
#X floatatom 237 277 10 0 0 0 - - -;
#X obj 234 303 /;
#X obj 241 250 snapshot~;
#X floatatom 236 333 5 0 0 0 - - -;
#X obj 81 -20 loadbang;
#X text 354 448 volume;
#X text 419 305 progress bar of the wav file;
#X obj 119 351 tabread4~ lc;
#X obj 139 378 tabread4~ rc;
#X obj 54 0 bng 15 250 50 0 empty empty empty 17 7 0 10 -262144 -1
-1;
#X obj 241 223 metro;
#X obj 11 4 tgl 15 0 empty empty empty 17 7 0 10 -262144 -1 -1 1 1
;
#X text 150 -34 this will loop continuously;
#X obj 130 254 r sampleRateSize;
#X obj 131 150 s sampleRateSize;
#X obj 265 304 r sampleRateSize;
#X text 152 -19 its not a great track!;
#X text 154 -7 followed this tutorial
;
#X obj 106 173 expr 44100/$f1;
#X text 106 57 doesn't sound anything like the original track (which
was 48000 - even though i resampled it in Audition!);
#X obj 113 285 *~ 4;
#X msg 98 35 read -resize data/vantastivalmusic.wav lc rc;
#X connect 1 0 2 0;
#X connect 1 0 31 0;
#X connect 2 0 27 0;
#X connect 4 0 33 0;
#X connect 8 0 10 0;
#X connect 8 0 10 1;
#X connect 9 0 10 1;
#X connect 11 0 8 1;
#X connect 12 0 23 0;
#X connect 13 0 14 0;
#X connect 14 0 16 0;
#X connect 15 0 13 0;
#X connect 16 0 7 0;
#X connect 17 0 22 0;
#X connect 20 0 8 0;
#X connect 21 0 9 0;
#X connect 22 0 34 0;
#X connect 22 0 11 0;
#X connect 22 0 24 0;
#X connect 23 0 15 0;
#X connect 24 0 0 0;
#X connect 26 0 33 1;
#X connect 28 0 14 1;
#X connect 31 0 3 0;
#X connect 31 0 4 0;
#X connect 33 0 15 0;
#X connect 33 0 20 0;
#X connect 33 0 21 0;
#X connect 34 0 1 0;which when pasted into notepad and saved as a pd (as 'all files' will give you an audio patch. Is that what you mean?
-
musicproject
@whale-av Hi, I am a bit of an expert in Premiere Pro. I re-exported the movie at 960x540 size instead of 1920x1080 and adjusted the audio to 44100. I am currently uploading it to dropbox. Why AVI? an mp4 with those settings should work fine. I'll share the movie once it's uploaded, but am defo gonna hit the college labs tomorrow.
Goodnight!
Rach
p.s. Talking heads video? lol!
-
musicproject
@whale-av i tried that last zip out a while ago and no joy either. I actually found a zip online of someone who claimed to have synced a video and sound, patch and all, and got very excited. The video ended WAY before the sound! Daniel someone.. its a pure data old spice thing .. google it. I joined a google plus pd community, checked out the websites of the people posting frequently and sent many emails. I think i've emailed everyone but santa claus asking for help now, lol! Ah well, gonna go in and use the college macs tomorrow, see if it makes a difference.
Thanks for all your help, i reallly do appreciate it!!
Rach
p.s. found it http://www.openobject.org/physicalprogramming/Daniel's_Pure_Data_Media_Player_-_PROJECT_2