spigot~ cache to RAM ?

Dec 2, 2009 at 10:48pm

spigot~ cache to RAM ?

It seems that spigot~ writes files to disk but is there no way to “loadram” ?
The quicktime movie itself can be, but my guess is the spigot~ object is playing back from the disk? This is causing some disk i/o problems for me and it would be great to get those audio clips playing from RAM.

Any answers on the behavior, ideas?

Thanks

Shane

#46969
Dec 3, 2009 at 12:22am

The problem I find the most annoying with the spigot~ is the latency when you load a movie. I know there has been a bunch of topics on that and that it is a matter of QuickTime not Jitter, but I find it a bit ridiculous that there is more latency loading the audio than the video…
I presume it is from the HD writing that comes that latency. Maybe RAM loaded audio would solve the issue.
Hint of a solution : you could use SoundFlower to make the audio from the system (so also from Quicktime) go through a Max Patch to control the volume with decent parameters. But I can’t imagine there is no other way to do that…

Anybody has more info on this issue?

#168883
Dec 3, 2009 at 2:10am

That solution won’t work for me as this must be cross platform and self contained. Thanks for the feedback though.

#168884
Dec 3, 2009 at 4:10pm

i’ve never noticed these problems with spigot~ before, but perhaps i’m not using big/long enough files.

i generally prefer to separate the audio and video files ahead of time, and play the audio back using a buffer~ based method, and sync the video playback to the audio playback.

#168885
Dec 3, 2009 at 5:32pm

this latter solution is also not an option unfortunately. This is an end user video drum machine. Playing back video audio polyphonically from the disk is having trouble on systems with full HDs and low rpms. The only way around this is to get the audio into ram, but do so the moment the video is dragged onto the playing area.

#168886

You must be logged in to reply to this topic.