VirtualSound class

O som de uma nota do aluno virtual no motor.

Constructors

VirtualSound(SoundEngine _engine, {int channel = kVirtualChannel})

Properties

channel → int
O canal MIDI em que a nota soa.
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
noteOff({required int pitch, required double at}) → void
A soltura de pitch em at (AV07, modo espera; ver noteOn).
noteOn({required int pitch, required int velocity, required double at}) → void
O ataque de pitch em at (AV07, modo espera): a soltura chega depois, em noteOff, quando o aluno solta a tecla (ela não se sabe de antemão).
schedule({required int pitch, required int velocity, required double onAt, required double offAt}) → void
Agenda a nota pitch, com a velocity do plano, para soar em onAt e soltar em offAt (segundos do relógio do motor). Um instante anterior ao mínimo que o motor aceita (earliestScheduleSeconds) sai no mínimo; a soltura nunca cai antes do ataque.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited