Giter Club home page Giter Club logo

numula's People

Contributors

davidpanderson 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

Watchers

 avatar  avatar  avatar

numula's Issues

random volume documentation/code

https://github.com/davidpanderson/Numula/wiki/Volume-control#random-volume-perturbation says

ns.v_random_uniform(min, max, pred=None):
ns.v_random_normal(stddev, max_sigma, pred=None):

but that doesn't work

>>> ns.v_random_normal(10, 20, pred=None)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: 'Score' object has no attribute 'v_random_normal'. Did you mean: 't_random_normal'?

and in fact there is no v_random anything in https://github.com/davidpanderson/Numula/blob/main/numula/nscore.py

Also, the pip-installed version fails at read_midifile because it does not contain the fix https://github.com/davidpanderson/Numula/blob/main/numula/read_midifile.py#L22 (which obviously is present in github) so you might want to update the PyPI version.

Input notes

I was wondering if you have considered alternative options to input notes. The n() calls with all those strings are really tedious and error prone, in my super-tiny experiment.

It'd be fantastic if you could input MIDI files and/or LilyPond file format (or one of its output). Or even if that proves too complicated, perhaps an helper script could use those inputs and generate a (preliminary) list of strings to feed into the n() calls, after some editing/massaging. I know, the latter could be even more tedious than typing everything by hand, since if not carefully organized (and it's probably complicated/impossible to organize them from raw inputs) these strings would be a pain to edit...

Suggestion: Add pyproject.toml or setup.py

Just a suggestion:

To make it possible to install this as a normal python package, it'd probably be a good idea to add a pyproject.toml file (modern way) or setup.py (old way) to the project and move the source files into a "numula" subdirectory. Then it's easily possible to track the project and get updates.

Good luck! -- Myke (music21)

gap PFTs

Timing gaps don't fit well into the tempo PFT model.
You can do them with pause_before(connect=False),
but this is inefficient because each one requires a score scan.

Possible solution: "gap PFT": alternating sequence of Delta and Unity segs,
representing a sequence of timing gaps.

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.