Code Monkey home page Code Monkey logo

mutwo.abjad's Introduction

mutwo.abjad

Build Status License: GPL v3 PyPI version Code style: black

Abjad extension for event based library mutwo.

This extension implements:

  • mutwo.abjad_converters
  • mutwo.abjad_parameters

Installation

mutwo.abjad is available on pypi and can be installed via pip:

pip3 install mutwo.abjad

mutwo.abjad's People

Contributors

levinericzimmermann avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mutwo.abjad's Issues

Bug: Can't handle long rests or durations

When quantizing an event with very long duration mutwo will throw an error:

abjad.exceptions.AssignabilityError: not assignable duration: Duration(64, 1).

This should be fixed on mutwo side.

Improve integration tests

The integration tests need a standardized interface which avoids code repetition and ugly structures.

Refactor cumbersome, complicated class names

The explicit names of the classes NestedComplexEventToComplexEventToAbjadContainers, CycleBasedNestedComplexEventToComplexEventToAbjadContainers and TagBasedNestedComplexEventToComplexEventToAbjadContainers don't really help in making any understandable, but only make everything very unreadable. They should certainly be refactored to more understandable, shorter names.

Can't quantize very complex fractions

The quantizer (RMaker based) can't quantize complex fraction durations, a conversion is impossible.

Maybe we should add a pre-quantizer before sending this to abjad.

TODO: Add example, add test.

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.