Giter Site home page Giter Site logo

granulizor's Introduction

Granulizor

Granular Synthesis VST built in Rust

  • What is granular synthesis?

Short answer: It is taking "grains", very short snippets of audio from a file, and repeating them to create a new sound.

Long answer: https://en.wikipedia.org/wiki/Granular_synthesis

  • Main features of the synth:
  1. Grain size: This parameter controls the size of the grain in miliseconds.
  2. Sample start: This parameter controls where in the sample the synth will take the loop from.
  3. Pitched mode: When turned on, the synth will use linear interpolation to repitch the sample to whatever note is being played in the midi information being passed to the synth.
  4. Sample select: Currently, GUIs have not been implimented in the Rust VST API, so the only way I could add some form of sample selector was to have it be a parameter that let you cycle through different samples. I included 2 samples to cycle through as a proof of concept.
  • Setting up
  1. Due to the fact that the find_folder crate doesn't work with VSTs (I believe this has to do with how the DLLs are loaded), and the lack of ability to create any form of gui, the path to the "assets" folder must be hard coded into the source before compiling.
  2. I use Bitwig as my VST host (or DAW), but any you can find for your operating system should work.
  3. Once your host or DAW is up and running and you have built the DLL, you should be able to drag and drop the DLL into the DAW and it should make a new channel. You can then drag and drop the "midi.mid" file from the "assets" folder onto that channel. You should now be able to hit play and hear the initial sounds created by the VST.
  4. Now you should be able to adjust the parameters and play with them to create sounds based on the samples in the "assets" folder.

granulizor's People

Stargazers

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