Hi Dan,
I just did a test with it. I can't see anything happening in the
shark results. They look the same all the time, no matter if I
play diskins or not. I made a testcase, posted below. It requires
wslib to be installed and apx 3GB free space:
// define path (change at will)
p = "~/Desktop/testSin/sin";
// create 32 ten-minute audiofiles in nrt (this requires wslib)
(
32.do({ |i| { SinOsc.ar( SinOsc.kr(0.25).range(84,(i+50)).midicps,
0, 1/32 ) }
.render( p ++ i ++ ".aif", 60*10, async: true ); });
)
// cue them into buffers
b = 32.collect({ |i| Buffer.cueSoundFile(s, (p ++ i ++
".aif").standardizePath, 0, 1); });
// and play
b.do({ |buf| { DiskIn.ar(1, buf, loop: 1) * 0.25 }.play; });
on my machine (Macbook Pro 2.4GHz, OSX 10.5.6, sc rev 8898) after
about 3 minutes this sounds like:
<after_3_mins.aac>
while it should sound like:
<shoud_sound_like.aac>
hope that sheds some light on the matter.
cheers,
Wouter
Op 14 mrt 2009, om 11:43 heeft Dan Stowell het volgende geschreven:
Hi Wouter,
If you don't mind doing some work on this it would be really
helpful.
Use Apple's "Shark" profiling tool on your machine (I'm on PPC so
can't test) - it has a "malloc trace" mode which can help you spot
where the apparent memory leak is happening. (It could be somewhere
inside libsndfile for example?)
Dan
2009/3/14 Wouter Snoei <mailinglists@xxxxxxxxxxxxxx>:
Hi Josh,
we tried many different buffer sizes. All have the same problem.
It seems to
be some kind of memory leak; we installed memory meters and when
playing
disk files the memory keeps filling up until it starts swapping
to VM. That
is ± where the audible problems begin.
cheers,
Wouter
Op 5 mrt 2009, om 23:24 heeft Josh Parmenter het volgende
geschreven:
how big are your buffers for DiskIn? Try making them bigger
perhaps?
Josh
On Mar 5, 2009, at 2:21 PM, Wouter Snoei wrote:
Hi all,
it seems that pd is far better at playing multiple audio files
from disk
then SC. SC almost always fails when playing over 16 mono
files at once (it
starts leaving gaps and irregular clicks and loops occur after
apx 3
minutes). Some sonology students working with our wfs system
found out that
pd can play 96 files on it at once easily, without much cpu
use and no
problems at all. They tested it extensively against SC. Could
it be an idea
to port the pd disk streaming engine to SC? Btw only the intel
machines seem
to have this issue with SC, we didn't have any problems back
when we had
G5's running.
cheers,
Wouter
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/
******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/
“Every composer – at all times and in all cases – gives his own
interpretation of how modern society is structured: whether
actively or
passively, consciously or unconsciously, he makes choices in
this regard. He
may be conservative or he may subject himself to continual
renewal; or he
may strive for a revolutionary, historical or social
palingenesis." - Luigi
Nono
*/
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/
_______________________________________________
sc-users mailing list
info (subscription, etc.):
http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/
--
http://www.mcld.co.uk
_______________________________________________
sc-users mailing list
info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-users/
search: https://listarc.bham.ac.uk/lists/sc-users/search/