[squeak-dev] The Inbox: Sound-dtl.67.mcz
John Pfersich
smalltalker2 at mac.com
Fri Dec 13 09:34:27 UTC 2019
I downloaded muO a while ago, and fiddled around with it a bit. I haven’t used it lately.
/————————————————————/
For encrypted mail use jgpfersich at protonmail.com
Get a free account at ProtonMail.com
Web: www.objectnets.net and www.objectnets.org
> On Dec 12, 2019, at 00:07, Stéphane Rollandin <lecteur at zogotounga.net> wrote:
>
>
>>
>> Rather than add #hasVolumeEnvelope and #volumeEnvelope, would
>> this achieve the same thing?
>> AbstractSound>>loudness
>> "Answer the current volume setting for this sound."
>> ^ envelopes detect: [:e | e isKindOf: VolumeEnvelope]
>> ifFound: [ :envelope | envelope scale ]
>> ifNone: [scaledVol asFloat / ScaleFactor]
>
> Sure. It just happens I have other senders (well, one other) for #hasVolumeEnvelope in muO. But for trunk it's fine. In fact, I do not even know if this change to #loudness is needed in trunk. Is someone else than me doing sound in Squeak at the moment?
>
> Stef
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191213/7ac1bf8e/attachment.html>
More information about the Squeak-dev
mailing list
|