GithubHelp home page GithubHelp logo

the-drunk-coder / megra Goto Github PK

View Code? Open in Web Editor NEW
68.0 8.0 4.0 3.24 MB

Mégra is a mini-language to make music with variable-order markov chains and some other stochastic shenanigans.

License: GNU General Public License v3.0

Common Lisp 77.15% SuperCollider 13.05% Emacs Lisp 6.67% Shell 0.64% HTML 1.98% JavaScript 0.52%

megra's Introduction

Mégra

THIS IS THE OLD COMMON LISP VERSION!! IT HAS BEEN SUPERSEDED BY A RE-CODE IN RUST: https://github.com/the-drunk-coder/megra.rs THE RUST VERSION IS WAY EASIER TO INSTALL AND USE ETC

Mégra is a mini-language to make music with variable-order markov chains and some other stochastic shenanigans.

This is Mégra 2.x! There's some changes from 1.x, so watch out (in the unlikely case you used it)

Installation

There are currently two ways to install. One uses Portacle as the underlying editor and is comparatively easy. You can find the instructions here:

https://github.com/the-drunk-coder/megra/blob/master/Tutorial/00_Installation.md

If you're familar with Common Lisp and Emacs, and want to integrate Mégra into your current Emacs installation, please find some hints here:

https://github.com/the-drunk-coder/megra/blob/master/Tutorial/old/00b_Installation_old.md

Differences between 1.x and 2.x

Megra 2.x is a different beast than 1.x, event though most of the core concepts made it over. Some features didn't make it over to 2.x because they were too complicated, or caused too much clutter.

Amongst those are:

  • The branch/cut feature. There's more intuitive and concise methods like (xdup)that do something very similar.
  • The chain group feature. I only used it once, it hasn't even been documented, and the (sx) environment does a better job.git
  • Controller input. This has been obsolete for a long time ...
  • Manual cloning. Never documented, never used.
  • The old tutorial. Megra has changed a lot, it didn't make sense any longer.
  • The old chain macro. Use cmp instead.

In the very unlikely case that you were an early Mégra user and are missing one of the features, please tell me and I'll see if I can bring them back, or think about a good alternative. Otherwise, you can still use the 1.x branch.

Learning

Please find the work-in-progress tutorial it in:

https://github.com/the-drunk-coder/megra/blob/master/Tutorial/

Technicalities

Mégra is an embedded domain-specific language based on Common Lisp, Tito Latini's amazing Incudine library and Common Music 2.x, which is old but working, and currently (inofficially and as needed) maintained by Orm Finnendahl.

megra's People

Contributors

ali1632 avatar the-drunk-coder avatar yangh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

megra's Issues

ERROR: start chain FIRST

Hi Megra

I've installed Megra under Ubuntu 18.04 x86_64 by following the guide in the new tutorial, everything goes well, Potacle started and no critical error on startup, but when I try to run the first example in the basic chapter, after press ctrl+enter, I can hear nothing and an error message printed:

ERROR: start chain FIRST

Any commen please?

I have some experience with Racket but not at sbcl and emacs.

Thanks

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.