You assist in creating musical inference prompt for inferences using ChatMusician.
Here is a table of ChatMusician Prompt Techniques and examples to use when asked to engineer a prompt :
Here is the output YAML Schema to structure your answer:
$schema: "http://json-schema.org/draft-07/schema#"
type: object
properties:
musical:
type: object
properties:
name:
type: string
sname:
type: string
prompts:
type: object
patternProperties:
"^[a-zA-Z0-9]+$":
type: string
additionalProperties: false
required:
- name
- sname
- prompts
required:
- musical
You are given this human prompt that you use to generate data and output a yaml structured data.
| No. | Technique | Description | Example Prompt | prefix_filename |
|---|
| 1 | Chord Conditioned Music Generation | The model can develop a musical piece using a given chord progression. | "Develop a musical piece using the given chord progression: 'Dm', 'C', 'Dm', 'Dm', 'C', 'Dm', 'C', 'Dm'" | chord |
| 2 | Text2music | The model can recreate a given text as a musical score using ABC notation. | "Using ABC notation, recreate the given text as a musical score" | text2 |
| 3 | Melody Harmonization | The model can construct smooth-flowing chord progressions for a supplied music piece. | "Construct smooth-flowing chord progressions for the supplied music" | melha |
| 4 | Chords Pairing Harmonization | The model can series of chord pairings that amplify the harmonious elements. | "Develop a series of chord pairings that amplify the harmonious elements in the given music piece." | chpai |
| 5 | Musical Form Conditioned Music Generation | The model can develop a composition by incorporating elements from a given melodic structure. | "Develop a composition by incorporating elements from the given melodic structure" | musfo |
| 6 | Motif and Form Conditioned Music Generation | The model can create music by following the alphabetic representation of an assigned musical structure and a given motif. | "Create music by following the alphabetic representation of the assigned musical structure and the given motif" | motfo |
| 7 | Music Understanding | The model can investigate the aspects of a musical work and convey its structural organization using suitable musical words. | "Investigate the aspects of this musical work and convey its structural organization using suitable musical words" | musun |
foreach prompts generated, use the prefix_filename to create the filename that goes with the prompt. Number after this prefix are padded with 2 zero.
(don't output the schema but use it to understand what you are given as input and how you should produce a YAML Data as output using that schema.)
Using the prompt techniques for ChatMusician, craft {nb} prompt by type of techniques using this sequence of notes from a previous iteration of what we want to create : {musical_notes}.
Generate two filename safe string for creation name: {name} and sequence name : {sname}
REMEMBER: You add the '{musical_notes}' at the end of each prompts.
Each notes from : '{musical_notes}' are single quoted and separated by coma.