class Pattern

Overview

Notes may be accented or unaccented. Unaccented note numbers are unchanged MIDI note numbers. Accented note numbers have their high eighth bit set.

Defined in:

beets/pattern.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(name : String, num_bars : Int32) #

[View source]

Class Method Detail

def self.accented(note_num) #

[View source]
def self.accented?(note_num) #

[View source]
def self.unaccented(note_num) #

[View source]
def self.velocity(note_num) #

[View source]

Instance Method Detail

def name : String #

[View source]
def name=(name : String) #

[View source]
def notes : Array(Array(UInt8)) #

[View source]
def notes=(notes : Array(Array(UInt8))) #

[View source]
def num_bars : Int32 #

[View source]
def num_bars=(num_bars : Int32) #

[View source]
def ticks_length #

FIXME hard-coded number of beats per bar


[View source]
def time_signature : TimeSignature #

[View source]
def time_signature=(time_signature : TimeSignature) #

[View source]