GithubHelp home page GithubHelp logo

ivan-paz / gemuse-supercollider Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 24 KB

SuperCollider script to perform parameter exploration together with the Geometric Multi-parameter Space Exploration interface "GeMuSE"

License: GNU General Public License v3.0

SuperCollider 100.00%

gemuse-supercollider's Introduction

SuperCollider script to perform parameter exploration together with the Geometric Multi-parameter Space Exploration interface "GeMuSE"

This script is a SuperCollider implementation that, together with the Geometric Multi-parameter Space Exploration interface ( GeMuSE, located at: https://github.com/laliki/GeMuSe ) allows the perceptual exploration of the parameter space of an algorithmic system capable of generating sound or musical material (in this case the system is stored at the Ndef( \x, {object} ) ).

Parameter space is understood as the set of all possible parameter combinations of the parametric system, that determine the aural space that it can create.

By perceptual exploration I refer to the process in which we (as composers or performers) tweak the system's parameters while listening to the changes of the output, until we find an interesting configuration. We can iteratively perform this process classifying the different outputs according, for example, to different functionalities. These could be, for example, outputs that can be used for different parts of a musical piece.

The algorithms presented here consider the parameter sets, together with the perceptual user evaluation, as input/output relations. Such relations are processed, iteratively searching for regularities and thereby compressing the data to extract human readable and interpretable (if-then) rules able to represent musical entities of low and high-level.

This process is carried out by the exploring-parameters algorithm (implemented in SuperCollider by Iván Paz and Julian Rohrhuber and available at https://github.com/musikinformatik/exploring-parameters ), and by its extension contained in rule_extraction_function.scd that allows to control the compression process by using thresholds.

Finally, the rules that are used in a generative form throughout a simple Tdef.

Multi-threshold compression

The multi-threshold compression allows to define, for each parameter, different intervals with different thresholds for their values. A threshold is the maximum distance between two parameter values for they to be placed (compressed) into a rule.

This functionality allow us to control the ammount of variation among the values contained in the rules, according to the established ranges for each parameter.

This is done with the gemuseSuperCollider_multithreshold.scd script. In the following code, for hypotetical parameters 1 and 2, the compression thresholds are set as follows: For parameter 1 in the interval [0 to inf) the threshold is set to 1000. For parameter 2 in the interval [0,10] the threshold is set to 5, while in (10 to inf) the threshold has been set to 200. It is possible to define as many thresholds and intervals as we want.

~intervals_and_distances = [
      [

              [ [0, inf],  1000]

      ],

      [

              [ [0, 10], 5 ], [ [10, inf], 200 ]
      ]
])

For further documentation of the algorithms please contact me.

gemuse-supercollider's People

Contributors

ivan-paz avatar

Watchers

 avatar  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.