Harmonize
A Python app that converts vocal recordings into MIDI files. Transform your singing into digital music!
Install / Use
/learn @sreyasaju/HarmonizeREADME
harmonize

Under development!
harmonize is a voice-to-MIDI python App to convert any human voice recording to MIDI tracks.
This uses librosa and mido for audio analysis and pitch detection, PyAudio for recording and pydub for playback tasks.
It is designed to minimally convert vocal sounds into MIDI data for use in various musical applications.
Features
- Live Audio Recording 🎤: Capture vocal input directly through the application.
- Pitch Detection 🎵 : Analyze vocal pitch and convert it into MIDI notes.
- MIDI File Generation 🎹: Save the detected pitches as MIDI files.
Installation:
Clone the repository:
git clone https://github.com/sreyasaju/harmonize.git
cd harmonize
Setup a Virtual Environment:
python3 -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
Install dependencies:
pip install -r requirements.txt
Run the script:
python3 main.py
Usage
- Input the parameters: Enter the filename for saving the voice and the MIDI file
- Start Recording!
- Play and hear your voice
- Convert to MIDI
- Listen the MIDI file in your favorite audio editor!
Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss potential improvements. Add do star the repo ⭐️
License
MIT License
Copyright (c) 2024 Sreya Saju
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.
<hr>
Copyright © 2024 Sreya SajuRelated Skills
node-connect
349.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
109.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
349.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
349.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
