NAME

Music::Gestalt - Compose music using gestalts.

VERSION

Version 0.01

SYNOPSIS

use Music::Gestalt;

# see below

DESCRIPTION

This module helps to compose music using musical gestalts (forms). A gestalt is similar to a list in MIDI::Score format, but so far it only supports note events, and all parameters are expressed as values between 0 and 1. This allows for more flexible transformations of the musical material.

CONSTRUCTOR

new

my $g = Music::Gestalt->new(score => $score);

Creates a new Music::Gestalt object. The optional score argument receives a score in MIDI::Score format.

PROPERTIES

PitchLowest

Returns lowest pitch used in this gestalt.

PitchHighest

Returns highest pitch used in this gestalt.

PitchMiddle

Returns middle pitch of the range used in this gestalt.

PitchRange

Returns the pitch range used in this gestalt, ie. the pitches that occur will be pitch middle +/- pitch range.

VelocityLowest

Returns lowest velocity used in this gestalt.

VelocityHighest

Returns highest velocity used in this gestalt.

VelocityMiddle

Returns middle velocity of the range used in this gestalt.

VelocityRange

Returns the velocity range used in this gestalt, ie. the velocityes that occur will be velocity middle +/- velocity range.

Duration

Returns the duration of this gestalt.

Notes

Returns the note list of this gestalt.

METHODS

AsScore

Returns a structure representing the gestalt in MIDI::Score format.

Append

Appends other Music::Gestalt objects to this object

AUTHOR

Christian Renz, <crenz @ web42.com>

BUGS

Please report any bugs or feature requests to bug-music-gestalt@rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Music-Gestalt. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

Please also consider adding a test case to your bug report (.t script).

ACKNOWLEDGEMENTS

COPYRIGHT & LICENSE

Copyright 2005 Christian Renz, <crenz @ web42.com>, All Rights Reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.