CompingPlan class

O que se pede para pôr um molde numa forma: o padrão, o compasso em tempos, o swing e quantos compassos tocados tem uma volta. moldeBarOf diz qual compasso do molde toca o compasso barsPerChorus de uma volta (base 0); o padrão é a ordem, com o molde de dois compassos repetido.

Annotations

Constructors

CompingPlan({required CompingPattern pattern, required double beatsPerBar, required int swing, required int barsPerChorus, int moldeBarOf(int bar)?})
const

Properties

barsPerChorus → int
final
beatsPerBar → double
final
hashCode → int
The hash code for this object.
no setterinherited
moldeBarOf → int Function(int bar)?
final
pattern → CompingPattern
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
swing → int
final

Methods

moldeOf(int bar) → int
O compasso do molde que toca o compasso bar de uma volta.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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