Lurker News

Comments (122) 39 threads

Show all comments

Showing thread 7 of 39

twfarland3 replies#
Mindblowing... could this technique also be applied to music?
kowdermeister1 reply#
It should be, at least on audio level it would work. It would make a nice VST :)
mistagiggles#
Something similar does exist: http://labs.echonest.com/Uploader/index.html

It detects places in songs where the sound is similar, and can jump between these places in the track to make a seamless unending song.

ExUtumno2 replies#
I doubt it, because music is 1-dimensional and for 1-dimensional arrays WFC is just a Markov chain.
ssalazar2 replies#
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).

Continue this thread — 2 replies

elihu#
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)

JonnieCache1 reply#
How is music 1-dimensional?
elevensies2 replies#
A microphone records amplitude of sound waves over time, i.e. the air pressure -- that's the dimension.
barrkel2 replies#
You can also view digital images as 1-dimensional arrays of bits. (This is roughly how fax machines work.) That doesn't mean they can't also be 2-dimensional images, or representations of 3-dimensional images, or indeed an encoding of a 3D scene directly.

Similarly, you can unpack a linear sequence of sound samples into a two-dimensional plot of frequency and amplitude with a fourier transform.

JonnieCache3 replies#
Or you can represent the music as instructions to performers or synthesizers (ie notation) and you've got as many dimensions as you want.

Music is not sound, it's made of sounds. The fact that it gets mixed down to a single waveform when you consume it, either in the studio or when it hits your ear, isnt particularly relevant to how its made. I suppose the same is true of images though.
Markov chains applied to midi have been able to make "locally similar" stuff since forever. I wonder how this algorithm could be applied to higher-order aspects of music notation.

Continue this thread — 3 replies

ssalazar#
> Similarly, you can unpack a linear sequence of sound samples into a two-dimensional plot of frequency and amplitude with a fourier transform.

Fourier transform by itself is still 1D (amplitude vs. frequency); to get to 2 dimensions you can plot it over time i.e. a spectrogram.

BHSPitMonkey#
You're describing audio, not music. Music as data isn't quantified in the same way as audio (see the various forms of musical notation that exist), and in fact music displayed in a sequencer or tracker looks pretty similar to the 2D bitmaps in the article.
toxik#
Perhaps possible to slice the music wave data into frames, perform FFT to get a spectrogram and use that as tiles?