[etoys-dev] Etoys: Etoys-kfr.83.mcz

commits at source.squeak.org commits at source.squeak.org
Thu Jul 21 13:08:06 EDT 2011

Karl Ramberg uploaded a new version of Etoys to project Etoys:

==================== Summary ====================

Name: Etoys-kfr.83
Author: kfr
Time: 21 July 2011, 7:07:05 pm
UUID: ad09b369-22df-9d49-becc-f2e78b6c46bb
Ancestors: Etoys-kfr.79

Simplify the way of selecting sounds as instrument

=============== Diff against Etoys-kfr.79 ===============

Item was changed:
+ ----- Method: Player>>beep: (in category 'slots-user') -----
- ----- Method: Player>>beep: (in category 'misc') -----
  beep: anObject
  	"Play given sound or at least beep."
  	| sound |
  	anObject isString
  			[sound := SoundService default playSoundNamedOrBeep: anObject.
  			(sound respondsTo: #stopGracefully)
+ 				ifTrue: [self costume setProperty: #sound toValue: sound.
+ 							self costume setProperty: #playingSound toValue: sound]]
- 				ifTrue: [self costume setProperty: #playingSound toValue: sound]]
  			[SoundPlayer resumePlaying: anObject quickStart: true]

More information about the etoys-dev mailing list