Packagecom.noteflight.standingwave2.input
Classpublic class MicrophoneInput
InheritanceMicrophoneInput Inheritance flash.events.EventDispatcher

The MicrophoneInput class records audio input to a Sample object in which digitized audio accumulates.



Public Properties
 PropertyDefined By
  frameCount : Number
[read-only]
MicrophoneInput
  recording : Boolean
[read-only]
MicrophoneInput
  sample : Sample
[read-only]
MicrophoneInput
Public Methods
 MethodDefined By
  
MicrophoneInput(microphone:Microphone)
MicrophoneInput
  
clear():void
MicrophoneInput
  
record():void
MicrophoneInput
  
stop():void
MicrophoneInput
Events
 Event Summary Defined By
  Dispatched as data is recorded to reflect a change in the underlying sample.MicrophoneInput
Property Detail
frameCountproperty
frameCount:Number  [read-only]

This property can be used as the source for data binding.


Implementation
    public function get frameCount():Number
recordingproperty 
recording:Boolean  [read-only]


Implementation
    public function get recording():Boolean
sampleproperty 
sample:Sample  [read-only]


Implementation
    public function get sample():Sample
Constructor Detail
MicrophoneInput()Constructor
public function MicrophoneInput(microphone:Microphone)



Parameters
microphone:Microphone
Method Detail
clear()method
public function clear():void

record()method 
public function record():void

stop()method 
public function stop():void

Event Detail
change Event
Event Object Type: flash.events.Event

Dispatched as data is recorded to reflect a change in the underlying sample.