Squeak Class Documentation category index | class index  
 
ChatNotes
  category: Network-Audio Chat
  superclass: StringHolder
  subclasses:

No comment. Sorry.

instance methods
  accessing
  name
name:
notesList
notesListIndex
notesListIndex:
recorder

  button commands
  record
save
stop

  file i/o
  audioDirectory
deleteSelection
getNextName
play
saveName
saveSound
storeAIFFOnFile:
updateNotes

  initialization
  initialize
loadNotes
openAsMorph

  morphic
  defaultBackgroundColor
initialExtent
notesMenu:
textMorphString

  testing
  isPlaying
isPlaying:
isRecording
isRecording:
isSaving
isSaving:
isStopped

class methods
  instance creation
  openAsMorph

instance methods
  accessing top  
 

name

Answer a name for the receiver. This is used generically in the title of certain inspectors, such as the referred-to inspector, and specificially by various subsystems. By default, we let the object just print itself out..


 

name:


 

notesList


 

notesListIndex


 

notesListIndex:


 

recorder


  button commands top  
 

record


 

save


 

stop


  file i/o top  
 

audioDirectory


 

deleteSelection

Delete the selection in the list


 

getNextName

Return the next name available.
All names are of the form '#.name' and '#.aiff'.


 

play


 

saveName

Save the name to the '.name' file.


 

saveSound

Move the sound from the recorder to the files.


 

storeAIFFOnFile:

In a better design, this would be handled by SequentialSound,
but I figure you will need a new primitive anyway, so it can
be implemented at that time.


 

updateNotes

Probably not necessary unless several audio notes are
open at the same time


  initialization top  
 

initialize

Initialize the state of the receiver with its default contents.


 

loadNotes

Load notes from the files


 

openAsMorph


  morphic top  
 

defaultBackgroundColor

In a better design, this would be handled by preferences.


 

initialExtent

Nice and small--that was the idea.
It shouldn't take up much screen real estate.


 

notesMenu:

Simple menu to delete notes


 

textMorphString


  testing top  
 

isPlaying


 

isPlaying:


 

isRecording


 

isRecording:


 

isSaving


 

isSaving:


 

isStopped


class methods
  instance creation top  
 

openAsMorph