Karl,
I like the addition of instruments when we make a sound, but what I was thinking of is that you could specify the instrument that played when the scripting tile "play frequency of | 880" (from the sound category in the viewer) fired.
Stephen
On Sat, Jul 16, 2011 at 5:58 PM, commits@source.squeak.org wrote:
Karl Ramberg uploaded a new version of Etoys to project Etoys: http://source.squeak.org/etoys/Etoys-kfr.80.mcz
==================== Summary ====================
Name: Etoys-kfr.80 Author: kfr Time: 16 July 2011, 11:57:47 pm UUID: 1a404ea7-fb11-be42-96c1-74b2cf326b7d Ancestors: Etoys-kfr.79
Adds choices to play instrument sounds
http://tracker.squeakland.org/browse/SQ-956
=============== Diff against Etoys-kfr.79 ===============
Item was changed: ----- Method: TileMorph>>soundChoices (in category 'misc') ----- soundChoices
"Answer a list of sound choices. This applies only
to tiles that have sound-names as their literals,
viz. SoundTiles and SoundReadoutTiles."
"Answer a list of sound choices. This applies only to tiles that
have sound-names as their literals, viz. SoundTiles and SoundReadoutTiles."
| aList |
aList := SoundService default sampledSoundChoices
asOrderedCollection.
aList
removeAllFoundIn: (ScriptingSystem soundNamesToSuppress
copyWithout: literal).
aList addAll: AbstractSound soundNames contents.
aList _ SoundService default sampledSoundChoices
asOrderedCollection.
aList removeAllFoundIn: (ScriptingSystem soundNamesToSuppress
copyWithout: literal). ^ aList asSortedArray!
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
Hi I looked at the code and this is a big job to do with the approach I tried, so I removed the code I committed.
I must think of an other way of doing this.
Karl
On Sun, Jul 17, 2011 at 5:12 AM, Steve Thomas sthomas1@gosargon.com wrote:
Karl,
I like the addition of instruments when we make a sound, but what I was thinking of is that you could specify the instrument that played when the scripting tile "play frequency of | 880" (from the sound category in the viewer) fired.
Stephen
On Sat, Jul 16, 2011 at 5:58 PM, commits@source.squeak.org wrote:
Karl Ramberg uploaded a new version of Etoys to project Etoys: http://source.squeak.org/etoys/Etoys-kfr.80.mcz
==================== Summary ====================
Name: Etoys-kfr.80 Author: kfr Time: 16 July 2011, 11:57:47 pm UUID: 1a404ea7-fb11-be42-96c1-74b2cf326b7d Ancestors: Etoys-kfr.79
Adds choices to play instrument sounds
http://tracker.squeakland.org/browse/SQ-956
=============== Diff against Etoys-kfr.79 ===============
Item was changed: ----- Method: TileMorph>>soundChoices (in category 'misc') ----- soundChoices
"Answer a list of sound choices. This applies only
to tiles that have sound-names as their literals,
viz. SoundTiles and SoundReadoutTiles."
"Answer a list of sound choices. This applies only to tiles that
have sound-names as their literals, viz. SoundTiles and SoundReadoutTiles."
| aList |
aList := SoundService default sampledSoundChoices
asOrderedCollection.
aList
removeAllFoundIn: (ScriptingSystem soundNamesToSuppress
copyWithout: literal).
aList addAll: AbstractSound soundNames contents.
aList _ SoundService default sampledSoundChoices
asOrderedCollection.
aList removeAllFoundIn: (ScriptingSystem soundNamesToSuppress
copyWithout: literal). ^ aList asSortedArray!
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
etoys-dev mailing list etoys-dev@squeakland.org http://lists.squeakland.org/mailman/listinfo/etoys-dev
etoys-dev@lists.squeakfoundation.org