Hi, Im not sure whether PD is actually the write software for this but anyhow maybe you might have some suggestions,
I have 16 audio files that are 28 minutes long each. I need to keep them looping and in sync to a counter that is looping through the frames of a movie in GEM. I can use separate machines for the GEM and audio but they must stay in sync. I also dont reckon I'll be able to load 16 28min sound files into tables due to RAM constraints. Does anyone have any suggestions. Is there a way to play the soundfiles from disk and drive the frame counter in sync.
IF you had any suggestions of ways to do this outside of PD that would be fine too but I'd still need some way to talk to my GEM patch.
Thanks Nick
Hi Nicholas~
You can try using readsf~ to open the files, if they are aiff or wav format. It reads from disk, so you don't have to worry about array constraints.
Alternatively, if you like to compile, there are solutions for modifying the size of the array maximum constraint, but you'll have to search the list because I don't have time to dig it up for you right now.
But if you are just playing the soundfiles linearly without much random access (i.e. granular processes), you are best off using readsf~. To keep the sync tight, try loading all 16 on the same machine, using a trigger object to launch all 16 different readsf~ objects simultaneously. If this is too intensive for some reason, you could split the work up over multiple computers and use netsend/netrecieve objects to sync them up, but I don't know how tight that will be.
I hope that helps, good luck!
~Kyle
On 9/15/06, Nicholas Ward nicholas.ward@cs.tcd.ie wrote:
Hi, Im not sure whether PD is actually the write software for this but anyhow maybe you might have some suggestions,
I have 16 audio files that are 28 minutes long each. I need to keep them looping and in sync to a counter that is looping through the frames of a movie in GEM. I can use separate machines for the GEM and audio but they must stay in sync. I also dont reckon I'll be able to load 16 28min sound files into tables due to RAM constraints. Does anyone have any suggestions. Is there a way to play the soundfiles from disk and drive the frame counter in sync.
IF you had any suggestions of ways to do this outside of PD that would be fine too but I'd still need some way to talk to my GEM patch.
Thanks Nick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi,
[readanysf~] reports time in seconds (with -/+ .5sec accuracy) so it may be not accurate enough.
You didn't say what platform you are on but if you're on linux and you are familiar with SND you could probably be able to swing it with [snd] extern.
In both cases you'd be reading the soundfiles off the HD so their size vs. RAM size are irrelevant.
./MiS
Nicholas Ward nicholas.ward@cs.tcd.ie writes:
Hi, Im not sure whether PD is actually the write software for this but anyhow maybe you might have some suggestions,
I have 16 audio files that are 28 minutes long each. I need to keep them looping and in sync to a counter that is looping through the frames of a movie in GEM. I can use separate machines for the GEM and audio but they must stay in sync. I also dont reckon I'll be able to load 16 28min sound files into tables due to RAM constraints. Does anyone have any suggestions. Is there a way to play the soundfiles from disk and drive the frame counter in sync.
IF you had any suggestions of ways to do this outside of PD that would be fine too but I'd still need some way to talk to my GEM patch.
Thanks Nick
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list