Csound - Create Csound scores and instruments
use Csound::Composition; use Csound::Instrument; my $composition = Csound::Composition->new(); my $instrument_one = Csound::Instrument->new(…); my $instrument_two = Csound::Instrument->new(…); # go from there …
$is_a_note = Csound::is_note('d5'); $is_a_note = Csound::is_note('f11'); $is_a_note = Csound::is_note('c♯4'); $is_a_note = Csound::is_note('b♭9'); $is_not_a_note = Csound::is_note('foo');
my $pch = Csound::note_to_pch('d♯4'); # returns 4.03
Copyright © 2017 René Nyffenegger, Switzerland. All rights reserved. This program is free software; you can redistribute it and/or modify it under the terms of the the Artistic License (2.0). You may obtain a copy of the full license at: http://www.perlfoundation.org/artistic_license_2_0
The source code is on github. Meaningful pull requests are welcome.
To install Csound, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Csound
CPAN shell
perl -MCPAN -e shell install Csound
For more information on module installation, please visit the detailed CPAN module installation guide.