[etoys-dev] Etoys: WS-Sound-kfr.5.mcz

commits at source.squeak.org commits at source.squeak.org
Sun Jul 17 09:50:49 EDT 2011


Karl Ramberg uploaded a new version of WS-Sound to project Etoys:
http://source.squeak.org/etoys/WS-Sound-kfr.5.mcz

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

Name: WS-Sound-kfr.5
Author: kfr
Time: 17 July 2011, 3:50:32 pm
UUID: ce9ae0f6-c121-e84f-b35d-17cd0dba5404
Ancestors: WS-Sound-kfr.4

Sounds as instruments that can change pitch

=============== Diff against WS-Sound-kfr.4 ===============

Item was changed:
  ----- Method: Morph class>>additionsToViewerCategorySound (in category '*WS-Sound-Interface') -----
  additionsToViewerCategorySound
  	"Answer viewer additions for the 'sound' category"
  
  	^#(
  		sound 
  		(
  			(command playSound: 'play sound' Number)
+ 			(command playInstrument: 'play instrument' Number)
+ 			(command setInstrument: 'select a instrument' Sound)
  			(command stopSound 'stop sound')
  			(command beep: 'Make the specified sound' Sound)
  		)
  	)
  !



More information about the etoys-dev mailing list