Skip to content

Commit

Permalink
feat: add new sounds
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Oct 26, 2023
1 parent c5240ff commit 759e6b0
Show file tree
Hide file tree
Showing 31 changed files with 125 additions and 51 deletions.
Binary file removed public/sounds/airport.mp3
Binary file not shown.
Binary file added public/sounds/animals/birds.mp3
Binary file not shown.
Binary file added public/sounds/animals/crickets.mp3
Binary file not shown.
Binary file added public/sounds/animals/frog.mp3
Binary file not shown.
Binary file added public/sounds/animals/owl.mp3
Binary file not shown.
Binary file added public/sounds/animals/seagulls.mp3
Binary file not shown.
Binary file added public/sounds/animals/wolf.mp3
Binary file not shown.
Binary file removed public/sounds/birds.mp3
Binary file not shown.
Binary file removed public/sounds/cafe.mp3
Binary file not shown.
Binary file removed public/sounds/campfire.mp3
Binary file not shown.
Binary file removed public/sounds/crickets.mp3
Binary file not shown.
Binary file added public/sounds/nature/campfire.mp3
Binary file not shown.
Binary file added public/sounds/nature/river.mp3
Binary file not shown.
Binary file added public/sounds/nature/underwater.mp3
Binary file not shown.
Binary file added public/sounds/nature/waterfall.mp3
Binary file not shown.
Binary file added public/sounds/nature/waves.mp3
Binary file not shown.
Binary file added public/sounds/nature/wind-in-trees.mp3
Binary file not shown.
Binary file added public/sounds/nature/wind.mp3
Binary file not shown.
Binary file removed public/sounds/rain-on-window.mp3
Binary file not shown.
Binary file removed public/sounds/rain.mp3
Binary file not shown.
Binary file added public/sounds/rain/heavy-rain.mp3
Binary file not shown.
Binary file added public/sounds/rain/light-rain.mp3
Binary file not shown.
Binary file added public/sounds/rain/rain-on-leaves.mp3
Binary file not shown.
Binary file added public/sounds/rain/rain-on-tent.mp3
Binary file not shown.
Binary file added public/sounds/rain/rain-on-umbrella.mp3
Binary file not shown.
Binary file added public/sounds/rain/rain-on-window.mp3
Binary file not shown.
File renamed without changes.
Binary file removed public/sounds/river.mp3
Binary file not shown.
Binary file removed public/sounds/seagulls.mp3
Binary file not shown.
Binary file removed public/sounds/waves.mp3
Binary file not shown.
176 changes: 125 additions & 51 deletions src/data/sounds.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,23 @@
import { BiSolidTree, BiWater, BiSolidCoffeeAlt } from 'react-icons/bi/index';
import { FaCity, FaCloudShowersHeavy, FaWater } from 'react-icons/fa/index';
import { PiBirdFill } from 'react-icons/pi/index';
import {
GiCricket,
GiSeagull,
GiWindow,
GiWaterfall,
GiWolfHead,
GiOwl,
} from 'react-icons/gi/index';
import {
BsFire,
// BsSoundwave,
BsFillCloudRainFill,
BsFillCloudRainHeavyFill,
BsUmbrellaFill,
} from 'react-icons/bs/index';
import { BiSolidTree, BiWater } from 'react-icons/bi/index';
import { FaWater, FaWind, FaLeaf, FaDog, FaFrog } from 'react-icons/fa/index';
import { PiBirdFill, PiTentFill } from 'react-icons/pi/index';
import { MdOutlineThunderstorm } from 'react-icons/md/index';
import { GiCricket, GiSeagull, GiWindow } from 'react-icons/gi/index';
import { BsFire, BsAirplaneFill } from 'react-icons/bs/index';
// import { BsSoundwave } from 'react-icons/bs/index';
import { TbScubaMask } from 'react-icons/tb';

// const defaultIcon = <BsSoundwave />;

Expand All @@ -18,81 +31,142 @@ export const sounds: {
icon: <BiSolidTree />,
id: 'nature',
sounds: [
{
icon: <FaCloudShowersHeavy />,
id: 'rain',
label: 'Rain',
src: '/sounds/rain.mp3',
},
{
icon: <PiBirdFill />,
id: 'birds',
label: 'Birds',
src: '/sounds/birds.mp3',
},
{
icon: <BiWater />,
id: 'river',
label: 'River',
src: '/sounds/river.mp3',
src: '/sounds/nature/river.mp3',
},
{
icon: <MdOutlineThunderstorm />,
id: 'thunder',
label: 'Thunder',
src: '/sounds/thunder.mp3',
icon: <FaWater />,
id: 'waves',
label: 'waves',
src: '/sounds/nature/waves.mp3',
},
{
icon: <GiCricket />,
id: 'crickets',
label: 'Crickets',
src: '/sounds/crickets.mp3',
icon: <BsFire />,
id: 'campfire',
label: 'Campfire',
src: '/sounds/nature/campfire.mp3',
},
{
icon: <FaWater />,
id: 'waves',
label: 'Waves',
src: '/sounds/waves.mp3',
icon: <FaWind />,
id: 'wind',
label: 'Wind',
src: '/sounds/nature/wind.mp3',
},
{
icon: <GiSeagull />,
id: 'seagulls',
label: 'Seagulls',
src: '/sounds/seagulls.mp3',
icon: <FaWind />,
id: 'wind-in-trees',
label: 'Wind in Trees',
src: '/sounds/nature/wind-in-trees.mp3',
},
{
icon: <BsFire />,
id: 'campfire',
label: 'Campfire',
src: '/sounds/campfire.mp3',
icon: <GiWaterfall />,
id: 'waterfall',
label: 'Waterfall',
src: '/sounds/nature/waterfall.mp3',
},
{
icon: <TbScubaMask />,
id: 'underwater',
label: 'Underwater',
src: '/sounds/nature/underwater.mp3',
},
],
title: 'Nature',
},
{
icon: <FaCity />,
id: 'urban',
icon: <BsFillCloudRainFill />,
id: 'rain',
sounds: [
{
icon: <BsAirplaneFill />,
id: 'airport',
label: 'Airport',
src: '/sounds/airport.mp3',
icon: <BsFillCloudRainFill />,
id: 'light-rain',
label: 'Light Rain',
src: '/sounds/rain/light-rain.mp3',
},
{
icon: <BiSolidCoffeeAlt />,
id: 'cafe',
label: 'Cafe',
src: '/sounds/cafe.mp3',
icon: <BsFillCloudRainHeavyFill />,
id: 'heavy-rain',
label: 'Heavy Rain',
src: '/sounds/rain/heavy-rain.mp3',
},
{
icon: <MdOutlineThunderstorm />,
id: 'thunder',
label: 'Thunder',
src: '/sounds/rain/thunder.mp3',
},
{
icon: <GiWindow />,
id: 'rain-on-window',
label: 'Rain on Window',
src: '/sounds/rain-on-window.mp3',
src: '/sounds/rain/rain-on-window.mp3',
},
{
icon: <BsUmbrellaFill />,
id: 'rain-on-umbrella',
label: 'Rain on Umbrella',
src: '/sounds/rain/rain-on-umbrella.mp3',
},
{
icon: <PiTentFill />,
id: 'rain-on-tent',
label: 'Rain on Tent',
src: '/sounds/rain/rain-on-tent.mp3',
},
{
icon: <FaLeaf />,
id: 'rain-on-leaves',
label: 'Rain on Leaves',
src: '/sounds/rain/rain-on-leaves.mp3',
},
],
title: 'Rain',
},
{
icon: <FaDog />,
id: 'animals',
sounds: [
{
icon: <PiBirdFill />,
id: 'birds',
label: 'Birds',
src: '/sounds/animals/birds.mp3',
},
{
icon: <GiSeagull />,
id: 'seagulls',
label: 'Seagulls',
src: '/sounds/animals/seagulls.mp3',
},
{
icon: <GiCricket />,
id: 'crickets',
label: 'Crickets',
src: '/sounds/animals/crickets.mp3',
},
{
icon: <GiWolfHead />,
id: 'wolf',
label: 'Wolf',
src: '/sounds/animals/wolf.mp3',
},
{
icon: <GiOwl />,
id: 'owl',
label: 'Owl',
src: '/sounds/animals/owl.mp3',
},
{
icon: <FaFrog />,
id: 'frog',
label: 'Frog',
src: '/sounds/animals/frog.mp3',
},
],
title: 'Urban',
title: 'Animals',
},
],
};

0 comments on commit 759e6b0

Please sign in to comment.