Giter VIP home page Giter VIP logo

sonipy's People

Contributors

faroit avatar lockepatton avatar tirkarthi 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

Watchers

 avatar  avatar  avatar

sonipy's Issues

bugs

I did a few tests using the interactive Jupyter notebook hosted binder by supplying different x and y values with the following default code in one of the cells:

Tone = SonifyTool(x, y)
Tone.play(autoplay=False)

The following lead to a division-by-zero bug:

x = np.array([1, 2, 3])
y = np.array([0, 0, 0])

The following lead to some bug regarding duration scale:

x = np.array([0, 0, 0])
y = np.array([1, 2, 3])

The following lead to a bug that said the waveforms cannot be added:

x = np.array([1, 2, 3, 4, 5, 6, 7, 8, 9])
y = np.array([1, 1, 1, 1, 1, 1, 1, 1, 1.1])

[JOSS] Add unit testing via CI

The package comes without automatic unit tests. Since the application is sonification, the only way to test the functionality of this package is to listen to the outputs. As this is hard to reproduce I would strongly encourage to include a few unit tests that produce tones give a short known x/y sequence.

This issue is part of a [https://github.com/openjournals/joss-reviews/issues/2446](JOSS submission review)

Error on "from fractions import gcd"

On Python 3.9 I obtain an error on "from fractions import gcd". Changing the line in thinkdsp.py to "from math import gcd" makes to package work.

[JOSS] documentation

From the JOSS review criteria list:

Functionality documentation: Is the core functionality of the software documented to a satisfactory level (e.g., API method documentation)?

the core API of this software is not documented in detail. I would suggest to build a sphinx-based (given suitable docstrings) documentation and make this available on either gh-pages or readthedocs.

This issue is part of a [https://github.com/openjournals/joss-reviews/issues/2446](JOSS submission review)

[JOSS] add community guidelines

The JOSS review criteria recommends to add community guidelines: for a) Contribute to the software b) Report issues or problems with the software c) Seek support

The first point is covered in the readme but in general, a contributing.md document and issue templates would be great additions.

This issue is part of a [https://github.com/openjournals/joss-reviews/issues/2446](JOSS submission review)

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.