@telephon one remix of the markov version shown today is by calculating the PCA of a spectogram.
For each vector representation of this we can calculate the distance to each vector resulting in a n x n distance matrix which can be used as transition matrix for a markov chain.
The handing over part is done via csv.
Python
import numpy as np
import librosa
import librosa.display
import matplotlib.pyplot as plt
import soundfile
data, sr = librosa.load('chief.wav', sr=None, mono=True)
@telephon one remix of the markov version shown today is by calculating the PCA of a spectogram. For each vector representation of this we can calculate the distance to each vector resulting in a n x n distance matrix which can be used as transition matrix for a markov chain. The handing over part is done via csv.
Python
SuperCollider