All Projects â†’ 1j01 â†’ Midiflip

1j01 / Midiflip

🎹 MIDI music mayhem - flip, transpose, and arbitrarily remap pitches in MIDI files

Programming Languages

javascript
184084 projects - #8 most used programming language
procedural
45 projects

Projects that are alternatives of or similar to Midiflip

Eternal
👾~ music, eternal ~ 👾
Stars: ✭ 323 (+878.79%)
Mutual labels:  music, midi
Midiwriterjs
♬ A JavaScript library which provides an API for programmatically generating and creating expressive multi-track MIDI files and JSON objects.
Stars: ✭ 381 (+1054.55%)
Mutual labels:  music, midi
Clubber
Application of music theory in audio reactive visualizations
Stars: ✭ 325 (+884.85%)
Mutual labels:  music, midi
Theorytracker
🎼 HTML5/WebAudio multi-track functional harmony analysis and songwriting app! -- https://hlorenzi.github.io/theorytracker/
Stars: ✭ 62 (+87.88%)
Mutual labels:  web-app, music
Webaudiofont
Use full GM set of musical instruments to play MIDI and single sounds or effects. Support for reverberation and equaliser. No plugins, no Flash. Pure HTML5 implementation compatible with desktop and mobile browser. See live examples.
Stars: ✭ 600 (+1718.18%)
Mutual labels:  music, midi
guitar
🎸 Online guitar toy and tablature recorder/player
Stars: ✭ 80 (+142.42%)
Mutual labels:  midi, web-app
Awesome Music Production
A curated list of software, services and resources to create and distribute music.
Stars: ✭ 340 (+930.3%)
Mutual labels:  music, midi
Midimonster
Multi-protocol control & translation software (ArtNet, MIDI, OSC, sACN, ...)
Stars: ✭ 241 (+630.3%)
Mutual labels:  music, midi
Lmms
Cross-platform music production software
Stars: ✭ 5,450 (+16415.15%)
Mutual labels:  music, midi
Romplayer
AudioKit Sample Player (ROM Player) - EXS24, Sound Font, Wave Player
Stars: ✭ 445 (+1248.48%)
Mutual labels:  music, midi
Critiquebrainz
Repository for Creative Commons licensed reviews
Stars: ✭ 59 (+78.79%)
Mutual labels:  web-app, music
Intellij Music
Play fancy music based on your keyboard activity in IDE
Stars: ✭ 28 (-15.15%)
Mutual labels:  music, midi
Musicode
🎶 Markup language for music creation and analysis! -- https://hlorenzi.github.io/musicode/
Stars: ✭ 34 (+3.03%)
Mutual labels:  web-app, music
midi-recorder
🎹 The easiest way to record MIDI. No install. Automatically records.
Stars: ✭ 38 (+15.15%)
Mutual labels:  midi, web-app
Usb Midi Driver
USB MIDI Driver for Android 3.1 or later
Stars: ✭ 244 (+639.39%)
Mutual labels:  music, midi
Scribbletune
Create music with JavaScript
Stars: ✭ 3,509 (+10533.33%)
Mutual labels:  music, midi
Isobar
A Python library for creating and manipulating musical patterns, designed for use in algorithmic composition, generative music and sonification. Can be used to generate MIDI events, MIDI files, OSC messages, or custom events.
Stars: ✭ 207 (+527.27%)
Mutual labels:  music, midi
Unimidi
Realtime MIDI IO for Ruby
Stars: ✭ 229 (+593.94%)
Mutual labels:  music, midi
Bitmidi.com
🎹 Listen to free MIDI songs, download the best MIDI files, and share the best MIDIs on the web
Stars: ✭ 422 (+1178.79%)
Mutual labels:  music, midi
Zrythm
a highly automated and intuitive digital audio workstation - official mirror
Stars: ✭ 703 (+2030.3%)
Mutual labels:  music, midi

MidiFlip

Transform MIDI songs to create mathematical remixes. Inspired by Andrew Huang's #MidiFlip "challenge".

MidiFlip can be used to simply flip notes around, inverting all the pitches, but it also gives you raw control over the notes in a simple way so you can make arbitrary remappings.

Try MidiFlip online. You can batch convert files and download the results as a zip file. (The files are not uploaded to a server.)

The web interface supports everything the CLI does (and actually more at the moment).

Future Direction

It would be good to be able to look at the original song as a whole in order to transpose notes back to reasonable ranges like Automatic MIDI Inverter does, or do fancier stuff like finding the scale used and mapping it to another. (You can only look at and change a single note at a time with the current API.)

MidiFlip could also let you deal in time, reversing a song or changing the tempo, altering the duration of notes, humanizing or quantizing, stuff like that.

It would probably make sense to have two levels of configuration, one where you just define a mapping, and that could be visualized, and one where you just write code to modify the MIDI. Either way the results could be visualized, with an embedded MIDI player.

Could handle inverting pitch bends and portamenti like AutoMIDIFlip does. This would be optional, since you can specify transformations such as simple transpositions.

CLI Installation

Install Node.js if you haven't already. Then open a terminal/command prompt and run npm install midiflip -g

You should now have access to the midiflip command.

CLI Usage

Go to where you have some MIDI files stored, such as your music folder, i.e. on Windows cd %UserProfile%\Music and on probably most other operating systems, just cd ~/Music

Flip a single file:

midiflip -i "midis/Danger.mid" -o "transformed/Danger.mid"

Flip a bunch of files:

midiflip -i "midis/**/*.mid" -o "transformed/"

This uses glob. ** means zero or more (sub)directories, so this will match e.g. midis/1.mid as well as midis/Avgvst/FreeRide.mid. It will output the transformed files to the given output directory, creating matching subdirectories, but stripping off anything before the first *, so you'll get e.g. transformed/Avgvst/FreeRide.mid rather than transformed/midis/Avgvst/FreeRide.mid

Purposefully mess with percussion

Add -p or --percussion to apply the same transformation to percussion as to other notes, which doesn't make the semantic sense that applying it to pitch does.

License (MIT)

Copyright 2017 Isaiah Odhner

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.

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].