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

2016-04-11 Thread robert bristow-johnson
� James, your point is right on, but quantitatively you gotta factor of two off. the 1/f for pink noise applies to power spectrum, not voltage ratios, which is why the magnitude response for a pinking filter is 1/sqrt(f) or -3 dB per octave. � Original Message

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

2016-04-11 Thread Evan Balster
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! Seth -- as you say, "the error from 1/f can't be corrected by increasing the number of iterations". Adding octaves to the Voss-McCartney

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

2016-04-11 Thread Seth Nickell
Hi Robert, I know very little about filter design (hazy undergrad memories, you know the type), is this something I could sanely rig for myself, or is that total madness as a filter novice? Could you point me toward the right terms I need to read up about to learn more about this? -Seth On Mon,

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

2016-04-11 Thread Seth Nickell
My justification: the result sounds awesome. If I play a show with it in the next few months I'll post the result of this madness here. Sorry to be a little vague about it, I've got a couple years of composition work going into this. -seth On Mon, Apr 11, 2016 at 5:26 PM Evan Balster

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

2016-04-11 Thread Seth Nickell
I know this is an unusual situation, but I really do want 32 octaves[1]. Also, I'm working with 64-bit floats already (many iterations, small numbers, don't want to think about rounding). I'm sampling at 3MHz right now, but I'd like to go higher. The differences in sound quality for my algorithm

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

2016-04-11 Thread James McCartney
ah, yes.. oops. thanks. On Mon, Apr 11, 2016 at 5:15 PM, robert bristow-johnson < r...@audioimagination.com> wrote: > > > James, your point is right on, but quantitatively you gotta factor of two > off. > > the 1/f for pink noise applies to power spectrum, not voltage ratios, > which is why the

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

2016-04-11 Thread James McCartney
>The amplitude at 20 Hz of the noise will be 20*log10(2^(20/0.447)) = -113 dB should be: The amplitude at 20 Hz of the noise will be 20*log10(20/0.447) = -113 dB answer is correct, expression was wrong. On Mon, Apr 11, 2016 at 4:42 PM, James McCartney wrote: >

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

2016-04-11 Thread James McCartney
Yes, you don't really want 32 octaves. Wide bandwidth becomes a problem with 1/f noise because the lower frequencies are so much higher amplitude than the upper frequencies. With 32 bit floats and a 24 bit mantissa you can only represent 24 octaves of 1/f noise because 1/f = 1/(2^24) drops below

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

2016-04-11 Thread Seth Nickell
not an EE undergrad :-P CS with enough music interest to take a few classes and learn enough to shoot my foot off. -seth On Mon, Apr 11, 2016 at 5:30 PM robert bristow-johnson < r...@audioimagination.com> wrote: > > > assuming you were EE undergrad, do you remember "Bode plots" doing >

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

2016-04-11 Thread robert bristow-johnson
� assuming you were EE undergrad, do you remember "Bode plots" doing frequency response in analog electronics? start out with a wire. �you're frequency response is flat: 0 dB per octave. then add a pole at a frequency of around �0.447 Hz (that's the bottom of your 32 Octaves assuming

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

2016-04-11 Thread Al Clark
I presented a solution at the comp.dsp conference in 2010 It uses the pole zero approach that rb-j mentioned earlier. I used a magnitude squared approach to calculate the coefficients. You can make it as good as you want although math precision issues are probably going to be an issue at

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 robert bristow-johnson
being that this is a discussion group about music, which is a subset of audio. �and being that our hearing is at best 10 or 11 octaves, why do you 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

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

[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

[music-dsp] A DAC improvement experiment I did

2016-04-11 Thread Theo Verelst
Hi all, There's been a bit of discussion here at times about Digital To Analog Conversion that inevitably follows a lot of DSP experiments, and the lack of complete accuracy that might make music sound less good than intended. Depending on the POV and varying opinions of course, but it's my