| 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: SysEx event class | ||||||||||||
| 6 | |||||||||||||
| 7 | package MIDI::Stream::Event::SysEx; | ||||||||||||
| 8 | class MIDI::Stream::Event::SysEx :isa( MIDI::Stream::Event ); | ||||||||||||
| 9 | |||||||||||||
| 10 | |||||||||||||
| 11 | 13 | our $VERSION = '0.006'; | |||||||||||
| 12 | |||||||||||||
| 13 | |||||||||||||
| 14 | 13 | field $msg_str; | |||||||||||
| 15 | 13 | field $msg :reader = []; | |||||||||||
| 16 | |||||||||||||
| 17 | 0 | ▶ | method msg_str { | ||||||||||
|
Subroutine
msg_str: not called CC=2 SCAR=17.9
Pod
documented
| |||||||||||||
| 18 | 0 | ▶ | $msg_str //= join '', map { chr } $msg->@*; | ||||||||||
|
Condition0%0/2
$msg_str //= join("", map({chr $_;} @$msg))
MC/DC0%0/1
$msg_str //= join("", map({chr $_;} @$msg))
$msg_str
Truth table0%0/2
A
A= $msg_str
| |||||||||||||
| 19 | } | ||||||||||||
| 20 | |||||||||||||
| 21 | 4 | ▶ | ADJUST { | ||||||||||
|
Subroutine
__ANON__: called CC=2 SCAR=7.2
| |||||||||||||
| 22 | 4 | ( undef, $msg->@* ) = $self->message->@*; | |||||||||||
| 23 | 4 | ▶ | delete $msg->[ -1 ] if $msg->[ -1 ] == 0xf7; | ||||||||||
|
Branch: 1 branch
| |||||||||||||
| 24 | } | ||||||||||||
| 25 | |||||||||||||
| 26 | 13 | 1; | |||||||||||
| 27 | |||||||||||||
| 28 | __END__ | ||||||||||||