feat: add color noise

This commit is contained in:
MAZE 2023-10-30 23:30:07 +03:30
parent 8090599f2b
commit 7363e8d51a
4 changed files with 27 additions and 3 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -6,10 +6,11 @@ import {
GiWolfHead, GiWolfHead,
GiOwl, GiOwl,
GiWindchimes, GiWindchimes,
GiSoundWaves,
} from 'react-icons/gi/index'; } from 'react-icons/gi/index';
import { import {
BsFire, BsFire,
// BsSoundwave, BsSoundwave,
BsFillCloudRainFill, BsFillCloudRainFill,
BsFillCloudRainHeavyFill, BsFillCloudRainHeavyFill,
BsUmbrellaFill, BsUmbrellaFill,
@ -42,8 +43,6 @@ import { MdOutlineThunderstorm, MdSmartToy } from 'react-icons/md/index';
import { TbScubaMask } from 'react-icons/tb/index'; import { TbScubaMask } from 'react-icons/tb/index';
import { RiFilePaper2Fill } from 'react-icons/ri/index'; import { RiFilePaper2Fill } from 'react-icons/ri/index';
// const defaultIcon = <BsSoundwave />;
import type { Categories } from './types'; import type { Categories } from './types';
export const sounds: { export const sounds: {
@ -271,5 +270,30 @@ export const sounds: {
], ],
title: 'Things', title: 'Things',
}, },
{
icon: <BsSoundwave />,
id: 'noise',
sounds: [
{
icon: <GiSoundWaves />,
id: 'white-noise',
label: 'White Noise',
src: '/sounds/noise/white-noise.wav',
},
{
icon: <GiSoundWaves />,
id: 'pink-noise',
label: 'Pink Noise',
src: '/sounds/noise/pink-noise.wav',
},
{
icon: <GiSoundWaves />,
id: 'brown-noise',
label: 'Brown Noise',
src: '/sounds/noise/brown-noise.wav',
},
],
title: 'Noise',
},
], ],
}; };