Giter VIP home page Giter VIP logo

hrep's People

Contributors

pmcharrison avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

hrep's Issues

Audio synthesis with sox

It would be good to add a method for audio synthesis with sox. It makes sense to synthesise tones according to the idealised harmonic expansion used in pi_sparse_spectrum.

Example sox command: play --norm=-3 -n synth 2 pluck A2 pluck A3 pluck A4 channels 1

Remove c() method

Best to remove the c() method for chord representations, as it can yield unexpected results for users assuming that it'll behave like a normal numeric vector.

smooth_pc_spectrum(pc_set(0), force = TRUE) fails

smooth_pc_spectrum(pc_set(0), force = TRUE)

fails with error

Error in assert_force(force) : 
  cannot deterministically convert this object to a 'pi_chord' representation. To force such a conversion, set force = TRUE.

Instantiation of chord objects is slow

If core methods such as .pc_set and pc_set were written in C++ this would really speed things up for batch conversion operations. This should be a development target once the API is definitively pinned down.

`metadata` help doc

metadata of a sequence (coded_vec) contains $keysig (a signed integer) and $mode (integer, mostly 0 or 9?) but their mappings are not explained anywhere. It would be useful if I can use $keysig to transpose pitch class chords with respect to a reference pitch class (e.g., C=0) but the relationship between the $keysig value and the actual key is unclear (e.g., 'bach-chor001', which seems to be Riemenschneider No.1 (BWV 269), has a $keysig=1 but is in G major. A clear explanation would be much appreciated.

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.