Squeak Class Documentation category index | class index  
 
PianoRollNoteMorph
  category: Sound-Scores
  superclass: Morph
  subclasses:

A PianoRollNoteMorph is drawn as a simple mroph, but it carries the necessary state to locate its source sound event via its owner (a PianorRollScoreMorph) and the score therein. Simple editing of pitch and time placement is provided here.

instance methods
  accessing
  indexInTrack
trackIndex

  as yet unclassified
 

  drawing
  drawOn:

  editing
  editPitch:
gridToNextQuarter
gridToPrevQuarter

  event handling
  handlesMouseDown:
mouseDown:
mouseMove:
mouseUp:

  geometry
  fullBounds

  initialization
  trackIndex:indexInTrack:

  menu
  invokeNoteMenu:

  note playing
  noteInScore
noteOfDuration:
playSound
playSound:
soundOfDuration:

  selecting
  deselect
select
selectFrom:
selectNotes:
selected

class methods
  no messages
 

instance methods
  accessing top  
 

indexInTrack


 

trackIndex


  as yet unclassified top  

  drawing top  
 

drawOn:


  editing top  
 

editPitch:


 

gridToNextQuarter


 

gridToPrevQuarter


  event handling top  
 

handlesMouseDown:

Do I want to receive mouseDown events (mouseDown:, mouseMove:, mouseUp:)?


 

mouseDown:

Handle a mouse down event. The default response is to let my eventHandler, if any, handle it.


 

mouseMove:

Handle a mouse move event. The default response is to let my eventHandler, if any, handle it.


 

mouseUp:

Handle a mouse up event. The default response is to let my eventHandler, if any, handle it.


  geometry top  
 

fullBounds

Return the bounding box of the receiver and all its children. Recompute the layout if necessary.


  initialization top  
 

trackIndex:indexInTrack:


  menu top  
 

invokeNoteMenu:

Invoke the note's edit menu.


  note playing top  
 

noteInScore


 

noteOfDuration:


 

playSound

This STARTS a single long sound. It must be stopped by playing another or nil.


 

playSound:


 

soundOfDuration:


  selecting top  
 

deselect


 

select


 

selectFrom:


 

selectNotes:


 

selected


class methods
  no messages top