Skip to content

MaxDevv/Pitcher

Repository files navigation

Pitcher 🎵

Pitcher is a web-based theoretical perfect pitch training system that uses color association to help listeners determine musical notes. The application is designed to help musicians and music producers improve their pitch accuracy and overall musical ability.

Demo Screenshots

Screenshot-1 Screenshot

Features

  • Color-Note Association: Each musical note is mapped to a specific color to help build memory associations
  • Difficulty Levels: Three training modes available
    • Easy (7 seconds)
    • Medium (4 seconds)
    • Hard (2 seconds)
  • Interactive Training: Visual and audio feedback with smooth animations
  • Responsive Design: Works across different devices and screen sizes

Color Mapping

Note Color
C Red
C# Blue
D Purple
D# Magenta
E Yellow
F Greenyellow
F# Hotpink
G Orangered
G# Khaki
A Azure
A# Cadetblue
B Skyblue

Tech Stack

  • Svelte
  • Tone.js for audio synthesis
  • CSS3 animations
  • HTML5 Audio

Getting Started

  1. Clone the repository

    git clone https://github.com/MaxDevv/pitcher.git

  2. Install dependencies:

    npm install

  3. Run the development server:

    npm run dev

Usage

  1. Select your preferred difficulty level
  2. Click "Start" to begin the training session
  3. Listen to the played note and observe the associated color
  4. The note and color will be revealed after the difficulty timer expires
  5. Click "Next" to continue with another note

Contributing

Contributions are welcome! Feel free to submit issues and pull requests.

Color Palette

The application uses a carefully selected color palette:

  • #EC0B43
  • #58355E
  • #7AE7C7
  • #D6FFB7
  • #FFF689

License

MIT License

Copyright (c) 2024

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors