scamp_extensions.parsing.midi.Note

class scamp_extensions.parsing.midi.Note(track, channel, pitch, volume, start_time, length)

Bases: tuple

Inherited Methods

count(value, /)

Return number of occurrences of value.

index(value[, start, stop])

Return first index of value.

Attributes

channel

Alias for field number 1

length

Alias for field number 5

pitch

Alias for field number 2

start_time

Alias for field number 4

track

Alias for field number 0

volume

Alias for field number 3

channel

Alias for field number 1

count(value, /)

Return number of occurrences of value.

index(value, start=0, stop=9223372036854775807, /)

Return first index of value.

Raises ValueError if the value is not present.

length

Alias for field number 5

pitch

Alias for field number 2

start_time

Alias for field number 4

track

Alias for field number 0

volume

Alias for field number 3