Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sreyasaju/harmonize
A Python app that converts vocal recordings into MIDI files. Transform your singing into digital music!
https://github.com/sreyasaju/harmonize
audio-analysis audio-processing midi music-composition music-generation pitch-detection voice-to-midi
Last synced: about 1 month ago
JSON representation
A Python app that converts vocal recordings into MIDI files. Transform your singing into digital music!
- Host: GitHub
- URL: https://github.com/sreyasaju/harmonize
- Owner: sreyasaju
- License: mit
- Created: 2024-07-03T22:24:17.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-08-29T23:04:18.000Z (3 months ago)
- Last Synced: 2024-08-29T23:52:12.142Z (3 months ago)
- Topics: audio-analysis, audio-processing, midi, music-composition, music-generation, pitch-detection, voice-to-midi
- Language: Python
- Homepage:
- Size: 3.58 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# harmonize
![preview.png](assets/preview.png)
> 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:
```bash
git clone https://github.com/sreyasaju/harmonize.git
cd harmonize
```Setup a Virtual Environment:
```bash
python3 -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
```Install dependencies:
```bash
pip install -r requirements.txt
```
Run the script:
```bash
python3 main.py
```
## Usage1. Input the parameters: Enter the filename for saving the voice and the MIDI file
2. Start Recording!
3. Play and hear your voice
4. Convert to MIDI
5. 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 LicenseCopyright (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.
```
Copyright © 2024 Sreya Saju