Greetings! Windows XP users (again): On our XP systems (ever since 1.2.0.4) there have been real-time audio problems when setting --bufsize to 1024 or greater. Can anyone else confirm this? To test this:
chuck --bufsize1024 foo.ck (where foo.ck is something that sounds fine with --bufsize256 or 512)
What about bigger buffer sizes? We noticed this was causing audio interruptions in 1.2.0.4, after we switched to RtAudio 3.2.0. Under XP, this allowed much lower buffer sizes and hence better lantencies, but it seemed to disfavor buffer sizes greater or equal to 1024. It could be ChucK doing something dumb in interfacing with RtAudio, but it's weird this only happens for bufsize
= 1024 on XP... Thoughts?
Thanks!! Best, Ge!
hello, i would very much appreciate the following changes to chuck: 1. to compile without errors on mingw32 (at least with my distribution): in util_math.h & util_math.c: exclude the definition of remainder. it is already defined with mingw32 and throws a compile error. in util_sndfile.h: exclude lrint & lrtinf they are already defined with mingw32 and throw a compile error. 2. to make my OSCSurface able to capture the output of the ChucK-stderr on windows: after each output to stderr (fprintf) please call: fflush(stderr) otherwise the output is sent to my console capturer only when i quit chuck or when the output buffer is full. i think that's only a problem with windows. maybe it would be a good idea to send real errors to stderr and anything else to stdout (like <<< "XYZ" >>>;)? with the above changes i was able to compile chuck on mingw32 and capture the output. so now i almost have a real ChucK-IDE. btw: are there any plans to set up a CVS for ChucK so that people could submit patches? best joerg -- http://joerg.piringer.net http://www.transacoustic-research.com http://www.iftaf.org http://www.vegetableorchestra.org/
Ge, Your issue is confirmed. In fact, if I do
chuck --bufsize2048 foo.ck
on my winXP laptop, it just sits there and doesn't play. No ideas yet on what's causing it. Graham On Wed, 17 May 2006, Ge Wang wrote:
Greetings!
Windows XP users (again):
On our XP systems (ever since 1.2.0.4) there have been real-time audio problems when setting --bufsize to 1024 or greater. Can anyone else confirm this? To test this:
chuck --bufsize1024 foo.ck (where foo.ck is something that sounds fine with --bufsize256 or 512)
What about bigger buffer sizes?
We noticed this was causing audio interruptions in 1.2.0.4, after we switched to RtAudio 3.2.0. Under XP, this allowed much lower buffer sizes and hence better lantencies, but it seemed to disfavor buffer sizes greater or equal to 1024. It could be ChucK doing something dumb in interfacing with RtAudio, but it's weird this only happens for bufsize
= 1024 on XP... Thoughts?
Thanks!!
Best, Ge! _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
On Fri, 2 Jun 2006, Graham Coleman wrote:
Ge,
Your issue is confirmed.
I should be more specific. If I do --bufsize1024, it plays the audio, but skips and pops break up the sound.
In fact, if I do
chuck --bufsize2048 foo.ck
on my winXP laptop, it just sits there and doesn't play.
No ideas yet on what's causing it.
Graham
On Wed, 17 May 2006, Ge Wang wrote:
Greetings!
Windows XP users (again):
On our XP systems (ever since 1.2.0.4) there have been real-time audio problems when setting --bufsize to 1024 or greater. Can anyone else confirm this? To test this:
chuck --bufsize1024 foo.ck (where foo.ck is something that sounds fine with --bufsize256 or 512)
What about bigger buffer sizes?
We noticed this was causing audio interruptions in 1.2.0.4, after we switched to RtAudio 3.2.0. Under XP, this allowed much lower buffer sizes and hence better lantencies, but it seemed to disfavor buffer sizes greater or equal to 1024. It could be ChucK doing something dumb in interfacing with RtAudio, but it's weird this only happens for bufsize
= 1024 on XP... Thoughts?
Thanks!!
Best, Ge! _______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
_______________________________________________ chuck-dev mailing list chuck-dev@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/chuck-dev
participants (3)
-
Ge Wang
-
Graham Coleman
-
joerg piringer