[CM] Disk full with SND files in /tmp

Kjetil S. Matheussen k.s.matheussen@notam02.no
Fri, 25 May 2007 10:00:40 +0200 (CEST)


  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--8323328-871951110-1180080040=:9003
Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed
Content-Transfer-Encoding: QUOTED-PRINTABLE



On Fri, 25 May 2007, Ren=E9 Bastian wrote:

> Le Vendredi 25 Mai 2007 02:46, Bill Schottstaedt a =E9crit :
>>> Wont that load the full contents of the original sound file into RAM?
>>> (or does that already happen?)
>>
>> No.  It makes no difference in that regard.  Normally Snd loads about
>> 8192 samples into RAM per reader.   And calling the GC won't help,
>> as I mentioned before.
>>
>
> Loading only 8192 samples into RAM has the effect that the playback
> of a sound file is often disrupted : Snd cannot be
> utilized on stage (the same can happen with with newer versions
> of linuxian software, i.e. play or aplay ... whereas the older versions
> worked fine).
>

If you are using snd-ls (which use the <snd-rt-player> instrument in=20
rt-player.scm for playback), snd actually buffers 5 seconds of sound into=
=20
RAM before starting to play. (I wonder if 5 seconds perhaps is a bit too=20
much though, since memory is not cheap...)

--8323328-871951110-1180080040=:9003--