MELODIZER

[CLASS]


Melodizer
Function Reference
SLOTS:

- SELF :object
- INPUT-CHORDS :The input chords on top of which the melody will be played in the form of a voice object.
- INPUT-RHYTHM :The rhythm of the melody or a melody in the form of a voice object.
- KEY :The key the melody is in (default : C).
- MODE :The mode the melody is in (default : major).
- TOOL-MODE :The mode of the tool. melody-finder allows to generate melodies based on a rhythm input, while variation-maker allows to make variations of a melody
- VARIETY :The minimal variety we want for the solution, expressed as a number of notes. (does nothing for now)
- GLOBAL-INTERVAL :global interval that the produced melody should cover (optional constraint)
- MIN-PITCH :minimum pitch in the generated melody (optional constraint)
- MAX-PITCH :maximum pitch in the generated melody (optional constraint)
- OPTIONAL-CONSTRAINTS :a list of optional constraint names that should be added to the problem
- RESULT :A temporary list holder to store the result of the call to the CSPs, shouldn't be touched.
- STOP-SEARCH :A boolean variable to tell if the user wishes to stop the search or not.
- SOLUTION :The current solution of the CSP in the form of a voice object.
- SOLUTIONS-LIST :The list of all the solutions saved by the user for the current search.
- MOTIFS-LIST :The list of motifs created by the user.
- PHRASES-LIST :The list of phrases created by the user.
- PERIODS-LIST :The list of periodes created by the user.
- OUTPUT-SOLUTION :The selected solution for the current search.
- OUTPUT-MOTIF :The selected motif.
- OUTPUT-PHRASE :The selected phrase.
- OUTPUT-PERIOD :The selected period.
- MELODY :The final melody generated by combining different elements.

Description:

This class implements Melodizer.
Melodizer is a constraints based application aiming to improve composer's expression and exploration abilities
by generating interesting and innovative melodies based on a set of constraints expressing musical rules.
More information and a tutorial can be found at https://github.com/sprockeelsd/Melodizer



Auto doc generation by OpenMusic 6.20 © 2021 IRCAM