Skip to content

Commit

Permalink
chore: add binaural beats
Browse files Browse the repository at this point in the history
  • Loading branch information
remvze committed Feb 1, 2024
1 parent 38f6f7d commit f1d212a
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 1 deletion.
Binary file added public/sounds/binaural/binaural-alpha.wav
Binary file not shown.
Binary file added public/sounds/binaural/binaural-beta.wav
Binary file not shown.
Binary file added public/sounds/binaural/binaural-delta.wav
Binary file not shown.
Binary file added public/sounds/binaural/binaural-gamma.wav
Binary file not shown.
Binary file added public/sounds/binaural/binaural-theta.wav
Binary file not shown.
13 changes: 12 additions & 1 deletion src/data/sounds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,22 @@ import { places } from './sounds/places';
import { transport } from './sounds/transport';
import { things } from './sounds/things';
import { noise } from './sounds/noise';
import { binaural } from './sounds/binaural';

import type { Categories } from './types';

export const sounds: {
categories: Categories;
} = {
categories: [nature, rain, animals, urban, places, transport, things, noise],
categories: [
nature,
rain,
animals,
urban,
places,
transport,
things,
noise,
binaural,
],
};
42 changes: 42 additions & 0 deletions src/data/sounds/binaural.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
import { TbWaveSine } from 'react-icons/tb/index';
import { BsSoundwave } from 'react-icons/bs/index';

import type { Category } from '../types';

export const binaural: Category = {
icon: <TbWaveSine />,
id: 'binaural',
sounds: [
{
icon: <BsSoundwave />,
id: 'binaural-delta',
label: 'Delta',
src: '/sounds/binaural/binaural-delta.wav',
},
{
icon: <BsSoundwave />,
id: 'binaural-theta',
label: 'Theta',
src: '/sounds/binaural/binaural-theta.wav',
},
{
icon: <BsSoundwave />,
id: 'binaural-alpha',
label: 'Alpha',
src: '/sounds/binaural/binaural-alpha.wav',
},
{
icon: <BsSoundwave />,
id: 'binaural-beta',
label: 'Beta',
src: '/sounds/binaural/binaural-beta.wav',
},
{
icon: <BsSoundwave />,
id: 'binaural-gamma',
label: 'Gamma',
src: '/sounds/binaural/binaural-gamma.wav',
},
],
title: 'Binaural Beats',
};

0 comments on commit f1d212a

Please sign in to comment.