Comment by twfarland

10 years ago

Mindblowing... could this technique also be applied to music?

I doubt it, because music is 1-dimensional and for 1-dimensional arrays WFC is just a Markov chain.

  • There are three-dimensional views of music, e.g. time-frequency-amplitude. See https://en.wikipedia.org/wiki/Spectrogram

    • Another multi-dimensional abstraction for music that's at a bit higher level is a musical lattice. The number of dimensions is limited by the largest prime you accept in the ratios you use. (Typical western music approximated by 12-tone equal temperament uses primes of 2, 3, and 5. Powers of 2 are often ignored because notes an octave apart are perceived to be sort of equivalent for harmonic purposes.)

      https://en.wikipedia.org/wiki/Lattice_(music)

    • Spectrogram is 2D (plot of amplitude given time and frequency).

      Its interesting to think about it for a spectrogram because "similarity" is different in each dimension (freq vs. time). Frequency is also perceived logarithmically, so you would probably want to convert to e.g. Mel scale before applying this algorithm (a 2000-2100Hz change is much subtler than a 200-300Hz change).

      2 replies →

Perhaps possible to slice the music wave data into frames, perform FFT to get a spectrogram and use that as tiles?