Csound::Composition
SYNOPSIS
use
Csound::Composition;
my
$composition
=Csound::Composition->new();
DESCRIPTION
A Csound composition. Used to create a Csound::Orchestra and a Csound::Score.
METHODS
new
my
$composition
= Csound::Composition->new();
t
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₃.
play
my
$composition
= Csound::Composition->new();
$composition
->play(
$instr
,
$t_start
,
$t_duration
,
@params
);
play
$composition
->
write
(
'filename'
);
Writes filename.orc
and filename.sco
.
Copyright
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:
- Around line 41:
You forgot a '=back' before '=head1'