| 1 | 13 | ▶ | use v5.26; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 13 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | 13 | ▶ | use Feature::Compat::Class; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 4 | |||
| 5 | # ABSTRACT: Control Change event class | ||
| 6 | |||
| 7 | |||
| 8 | package MIDI::Stream::Event::ControlChange; | ||
| 9 | class MIDI::Stream::Event::ControlChange :isa( MIDI::Stream::Event::Channel ); | ||
| 10 | |||
| 11 | 13 | our $VERSION = '0.006'; | |
| 12 | |||
| 13 | 13 | ▶ | use MIDI::Stream::Tables qw/ combine_bytes /; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | |||
| 16 | 13 | field $control :reader; | |
| 17 | 13 | field $value :reader; | |
| 18 | |||
| 19 | 45 | ▶ | ADJUST { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 20 | 45 | $control = $self->message->[ 1 ]; | |
| 21 | 45 | $value = $self->message->[ 2 ]; | |
| 22 | } | ||
| 23 | |||
| 24 | 13 | 1; | |
| 25 | |||
| 26 | __END__ | ||