Stream/Event/PolyTouch.pm

filter: Statementstmt 100% 14 / 14 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 18 / 18 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« Stream/Event/PitchBend.pm ↑ Summary Stream/Event/ProgramChange.pm »
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: Polyphonic After Touch event class
6  
7  
8 package MIDI::Stream::Event::PolyTouch;
9 class MIDI::Stream::Event::PolyTouch :isa( MIDI::Stream::Event::Channel );
10  
11 13 our $VERSION = '0.006';
12  
13  
14 13 field $note :reader;
15 13 field $pressure :reader;
16  
17 8 ▶ADJUST {
Subroutine __ANON__: called CC=1 SCAR=0.0
18 8 $note = $self->message->[ 1 ];
19 8 $pressure = $self->message->[ 2 ];
20 }
21  
22 13 1;
23  
24 __END__
« Stream/Event/PitchBend.pm ↑ Summary Stream/Event/ProgramChange.pm »