Environment: Siren
A SoundEditor is the editor model for sound views.
Instance Variables:
interaction
copyBuffer
sound
markers
selection1
selection2
lastSelection
view
changed
cut
Cut out the current selection.
file
Save the receiver's sound to a file.
newCopy
Make a fresh copy of the receiver's model's sound.
play
Play the receiver's sound
playAll
Play the receiver's sound
playSelection
Play the receiver's sound
spawn
Open a soundfile editor.
accessing
Flush the selection and markers
list
mark: aSampleNumber
Set the receiver's model
markChanged: aBoolean
Set the flag to tell the receiver that the model's been changed.
markers
Answer the receiver's markers
markers: aCollection
Set the receiver's marker collection.
selection1
Answer the receiver's primary selection.
selection1: anInteger
Set the receiver's primary selection.
selection2
Answer the receiver's 2nd-ary selection.
selection2: anInteger
Set the receiver's secondary selection.
selectionStart
selectionStop
setModel: aModel
Set the receiver's model.
size
sound
Answer the receiver's model
sound: aSound
Set the receiver's model to be the given sound
view: aView
Set the receiver's view to be the given view
initialize release
Set up the proper default values for the receiver.
reinitialize
Set up the proper default values for the receiver.
selection
Take a mouse point and place a marker on the sound sample there.
selectedSound
Answer a sound from the receiver view's selection.
setSelection: aMarker
Set the primary selection to be the given marker.
MetaClass: SoundEditor class
instance creation
Answer an initialized instance.