Skip to content

Commit

Permalink
feat(sound): add "White Noise"
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed Aug 8, 2023
1 parent e38df19 commit c117af8
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 0 deletions.
Binary file added .github/assets/sounds/white-noise.ogg
Binary file not shown.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ Sound | Author | License | Edition
[Brown Noise](https://freesound.org/people/georgedyer/sounds/171552/) | [George Dyer](https://freesound.org/people/georgedyer/) | CC0 | [Mateus Felipe](https://github.com/mateusfg7)
[Brown Noise 2](https://www.youtube.com/watch?v=RqzGzwTY-6w) | [Jason Lewis](https://www.youtube.com/c/MindAmend)
[Brown Noise 3](https://www.youtube.com/watch?v=P48QELwruQs) | [Jason Lewis](https://www.youtube.com/c/MindAmend)
[White noise](https://commons.wikimedia.org/w/index.php?title=File%3AWhite-noise-sound-20sec-mono-44100Hz.ogg) | [Jorge Stolfi](https://commons.wikimedia.org/wiki/User:Jorge_Stolfi) | CC BY-SA

# Alternatives

Expand Down
1 change: 1 addition & 0 deletions src/components/sound-icons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ export { ReactComponent as WashingMachine } from './washing-machine.svg'
export { ReactComponent as Waterfall } from './waterfall.svg'
export { ReactComponent as Waves } from './waves.svg'
export { ReactComponent as Wind } from './wind.svg'
export { ReactComponent as WhiteNoise } from './white-noise.svg'
10 changes: 10 additions & 0 deletions src/components/sound-icons/white-noise.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions src/sounds.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
WashingMachine,
Waterfall,
Waves,
WhiteNoise,
Wind
} from '@/components/sound-icons'

Expand Down Expand Up @@ -201,6 +202,15 @@ export const sounds = [
url: 'https://storage.googleapis.com/ambience-sounds/brown-noise3.ogg',
type: 'audio/ogg'
}
},
{
id: 'white-noise',
title: 'White Noise',
icon: WhiteNoise,
file: {
url: 'https://storage.googleapis.com/ambience-sounds/white-noise.ogg',
type: 'audio/ogg'
}
}
]

Expand Down

0 comments on commit c117af8

Please sign in to comment.