Re: [music-dsp] Generating pink noise in Python

2016-01-29 Thread Allen Downey
Thanks! On Fri, Jan 29, 2016 at 3:13 PM, James McCartney wrote: > > And in 2006 there was another discussion on this very mailing list, where >> Larry Trammell suggested a stochastic version of the algorithm. This page >> has the details: http://home.earthlink.net/~ltrammell/tech/pinkalg.htm > >

[music-dsp] Generating pink noise in Python

2016-01-29 Thread James McCartney
> And in 2006 there was another discussion on this very mailing list, where > Larry Trammell suggested a stochastic version of the algorithm. This page > has the details: http://home.earthlink.net/~ltrammell/tech/pinkalg.htm Actually the stochastic algorithm was earlier suggested by Magnus Jonss

Re: [music-dsp] Generating pink noise in Python

2016-01-24 Thread Allen Downey
Impressive! On Sun, Jan 24, 2016 at 3:14 PM, Paul Stoffregen wrote: > FWIW, I implemented Stefan's New Shade of Pink in the Teensy Audio > Library. Running on an ARM Cortex-M4 microcontroller at 96 MHz, it > consumes approx 6% CPU to generate 44.1 kHz sample rate pink noise data. > > Sound code

Re: [music-dsp] Generating pink noise in Python

2016-01-24 Thread Paul Stoffregen
FWIW, I implemented Stefan's New Shade of Pink in the Teensy Audio Library. Running on an ARM Cortex-M4 microcontroller at 96 MHz, it consumes approx 6% CPU to generate 44.1 kHz sample rate pink noise data. Sound code is here, if anyone's interested. https://github.com/PaulStoffregen/Audio/bl

Re: [music-dsp] Generating pink noise in Python

2016-01-22 Thread Sound of L.A. Music and Audio
Just for clarification: In theory only one inverter with feedback is required in order to have an instable, oscillating circuit. Practically the technology is too quick and the amplitude will not be high enough to define good levels. More than one of them will lead to steady states of the volta

Re: [music-dsp] Generating pink noise in Python

2016-01-22 Thread STEFFAN DIEDRICHSEN
> On 22.01.2016|KW3, at 02:50, robert bristow-johnson > wrote: > > i think i could code whatever into a sufficiently general-purpose DSP (so > the Analog Devices "Sigma" series might be left out of that class). but i > cannot understand what some of the components (inverter chain) do in you

Re: [music-dsp] Generating pink noise in Python

2016-01-21 Thread robert bristow-johnson
Original Message Subject: Re: [music-dsp] Generating pink noise in Python From: "Sound of L.A. Music and Audio" Date: Thu, January 21, 2016 3:18 pm To: music-dsp@music.co

Re: [music-dsp] Generating pink noise in Python

2016-01-21 Thread Sound of L.A. Music and Audio
I wonder how a "grey" version of shades might sound like - will have to think about that :-) Good paper indeed - seems to be easy to implement with a low number of resources. I found similar circuits based on LFSR-structures when designing and experimenting for radar some years ago - but am

Re: [music-dsp] Generating pink noise in Python

2016-01-20 Thread Nigel Redmon
> ...I hadn’t seen it before. I take that back—I did read your blog article on it when it was new—thought the part about the FIR on top sounded familiar. But very nice to see it in code, thanks! > On Jan 20, 2016, at 6:38 PM, Nigel Redmon wrote: > > Very nice, Stefan! > > Thanks for bring i

Re: [music-dsp] Generating pink noise in Python

2016-01-20 Thread Nigel Redmon
Very nice, Stefan! Thanks for bring it up, I hadn’t seen it before. Nigel > On Jan 20, 2016, at 2:59 PM, Stefan Stenzel > wrote: > > Allen, > > Did you consider the recipe for pink noise I published recently? > It performs better in terms of precision and performance than all others. > > h

Re: [music-dsp] Generating pink noise in Python

2016-01-20 Thread Stefan Stenzel
Allen, Did you consider the recipe for pink noise I published recently? It performs better in terms of precision and performance than all others. https://github.com/Stenzel/newshadeofpink Regards, Stefan > On 20 Jan 2016, at 21:41 , Allen Downey wrote: > > Hi Music-DSP, > > Short version:

[music-dsp] Generating pink noise in Python

2016-01-20 Thread Allen Downey
Hi Music-DSP, Short version: I've got a new blog post about generating pink noise in Python: http://www.dsprelated.com/showarticle/908.php Longer version: If you set the WABAC machine for 1978, you might remember Martin Gardner's column in *Scientific American* about pink noise and fractal musi