fugueOutline: Markov chain outline model of a fugue

Description Usage Arguments Value

View source: R/fugueOutline.R

Description

Model a fugue outline as a random walk of a subject through different voices, keys, and transformations via 3 Markov chains

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
fugueOutline(
  N,
  m,
  P.voice,
  P.transform,
  P.key,
  P.answer,
  keys = c(0, 2, 4, 9),
  answers = c(0, 4, 5, 7)
)

Arguments

N

number of statements of the subject

m

number of voices in the fugue

P.voice

the probability transition matrix of the voice-chain: which voice states the subject at what time

P.transform

the probability transition matrix of the transformations of the subject

P.key

the probability transition matrix of the subject-keys

P.answer

the probability transition matrix of the answer-keys

keys

the subject-keys state space

answers

the answer-keys state-space

Value

data.frame containing time, voice, key, transform


shill1729/synthesizer documentation built on July 9, 2020, 12:52 a.m.