All Projects → s-omranpour → DeepMusic

s-omranpour / DeepMusic

Licence: MIT license
A python package for high level musical data manipulation and preprocessing, making data ready to be fed to a neural network.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to DeepMusic

Ensembles
A digital arranger workstation powered by FluidSynth
Stars: ✭ 312 (+1200%)
Mutual labels:  midi
arduino-midi-footswitch
USB MIDI Pedal built with Arduino
Stars: ✭ 24 (+0%)
Mutual labels:  midi
flutter midi
Midi Playback in Flutter
Stars: ✭ 52 (+116.67%)
Mutual labels:  midi
from-data-to-sound
🎵 Simple Node.js script for transforming data to a MIDI file
Stars: ✭ 33 (+37.5%)
Mutual labels:  midi
midiomatic
A collection of MIDI filter, generator and processor plugins
Stars: ✭ 23 (-4.17%)
Mutual labels:  midi
midiplayer
Play MIDI file right in your browser with the WebMIDIAPI
Stars: ✭ 53 (+120.83%)
Mutual labels:  midi
midi2img
MIDI to image and image to MIDI conversion scripts
Stars: ✭ 48 (+100%)
Mutual labels:  midi
seq66
Seq66: Seq24-based live MIDI looper/editor. V. 0.99.1 2022-11-27. NSM support; Linux/Windows; PDF user manual. Help access to tutorial and PDF.
Stars: ✭ 95 (+295.83%)
Mutual labels:  midi
Miles
Swift Playground that creates jazz improvisations (WWDC 2018)
Stars: ✭ 31 (+29.17%)
Mutual labels:  midi
AUSequencer
(WIP) MIDI Sequencer Audio Unit
Stars: ✭ 26 (+8.33%)
Mutual labels:  midi
BSchaffl
MIDI groove quantizer LV2 plugin
Stars: ✭ 28 (+16.67%)
Mutual labels:  midi
music embedding
A package for representing music data based on music theory
Stars: ✭ 19 (-20.83%)
Mutual labels:  midi
ManosOsc
(Eyebeam #13 of 13) Output OSC, MIDI, and After Effects/Maya animation scripts from the Leap Motion controller.
Stars: ✭ 53 (+120.83%)
Mutual labels:  midi
osmid
osmid is a tool to bridge MIDI and OSC. It is currently in use in Sonic Pi
Stars: ✭ 63 (+162.5%)
Mutual labels:  midi
midiGenerator
Generate midi file with deep neural network 🎶
Stars: ✭ 30 (+25%)
Mutual labels:  midi
MIDI.jl
A Julia library for handling MIDI files
Stars: ✭ 55 (+129.17%)
Mutual labels:  midi
AUParamsApp
An AUv3 MIDI plugin. See the blog post
Stars: ✭ 24 (+0%)
Mutual labels:  midi
ddrm-jfsebastian
J.F. Sebastian is a tool that provides new ways to control Deckard's Dream synthesizer
Stars: ✭ 29 (+20.83%)
Mutual labels:  midi
MIDISequencerAUv3
A great start point for making AUv3 MIDI sequencer apps.
Stars: ✭ 24 (+0%)
Mutual labels:  midi
wui
Collection of GUI widgets for the web
Stars: ✭ 44 (+83.33%)
Mutual labels:  midi

*** A newer version of Deepmusic package with more features and better interface is available at the multitrack branch. However, it is still under development ***

DeepMusic

DeepMusic is a high level python package with following features:

  • supporting different formats like MIDI, REMI, Compound Word and pianoroll. [1, 2]
  • representing musical data in a very simple but useful way for high level music theoretic manipulations.
  • preprocessing musical data in order to feed them to neural networks (chord extraction, quantization and numericalization).
  • supporting metrics used for evaluating generated sequences. [3, 4]

Install

With pip

pip install deepmusic

From source

git clone https://github.com/s-omranpour/DeepMusic
cd DeepMusic
pip install .

Usage

from deepmusic import MusicRepr

## reading a midi file
seq = MusicRepr.from_file('test.mid')

## displaying first 10 events
print(seq[:10])

## export to remi representation
remi = seq.to_remi(ret='token')

## export to compound word representation
cp = seq.to_cp()
print(cp.shape) ## (num_events, 8)

## splitting song's bars
bars = seq.get_bars()
print(len(bars))

for more details please see examples.

References

[1] Pop Music Transformer: Beat-based Modeling and Generation of Expressive Pop Piano Compositions, Yu-Siang Huang, Yi-Hsuan Yang

[2] Compound Word Transformer: Learning to Compose Full-Song Musicover Dynamic Directed Hypergraphs, Wen-Yi Hsiao, Jen-Yu Liu, Yin-Cheng Yeh, Yi-Hsuan Yang

[3] The Jazz Transformer on the Front Line: Exploring the Shortcomings of AI-composed Music through Quantitative Measures, Shih-Lun Wu, Yi-Hsuan Yang

[4] https://github.com/slSeanWU/MusDr

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].