TranslateProject/sources/news/20220603 Spotify Introduces an Open-Source Tool to Fix a Big Problem for Modern Musicians.md

4.7 KiB
Raw Blame History

Spotify Introduces an Open-Source Tool to Fix a Big Problem for Modern Musicians

Spotifys new open-source tool helps you convert audio to MIDI version. Explore why it is a big deal for modern musicians.

spotify

Spotify is a leading music streaming platform with several open-source projects.

While most of the projects/tools are built for niche users, they have finally introduced something that seems enticing to all the modern musicians involved with digital music production.

Basic Pitch is a new free and open-source tool by Spotify that lets you convert any audio file to its MIDI (Musical Instrument Digital Interface) version.

In case you did not know, with MIDI notes, you can easily tweak whats being played and analyze more to help you in digital music production.

Basic Pitch: Making Things Easier

With Basic Pitch, one can easily have MIDI notes of an audio file they have always wanted, and with better accuracy.

spotify basic pitch

Spotify explains that it is better than existing note-detection systems by offering some advantages that include:

Polyphonic + instrument-agnostic: Unlike most other note-detection algorithms, Basic Pitch can track multiple notes at a time and across various instruments, including piano, guitar, and ocarina. Many systems limit users to only monophonic output (one note at a time, like a single vocal melody), or are built for only one kind of instrument.

Pitch bend detection: Instruments, like guitar or the human voice, allow for more expressiveness through pitch-bending: vibrato, glissando, bends, slides, etc. However, this valuable information is often lost when turning audio into MIDI. Basic Pitch supports this right out of the box.

Speed: Basic Pitch is light on resources, and is able to run faster than real time on most modern computers (Bittner et al. 2022).

Basic Pitch uses a machine learning model that turns various instrumental performances into MIDI. The audio file may also contain your voice, but it should still be able to convert the instrument to its MIDI version.

Basic Pitch demo: Convert audio into MIDI using ML

I tried converting an MP3 karaoke file with a single instrument to get the MIDI notes, and it seemed to work pretty well.

The tool also lets you process more than one audio file at a time and offers a few parameter controls that include note segmentation, confidence threshold, minimum/maximum pitch, and note length.

Made for Creators and Researchers

Spotify mentions that it targets the creators primarily, but they are also interested to learn how machine learning researchers build upon it and help develop better solutions using the open-source project on GitHub.

As a creator/musician, you can access the open-source tool on its official website for a demo. The parameters can be adjusted using the website, and you can also download the MIDI file from there.

Basic Pitch

spotify basic pitch

It is also available via PyPI to install and use via the command-line interface on Linux, Windows, and macOS.

You can explore its GitHub page to know more about its usage/commands.

If you are curious, the official announcement post provides more technical comparisons and explanations regarding the development of the tool.


via: https://news.itsfoss.com/spotify-basic-pitch/

作者:Ankush Das 选题:lkxed 译者:译者ID 校对:校对者ID

本文由 LCTT 原创编译,Linux中国 荣誉推出