Giter VIP home page Giter VIP logo

music_plasticity's Introduction

Web-app musicplasticity allows users to change rhythmic and harmonic content of a multi-part music.

It is a MusicXML processor for browser, which does the whole job on the client-side.

It imports MusicXML file, translates musical (symbolic) data into numeric domain, process it according to user input and translate it back to symbolic data, displays it with verovio library and serialize it as .musicxml data, which then can be downloaded by the user.

You can upload your own MusicXML file to process. Processing take place on x (time) and y (harmony) coordinates by rescaling their value. Time can be fastened and slowed down (i.e. multiplying each note by a scaler) - accordingly, note values and time signatures are being changed, notes are repacked into bars. Metre can be modified with gradual change. At this case notes are rescaled with corresponding interpolated values between start and end values.

Harmonic processing is being achieved by changing upper and lower ranges of a given multi-part music and calculating/rescaling each part according to these new ranges.

Exporting MusicXML was the most difficult stage at this project. I write an experimental .musicxml exporter, which does the job not perfectly. Some note within a bar might be missing, though softwares like MuseScore or Logic Pro corrects it perfectly.

CREDITS: For rescaling and interpolating I adapted H. Taube’s rescale and interp functions from his commonmusic library.

To encode xml file I utilise xmlbuilder2 library.

To display music score on web page > verovio library

To unzip .mxl files > jszip

For midi playback wildwebmidi

TODO: Tuplets. I need to add capabilities to quantize rhythmic values to multiples of 0.2 (quintuplets) and 0.3 (triplets) and serialize them to MusicXML file.

Time-signatures. It needs to be reissued the algorithm, which is responsible for packing notes as bars.

music_plasticity's People

Contributors

ayk-caglayan avatar

Watchers

 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.