[squeak-dev] The Inbox: Sound-dtl.67.mcz
tim Rowledge
tim at rowledge.org
Fri Dec 13 17:15:18 UTC 2019
Likewise - it is fascinating but I have no musical talent and can't realistically do anything with it :-(
And typically the linux sound support on a Pi is so painful that I don't connect any speakers.
> On 2019-12-13, at 1:34 AM, John Pfersich via Squeak-dev <squeak-dev at lists.squeakfoundation.org> wrote:
>
> 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
>>
>>
>>
>>
>
tim
--
tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
Strange OpCodes: YII: Yield to Irresistable Impulse
More information about the Squeak-dev
mailing list
|