FlareStart
HomeNewsHow ToSources
FlareStart

Where developers start their day. All the tech news & tutorials that matter, in one place.

Quick Links

  • Home
  • News
  • Tutorials
  • Sources
  • Privacy Policy

Connect

© 2026 FlareStart. All rights reserved.

Back to articles
White Noise Pink Noise and Brown Noise Are Different Frequency Distributions
How-ToWeb Development

White Noise Pink Noise and Brown Noise Are Different Frequency Distributions

via Dev.to TutorialMichael Lip3h ago

White noise has equal energy at all frequencies. Pink noise has equal energy per octave. Brown noise emphasizes lower frequencies. These are not marketing terms. They are precise mathematical descriptions of frequency distributions. White noise White noise has equal energy at every frequency. It sounds like TV static or a waterfall. function whiteNoise ( audioCtx , duration ) { const sampleRate = audioCtx . sampleRate ; const buffer = audioCtx . createBuffer ( 1 , sampleRate * duration , sampleRate ); const data = buffer . getChannelData ( 0 ); for ( let i = 0 ; i < data . length ; i ++ ) { data [ i ] = Math . random () * 2 - 1 ; } return buffer ; } Each sample is independently random. Because there are more high frequencies than low frequencies in any given bandwidth, white noise sounds "bright" or "hissy." Pink noise Pink noise has equal energy per octave (not per frequency). Because each octave covers a wider frequency range as you go higher, pink noise has less energy at high frequ

Continue reading on Dev.to Tutorial

Opens in a new tab

Read Full Article
0 views

Related Articles

Tutorials Are Lying to You Here’s What Actually Works ?
How-To

Tutorials Are Lying to You Here’s What Actually Works ?

Medium Programming • 51m ago

Flutter Mistakes That Make Apps Slow ⚡
How-To

Flutter Mistakes That Make Apps Slow ⚡

Medium Programming • 1h ago

Welcome Thread - v370
How-To

Welcome Thread - v370

Dev.to • 1h ago

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories
How-To

How to Calculate Your Final Grade When the Syllabus Uses Weighted Categories

Dev.to Beginners • 1h ago

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers
How-To

How Word Scramble Solvers Use the Same Algorithm as Spell Checkers

Dev.to Beginners • 1h ago

Discover More Articles