Giter Club home page Giter Club logo

nui-1's Introduction

No User Interface Synth - I

This is a learning project for the programming language Rust.

The final program should be able to run in a Raspberry Pi, be connected to a MIDI Keyboard and just produce some sounds.

The current goals are:

  • No UI. All MIDI controlled.
  • Several Instruments, each defined in a YAML file, with the name the instrument number. Change the instrument, reads the [instrument number].yaml file for that number.
  • Easy sampler: just drop some wav files, with the note names, in a specific directory and its ready to go, interpolating unknown notes, using the given ones, and if I find the way, even with pressure levels.
  • Maybe add some sequencing using my PCR-300 pads and leds.
  • Should use the best audio output available, in order: USB, line-out, (maybe HDMI, makes sense for music?).

To get to those goals, and trying to use all the knobs I have available, there are some internal design decisions:

  • All parameters are controllable. Maybe you connect it or not, but all parameters can be MIDI controller controlled.
  • Internal representation for all data is audio buffers. Like in old analog synths. This means that even the MIDI, as it gets in, its converted to some "analog" value, frecuency, or voltage.
  • It is based on a modular design, but not real time modular. Uses a YAML to define the modules, and the connections.
  • Internally it generates a list with the order for each module, and one audio buffer per connection, which is used first to write the audio data, and on subsequent modules, to read it. It may consume more memory, but avoids all allocations.

TODO list

  • Jack Support: Audio and MIDI
  • Sample MIDI precission (now only block precission)
  • Sin, Tri, Saw and Sqr Oscillators
  • ADSR Envelope
  • Filters
  • Two channel mixer
  • Two channel multiplier
  • LFO
  • Program change changes the synth
  • Quantizer
  • Noise OSC
  • Sample loader (one sample all notes)
  • Polysample loader (Can set sample per note an dinterpolate for unknown)
  • Polyphonic
  • Import synths from synths (to load a main synth def and then set the preset)
  • Work on Raspberry Pi
  • Chorus
  • Delay

nui-1's People

Contributors

davidmoreno avatar

Watchers

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