Giter Club home page Giter Club logo

aicd's Introduction

Aicd

An acid pattern MIDI generator Max for Live device based on a maximum likelihood n-gram model.

Aicd screenshot

Demo on YouTube

Download under releases or at maxforlive.com

Features

  • Generate variable length patterns (1-64 steps)
  • Save generated patterns as presets
  • Influence randomness through temperature dial
  • Choose velocity of unaccented steps (default 99, accented steps are always 127)
  • Fold/zoom sequencer view
  • View/edit pitch, velocity, slide, gate independently
  • Create clip
  • Set permanently updated output clip

Usage

Drag device into a MIDI track and hit the acid smiley button. Generated patterns enter Live's undo history. If you like a pattern, Shift-click one of the preset boxes to save it as a preset.

Default pitch

The untransposed C (no up/down) note is generated as MIDI note 36 (called C1 in Ableton, generating 32.7Hz). This is also what ABL3 and Phoscyon generate. For some other synths, you'll have to transpose an octave up.

Model

The model was generated by training on a large number of patterns in ABL3 format (not in this repo) using the approach described by Joav Goldberg here.

To generate a model:

  1. Run patterns.csx in a folder containing pattern files in ABL3 format, producing a single file input_patterns.txt which contains all patterns in a condensed format suitable for training.
  2. Use the TrainCharLm() method from model.csx to generate a model and write it to a file as JSON:
// dotnet script .\model.csx -i
var lm = TrainCharLm("input_patterns.txt", 18);
var json = JsonConvert.SerializeObject(lm);
File.WriteAllText("lm.js", "var lm = " + json);

aicd's People

Contributors

mganss 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  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

aicd's Issues

no sound

i press the smiley key, but there is no sound at all

A little help to get Aicd as a standalone generator?

Hi!

This project is very interesting, I'm building a TB303 synth and it's very helpful to have some varied patterns to test it.
I don't know much about M4L devices, and even Live isn't my main tool. I could test it though and it's very cool!

It appears that the modelling part is mostly in Javascript, right? This suggests to me that the M4L device is merely for the display.
So I'm looking for some initial pointers to hack this into something that runs just with standard Javascript. Is acid.js the entrypoint? lm.js definitely contains the model weights.
I also notice there are some C# files, but I'm not sure what they do.

My work will of course be open source, here is some previous 303 work

Thanks a lot!

The max for live plug in don't export the midi clip

hi guys, the problem is, that i click on the clip button on the plug in but it don't generate nothing. (I have checked on max for live and there isn't any error). I don't know what is the problem

2022-12-07.17-24-44_Trim.mp4

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.