| 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: Program Change event class | ||
| 6 | |||
| 7 | |||
| 8 | package MIDI::Stream::Event::ProgramChange; | ||
| 9 | class MIDI::Stream::Event::ProgramChange :isa( MIDI::Stream::Event::Channel ); | ||
| 10 | |||
| 11 | 13 | our $VERSION = '0.006'; | |
| 12 | |||
| 13 | |||
| 14 | 13 | field $program :reader; | |
| 15 | |||
| 16 | 4 | ▶ | ADJUST { |
|
Subroutine
__ANON__: called CC=1 SCAR=0.0
| |||
| 17 | 4 | $program = $self->message->[1]; | |
| 18 | } | ||
| 19 | |||
| 20 | 13 | 1; | |
| 21 | |||
| 22 | __END__ | ||