Git Product home page Git Product logo

sms-tools's Introduction

sms-tools

Sound analysis/synthesis tools for music applications written in python (with a bit of C) plus complementary teaching materials.

How to use

In order to use these tools you have to install python (recommended 3.7.x) and the following modules: ipython, numpy, matplotlib, scipy, and cython.

In Ubuntu (which we strongly recommend) in order to install all these modules it is as simple as typing in the Terminal:

$ sudo apt-get install python-dev ipython python-numpy python-matplotlib python-scipy cython

In OSX (which we do not support but that should work) you install these modules by typing in the Terminal:

$ pip install ipython numpy matplotlib scipy cython

then, for using the tools, after downloading the whole package, you need to compile some C functions. For that you should go to the directory software/models/utilFunctions_C and type:

$ python compileModule.py build_ext --inplace

The basic sound analysis/synthesis functions, or models, are in the directory software/models and there is a graphical interface and individual example functions in software/models_interface. To execute the models GUI you have to go to the directory software/models_interface and type:

$ python models_GUI.py

To execute the transformations GUI that calls various sound transformation functions go to the directory software/transformations_interface and type:

$ python transformations_GUI.py

To modify the existing code, or to create your own using some of the functions, we recommend to use the workspace directory. Typically you would copy a file from software/models_interface or from software/transformations_interface to that directory, modify the code, and execute it from there (you will have to change some of the paths inside the files).

Jupyter Notebook instructions

Install Jupyter Notebook according to it's instructions https://jupyter.org/install

Start up jupyter notebook

$ jupyter notebook

Follow instructions appearing in the console regarding navigating your browser to the notebook

Content

All the code is in the software directory, with subdirectories for the models, the transformations, and the interfaces. The lecture materials are in the lectures directory, the assignments related to the lectures in the assignments directory, and the sounds used for the examples and coming from http://freesound.org are in the sounds directory.

License

All the software is distributed with the Affero GPL license (http://www.gnu.org/licenses/agpl-3.0.en.html), the lecture slides are distributed under Creative Commons Attribution-NonCommercial-ShareAlike 4.0 (CC BY-NC-SA 4.0) license (http://creativecommons.org/licenses/by-nc-sa/4.0/) and the sounds in this repository are released under Creative Commons Attribution 4.0 (CC BY 4.0) license (http://creativecommons.org/licenses/by/4.0/)

sms-tools's People

Contributors

xserra avatar sankalpg avatar fabiaserra avatar xavierfav avatar edufonseca avatar ajaysmurthy avatar shtan avatar jiemojiemo avatar jeffhoek avatar sugu14 avatar migperfer avatar vsergeev avatar tychobrailleur avatar gentlecat avatar i026e avatar kokimame avatar manwithacat avatar felixonmars avatar qrqiuren avatar

Watchers

James Cloos avatar

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.