[squeak-dev] Mac midi sound weirdness - it gets louder for first
karlramberg at gmail.com
Fri Nov 7 06:51:30 UTC 2014
I suspect that the sound mixing is adding the sounds together in the buffer
till it maxes out in loudness. Sound mixing is pretty much the same for all
sounds playing simultaneously.
On Thu, Nov 6, 2014 at 11:09 AM, Bert Freudenberg <bert at freudenbergs.de>
> On 06.11.2014, at 08:53, karl ramberg <karlramberg at gmail.com> wrote:
> I have heard this sometimes myself on various platforms. Repeating a sound
> in Etoys (having a sound play in a ticking script) sometimes sturates the
> sound channel and it gets really loud and sounds awfull.
> I'm not sure if this is a problem in the plugins or in the sound player
> This is simply because triggering the same Etoys sound while it is still
> playing just adds another copy of it to the output stream. Since Etoys
> sounds are about a second long, and you tick at least 8 times a second,
> this adds the same sound 8 times on top of itself. Yes it sounds awful.
> The Right Thing to do would be to keep track of the sound being played by
> each Etoys object, and loop the sound as long as it is being re-triggered.
> The fire-and-forget method in place now is just much simpler.
> A second thing making it worse is that Reverb is on by default, at a
> pretty high level. While it makes the sounds appear fuller if played alone,
> it exacerbates the effect when playing the same sound over and over. This
> is not really the Reverb's fault though.
> - Bert -
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev