Skip to content

random volume documentation/code #5

@davidedelvento

Description

@davidedelvento

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions