[squeak-dev] Re: Squeaking up for "'click' sound play"
Andreas Raab
andreas.raab at gmx.de
Wed Apr 14 15:25:33 UTC 2010
On 4/14/2010 7:24 AM, Bert Freudenberg wrote:
> I follow your reasoning. However, conversion methods usually follow the asXYZ pattern.
>
> With #asSound I would have less problems. #asSampledSound would be even more correct, since I guess you would map it to "^SampledSound soundNamed: self", right?
>
> #sound to me is not intention-revealing enough for inclusion in the base system.
Moreover, as a verb "to sound" implies that the sound is being played
already. In other words I'd kinda expect that "'boink' sound" does the
same as "'boink' asSound play".
Cheers,
- Andreas
More information about the Squeak-dev
mailing list
|