I'm trying to use a script to create a bunch of similar sounds and I want to add all these sounds to the inputs field of a SelectableSound.
I tried adding Sounds to an array and then setting the SoundCollectionVariable sound to my array but that didn't work.
Here's the script I've got so far...
| scrubbers s|
scrubbers := SoundCollection new.
('balloon-short.aiff' sampleFileNamesInSameFolder) do: [:file|
s := scrubber samplefile: file.
scrubbers add: s.
].
selector start: 0 selectorInputs: scrubbers.
"add:" isn't a valid message for SoundCollection so I got a bit stuck here.
Here's my Sound...
Am I going in the right direction?