News for hackers. Stuff that matters.
Re:Show HN: Wave function collapse algorithm by JonnieCache on Friday September 30, 2016 @12:46PM (#12613583)
How is music 1-dimensional?
Re:Show HN: Wave function collapse algorithm by elevensies on Friday September 30, 2016 @12:56PM (#12613633)
A microphone records amplitude of sound waves over time, i.e. the air pressure -- that's the dimension.
Re:Show HN: Wave function collapse algorithm by barrkel on Friday September 30, 2016 @01:04PM (#12613682)
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.

Re:Show HN: Wave function collapse algorithm by JonnieCache on Friday September 30, 2016 @01:06PM (#12613692)
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.

Re:Show HN: Wave function collapse algorithm by ssalazar on Friday September 30, 2016 @02:07PM (#12614132)
> Or you can represent the music as instructions to performers or synthesizers (ie notation) and you've got as many dimensions as you want.

These are just multiple signals in a single dimension (time).

Re:Show HN: Wave function collapse algorithm by tamana on Friday September 30, 2016 @02:25PM (#12614253)
1 physical dimension. Mathematically, each signal is a dimension.
Re:Show HN: Wave function collapse algorithm by derefr on Friday September 30, 2016 @02:51PM (#12614443)
We still call images "two-dimensional" when they're colored. There is a difference between continuous dimensions like space and time, and discrete dimensions like color channels in an image, or like instrument "tracks" of a song. The latter can have correlations, but they'll be sparse associations, rather than structural formulaic ones.
Re:Show HN: Wave function collapse algorithm by ssalazar on Friday September 30, 2016 @02:05PM (#12614116)
> 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.

Re:Show HN: Wave function collapse algorithm by BHSPitMonkey on Friday September 30, 2016 @04:28PM (#12615087)
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.