[squeak-dev] Mac midi sound weirdness - it gets louder for first few notes.

karl ramberg karlramberg at gmail.com
Thu Nov 6 07:53:22 UTC 2014


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
classes.

Karl

On Thu, Nov 6, 2014 at 2:22 AM, tim Rowledge <tim at rowledge.org> wrote:

> Dear Abby,
> I’ve been dealing with some ‘fun’ Pi scratch sound related issues and a
> weird one has come up on the Mac. Oddly enough the problem was reported on
> the Pi but I can’t replicate it and whilst trying to work out what on earth
> is happening I discovered the Mac issue.
>
> When a scratch script has a loop that looks like this
>
> do forever
> wait 0.5 secs
> play midi note 60 for 0.5 beats
>
> we hear the first few notes get louder and then stabilise at noticeably
> louder. If the wait time is longer - say 1 sec - it doesn’t seem to happen.
> The same effect happens with drum ‘notes’ via MIDI too.
>
> The really odd part is that on the Pi there is *no* MIDI system making the
> noise - it is faked from an FMSound organ1 or SampledSound coffeeCupClink.
> And yet the user heard the effect; and I don’t.
>
> I’ve checked the actual MIDI control byte value being sent to set the
> volume and it doesn’t vary. On the Pi the volume value sent to to the sound
> player system doesn’t vary either. I even checked that I wasn’t going
> insane by getting my wife to listen and she heard it get louder.
>
> So my question is - is it wrong to take all the milk chocolate biscuits?
>
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Klingon Code Warrior:- 7) "You question the worthiness of my Code?! I
> should kill you where you stand!"
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20141106/899c20c2/attachment.htm


More information about the Squeak-dev mailing list