Description Usage Arguments Details Value
View source: R/markov_minimalism.R
Generate a minimalist piece via Markov processes
1 2 3 4 5 6 7 | minimal_piece(
sample_path,
comp_param,
arrangement,
harmonicsP,
state_space_info
)
|
sample_path |
the sample path of the entry-exit process |
comp_param |
the composition parameters, see details |
arrangement |
the arrangement input-data, see details |
harmonicsP |
the harmonics input data, see details |
state_space_info |
the state-space input data, see details |
The argument comp_param must be a named list containing,
num_voices the number of voices in the piece, a positive integer
nb the number of beats per measure
bpm the beats per minute
The argument arrangement must be a named list with elements
voice_entries, the list of vectors of indexes for voices played in a given section
melody_Plist the list of probability transition matrices for the DTMC of melodies per voice
waiting_times the duration of each section, in measures.
The argument state_space_info must be a named list with elements
state_lengths, number of melodies per voice
melody_states, the melody-state space for each voice
rhythm_states, the rhythm-state space for each voice
lengthOfMelodies, the duration of each melody per voice
list
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.