Giter VIP home page Giter VIP logo

miano's Introduction

MIA

A tool for creating *beautiful* music. Or terrible music, if that's how you roll.
Right now the executable (tested only on a linux install with portaudio installed)

Build

Running make should produce an executable 'mia'

Running

Run mia with options o, i, h, p, c, a, w

# c -- compose music
#   Enters a terminal window and allows playing in a very basic capacity on keyboard (extended to numpad)
mia -c

# o -- output music info to "filename.mia"
mia -o filename.mia

# i -- input music from "filename.mia"
mia -i filename.mia

# p -- play music from input file (otherwise does nothing
mia -p -i filename.mia

# h -- output music in a human readable format to file specified by -o (or stdout if no file is specified)
mia -i filename.mia -o filename.txt -h
#   -- or -- (output to stdout)
mia -i filename.mia -h

# a -- output filename.mia to .aiff
mia -i filename.mia -a filename.aiff

# w -- output filename.mia to .wav
mia -i filename.mia -w filename.wav

Combining options

Options can also be combined. For example:

mia -oc filename.mia

enters composition mode, then saves the work to a file

mia -ip filename.mia

plays the music in filename.mia

mia -iocp filename.mia

plays the music in filem=name.mia, then enters composition mode (while the music plays from filename.mia) and saves the combined track back to filename.mia

Composing

Press ``` to exit compose mode Pass the --standard option to mia for a more "standard" keyboard layout (C4 at 'a', upper row incidentals)


| |   |   | | |   |   |   | | |   |   | | |   |    
| | w | e | | | t | y | u | | | o | p | | |   |    
| |___|___| | |___|___|___| | |___|___| | |___|__
|   |   |   |   |   |   |   |   |   |   |   |   |
| a | s | d | f | g | h | j | k | l | ; | ' |   | 
|___|___|___|___|___|___|___|___|___|___|___|___|
  C4

| |   |   | | |   |   |   | | |   |   | | |   |  
| |(w)|(e)| | |(t)|(y)|(u)| | |(o)|(p)| | |(])|  
| |___|___| | |___|___|___| | |___|___| | |___|__
|   |   |   |   |   |   |   |   |   |   |   |   |
|(a)|(s)|(d)|(f)|(g)|(h)|(j)|(k)|(l)|(;)| ' |   |
|___|___|___|___|___|___|___|___|___|___|___|___|

Otherwise, notes are a semitone apart, oneoctave up/down each row

miano's People

Contributors

efergus avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.