GithubHelp home page GithubHelp logo

cleary / minipat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ejconlon/minipat

0.0 0.0 0.0 393 KB

Music pattern language + live coding environment

Shell 0.44% Lua 1.83% Haskell 97.21% Just 0.52%

minipat's Introduction

minipat

Music pattern language + live coding environment

This project is a love letter to Tidal. The pattern language is mostly the same, as are many of the combinators. It can even play music using SuperDirt!

What does minipat add?

  • Swappable backends - see how small minipat-dirt is!
  • A live MIDI backend (minipat-midi)
  • Patterns can be pretty-printed back into textual form.
  • The pattern language has a plain old syntax tree (Pat) with standard functions for traversal and recursion (even through location annotations).
  • Lots of tiny changes...

If you have stack installed, and you have supercollider running for use with tidal, you should be able to run bin/minipat dirt to enter ghci with everything set up:

[Info] Initializing
[Info] Handshaking ...
[Info] ... handshake succeeded

-- Play kick-snare in orbit 1
> d1 $ s "bd sd"

The MIDI backend requies basically no setup (bin/minipat midi):

-- Send some MIDI note on/off events
> d1 $ n "c5 d6"

However, if you have different port settings for SuperDirt or want to use a non-default MIDI output, you will probably have to edit the Repl.ghci files in either backend or run reallocate myBackendOptions myCoreOptions >>= initialize in the REPL.

Please be aware that this is young software in an "it works for me" state!

Editor integration

There is a Neovim plugin - see the README for installation instructions.

Contributions

Your help is very welcome. Some TODOs follow.

TODO

  • Implement polymeters
  • Implement chords/arps
  • Add more MIDI channel voice events
  • Support rendering to MIDI file (with dahdit-midi)
  • Additional combinators like arp, off, jux, |+, every, squiz, range
  • Backends for... Bitwig? Renoise?
  • Backend with push/pull of textual patterns from DAW
  • More meaningful Pretty subclasses for pattern rep or plain old logging
  • More and better documentation
  • Ensure that common exceptions have a useful displayException
  • Ensure that live errors do/don't interrupt playback based on debug state
  • More thoughtful handling of "continuous" streams/signals (including sampling rate)

License

This project is BSD-licensed. It is a bottom-up semi-compatible rewrite of Tidal that uses certain APIs, algorithms, names, types, and constants according to "fair use."

minipat's People

Contributors

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