Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-14 Thread Ethan Duni
Any noise other than white noise is correlated, by definition. That's what "white noise" means - uncorrelated. Correlation in the time domain is equivalent to non-constant shape in the frequency domain. Ethan On Thu, Apr 14, 2016 at 12:24 PM, Seth Nickell wrote: > Maybe

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-14 Thread Stefan Stenzel
Dude is called Nyquist, and noise is not generally uncorrelated. White noise usually is. Pink noise is not. > On 14 Apr 2016, at 15:12 , Theo Verelst wrote: > > HI, > > Talking about "perfect noise", you may want to consider these theoretics: > > - what do you do near

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-14 Thread Theo Verelst
HI, Talking about "perfect noise", you may want to consider these theoretics: - what do you do near the Niquist frequency ? Or more practical: noise that gets near the NF will probably cause strange effects in practical DACs and when the digital signal is to be interpreted as "perfectly

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-13 Thread Seth Nickell
wow, just wow. Thank you so much Stefan!!! I'm integrating this right now. -Seth On Tue, Apr 12, 2016 at 2:27 PM Stefan Stenzel < stefan.sten...@waldorfmusic.de> wrote: > Seth, > > As Evan pointed out, float would be OK for many octaves, so I just > uploaded a 52 octaves generator for floats. >

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Stefan Stenzel
Seth, As Evan pointed out, float would be OK for many octaves, so I just uploaded a 52 octaves generator for floats. To make it output doubles just change this: void generate16(float *out) to this: void generate16(double *out) int pink52.h Stefan > On 12 Apr 2016, at 22:13 , Seth

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Stefan Stenzel
Dammit, you’re right! Good thing is that it perhaps makes sense now to offer a generator with enough octaves, just added a 52 octave pink noise generator. Note that I did not wait for the lowest octave to change state for testing, even at high sample rates this takes some time. But I am

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Seth Nickell
wow stefan, this looks ideal! Would you be interested in a PR making double precision a #define option? -seth On Tue, Apr 12, 2016 at 10:39 AM Evan Balster wrote: > As was mentioned earlier, the top-octave scale is 2^16 times the > bottom-octave scale (actually 2^(31/2) to be

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Evan Balster
As was mentioned earlier, the top-octave scale is 2^16 times the bottom-octave scale (actually 2^(31/2) to be pedantic). Pink noise halves in *power* each octave, not amplitude. I remark because I made the same mistake in reasoning earlier. – Evan Balster creator of imitone

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Stefan Stenzel
Seth, Did you consider my pink noise implementation https://github.com/Stenzel/newshadeofpink ? There is one implementation with 20 octaves in pink-low.h - doing much more octaves would require to rewrite it using double precision. Spectrum of generated noise is not yet perfect but slightly

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-12 Thread Seth Nickell
; need 32 octaves? >>> >>> and then how closely, in dB, does your pink noise need to conform to the >>> 1/f power spectrum? +/- 0.1 dB? 0.01 dB? >>> >>> all this can be done with a good white noise source and a filter >>> alternating real poles and

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Ross Bencina
On 12/04/2016 10:26 AM, Evan Balster wrote: I haven't yet come across an automated process for designing high-quality pinking filters, so if someone can offer one up I'd also love to hear about it! Last time that I checked (about a year and a half ago) the following was the best reference

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Al Clark
--- Original Message ------------ Subject: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves) From: "Seth Nickell" <snick...@gmail.com <mailto:snick...@gmail.com>> Date: Mon, Ap

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread James McCartney
e ratios, > which is why the magnitude response for a pinking filter is 1/sqrt(f) or -3 > dB per octave. > > > > > Original Message ------------ > Subject: Re: [music-dsp] High quality really broad bandwidth pinknoise > (ideally m

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Seth Nickell
-spaced in log frequency. the tighter the > spacing, the more pole/zero pairs you will need and the better conformance > to -3 dB per decade. > > r b-j > > -------- Original Message ------------ > > Subject: Re: [music-dsp] High quality really

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread robert bristow-johnson
quency. �the tighter the spacing, the more pole/zero pairs you will need and the better conformance to -3 dB per decade. r b-j Original Message Subject: Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 o

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Seth Nickell
alternating real poles and real zeros placed at just the right values. for >>> 32 octaves, i would hate to guess how many pole/zero pairs you would need. >>> maybe 10. >>> >>> >>> >>> r b-j >>> &

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Evan Balster
ne with a good white noise source and a filter >> alternating real poles and real zeros placed at just the right values. for >> 32 octaves, i would hate to guess how many pole/zero pairs you would need. >> maybe 10. >> >> >> >> r b-j >> >> >&g

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread robert bristow-johnson
Subject: Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves) From: "James McCartney" <asy...@gmail.com> Date: Mon, April 11, 2016 7:46 pm To: music-dsp@mu

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Seth Nickell
many pole/zero pairs you would need. > maybe 10. > > > > r b-j > > > ---- Original Message -------- > Subject: [music-dsp] High quality really broad bandwidth pinknoise > (ideally more than 32 octaves) > From: &qu

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Seth Nickell
can be done with a good white noise source and a filter >> alternating real poles and real zeros placed at just the right values. for >> 32 octaves, i would hate to guess how many pole/zero pairs you would need. >> maybe 10. >> >> >> >> r b-j >> >

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread James McCartney
lues. for >> 32 octaves, i would hate to guess how many pole/zero pairs you would need. >> maybe 10. >> >> >> >> r b-j >> >> >> ---- Original Message >> Subject: [music-dsp]

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread James McCartney
uld need. > maybe 10. > > > > r b-j > > > ---- Original Message -------- > Subject: [music-dsp] High quality really broad bandwidth pinknoise > (ideally more than 32 octaves) > From: "Seth Nickell" <snick...@

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Evan Balster
Hey, Seth -- Check out the Voss-McCartney algorithm on that page. It's wonderfully cheap and you can extend it to as many octaves as you like without an increase in operations per sample. Obviously the resulting noise isn't perfect -- it's a little distorted near Nyquist and has some ripple

Re: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread robert bristow-johnson
Subject: [music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves) From: "Seth Nickell" <snick...@gmail.com> Date: Mon, April 11, 2016 12:57 pm To: music-dsp@music.columbia.edu ---

[music-dsp] High quality really broad bandwidth pinknoise (ideally more than 32 octaves)

2016-04-11 Thread Seth Nickell
I'm applying an iterative function to an input signal, in this instance pinknoise. Because of the iteration, spectral characteristics in input signals tend to "blow up" really quickly, so I'm looking for a really high bandwidth and high quality source of pink noise. My understanding is that most