Forums > Jitter

spigot~ cache to RAM ?

December 2, 2009 | 10:48 pm

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



pm
December 3, 2009 | 12:22 am

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?


December 3, 2009 | 2:10 am

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


December 3, 2009 | 4:10 pm

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.


December 3, 2009 | 5:32 pm

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.


Viewing 5 posts - 1 through 5 (of 5 total)