Csound::Composition
use Csound::Composition; my $composition=Csound::Composition->new();
A Csound composition. Used to create a Csound::Orchestra and a Csound::Score.
my $composition = Csound::Composition->new();
my $t = $composition->t($start_tempo);
Returns a t statement which can be used to control the tempo at various beats in the composition:
$t->tempo($t₁, 70); # Increase tempo from t₁ $t->tempo($t₂, 90); # until $t->tempo($t₃, 95); # t₃.
my $composition = Csound::Composition->new(); $composition->play($instr, $t_start, $t_duration, @params);
$composition->write('filename');
Writes filename.orc and filename.sco.
filename.orc
filename.sco
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
1 POD Error
The following errors were encountered while parsing the POD:
You forgot a '=back' before '=head1'
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.