ChordSwap is an open-source web application that performs real-time pitch detection using the Web Audio API and displays the detected pitch, clarity, and a corresponding guitar chord diagram. It allows musicians and learners to practice and play chords in real-time.
- Real-time pitch detection using the Web Audio API.
- Display of detected pitch and clarity values.
- Guitar chord diagrams for the detected chord.
- Easy-to-use interface for musicians and learners.
Follow these steps to set up and run ChordSwap locally:
- Clone the repository:
git clone https://github.com/saitnyalcin/react-chord-swap.git
- Navigate to the project directory:
cd react-chord-swap
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and go to:
http://localhost:5173
We welcome contributions from the community! To contribute to ChordSwap, follow the guidelines outlined in CONTRIBUTING.md.
ChordSwap is committed to fostering an inclusive and respectful community. We expect all contributors to adhere to the guidelines outlined in CODE_OF_CONDUCT.md.
ChordSwap is open-source software licensed under the MIT License.
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
Currently, two official plugins are available:
- @vitejs/plugin-react uses Babel for Fast Refresh
- @vitejs/plugin-react-swc uses SWC for Fast Refresh
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list