Giter Club home page Giter Club logo

libfmp's People

Contributors

fzalkow avatar meinardmueller avatar mikezzb avatar pkendrick avatar tgabor 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  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

libfmp's Issues

Automated tests

Hi everyone,
I am currently reviewing your JOSS submission here.

I don't think I can tick "Automated tests" yet. I found the script "test_examples.py" and if I executed it, nothing happens. I expect that this means there are no errors. However, it would be great to have some output if everything is alright, e.g. using unittest could help with that.
And another minor remark, it would be great to have a (sub)section in the README that instructs the user about how the tests should be executed, and in the ideal case also describes what is covered by the tests, because for me it looks like only one function per subpackage is covered.

Best regards
Verena

Minor issues in the documentation

Hi again,
while reviewing I noticed a few minor things in the README/documentation:

  • I don't see a statement of need in the documentation. There is a detailed statement of need in the paper but the review check list also asks for a statement of need in the documentation.
  • The info can be found from setup.py but for me as a user it would be helpful to see at one glance which Python version is required (e.g. in the README in section "Installing")
  • Community Guidelines: There is a section regarding contributing, but it does not mention how to "Report issues or problems with the software" or "Seek support", although I would expect it through the same channels (mail to the main author, github issue).

Best regards
Verena

MIDI velocity normalization in midi2list

Hey there!

I just stumbled over following line from c1/c1s2_symbolic_rep.py, where midi velocity in bytes is normalized to $[0,1]$:

velocity = note.velocity / 128.

Shouldn't it be vel/127.0, because midi velocity is in $[0,127]$, so that 0 maps to 0 and 127 maps to 1.0?

Quick link to the line of code I am referring to:
https://github.com/meinardmueller/libfmp/blob/424127f2cd8317f796ab1591f7c0ec408208e782/libfmp/c1/c1s2_symbolic_rep.py#L70C44-L70C44

Just let me know if I'm thinking wrong or why 128 may be the better choice here! :-)
Anyway, thank you very much for your great work in providing all these reference implementations!!!! ๐ŸŽ‰

pysoundfile dependncy

This package depends on the old naming of pysoundfile, the package was renamed at version 0.8 to just soundfile. Having the old package name as a dependency for this repo means that when other packages have the newer name both are installed, this can cause problems as both packages are imported using import soundfile.

I suggest changing the dependency to soundfile rather than pysoundfile, there is no need to adjust versions as 0.8.x and 0.9.x are available on pypi for both pysoundfile and soundfile, though pysoundfile seems to be no longer available for 0.10.x and above.

I created a fork and ran the tests, with no problem and also tested the save_audio function which worked fine:

https://github.com/pkendrick/libfmp

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.