News for hackers. Stuff that matters.
Re:Ask HN: Is this idea for audio compression technically fe... by rfergie on Thursday April 30, 2015 @07:42AM (#9464411)
Is this not the type of thing that every compression algorithm does?
Re:Ask HN: Is this idea for audio compression technically fe... by drKarl on Thursday April 30, 2015 @08:18AM (#9464563)
That's roughly what compression algorithms (zip, rar, arj, etc) do, identify repeated bits of information and store where there are ocurrences of these.

For lossy audio compression algorithms like mp3 and ogg, they use psychoacustic techniques, removing information the human ear can't hear, like very high or very low frequencies (that's why they're lossy). MP3 does something like slicing the signal in small fragments, applying some mathematical functions to them, like the Modified Discrete Cosine Transform (similar to Fourier Transform or FFT), then removing some components of it.

The technique you're describing would pretty much be equivalent of using samples and sequence them, which would be akin to reinventing the .mod format (.mod, .s3m, .xm etc)

To use samples though, you need the individual samples. To identify and extract the samples from the song would be much more difficult, unless maybe each instrument was in its own track or channel.

Re:Ask HN: Is this idea for audio compression technically fe... by mschuster91 on Thursday April 30, 2015 @08:07AM (#9464517)
Nope. MP3, for example, cuts off all frequencies outside the audible range and thus achieves large savings.
Re:Ask HN: Is this idea for audio compression technically fe... by GFK_of_xmaspast on Thursday April 30, 2015 @11:37AM (#9465720)
A 44.1Khz .wav file has no frequencies outside the audible range.
Re:Ask HN: Is this idea for audio compression technically fe... by joushou on Monday May 04, 2015 @04:43AM (#9485013)
How well do you hear 1Hz? A 44.1KHz doesn't have a lot of frequencies outside of the audible range, but that's not really that relevant, as that's only a minor trim compared to the crazy things lossy compression algorithms do here. Their main focus is having the result sound almost like the original. The audible sound-image is modified extensively by them, with focus on simplifications that are hard to notice for a human.
Re:Ask HN: Is this idea for audio compression technically fe... by pcf on Thursday April 30, 2015 @08:11AM (#9464536)
AFAIK, every other audio compression encodes each slice of sound separately. My idea looks at the song as a whole, which I believe would be something new in the audio field.
Re:Ask HN: Is this idea for audio compression technically fe... by GFK_of_xmaspast on Thursday April 30, 2015 @10:00AM (#9465068)
Why don't you start by taking a waveform, rip it from a CD or something, and start looking at the time-domain signal to see how many of these repeats there are.