Skip to content

bear8203/Unity-DSP-Graph-Modular-Synth

 
 

Repository files navigation

Unity DSP Graph Modular Synth

Unity DSP Graph Modular Synth is an experiment in creating modular synth using Unity's DSP Graph preview package. It uses modified DSP Graph 0.1.0-preview.11 which allows inputs and outputs to remain not connected so that it's easier to leave nodes without all connections. A lot of things in this project are directly inspired by VCV Rack.

sample

Scenes

  • DSP Microphone Input
    Naive implementation of microphone input in DSPGraph. Uses IAudioKernelUpdate to copy data from microphone AudioClip.
  • DSP Synthesizer Code
    Organs-like synth assembled in code with Scope and Spectrum preview on screen.
  • DSP Synthesizer Graph
    The same organs-like synth assembled in xNode graph, which allows easy realtime manipulation during playback.
    Hear this synth sound sample:
    WATCH SAMPLE VIDEO

Nodes

  • ADSRNode
    Simple linear ADSR envelope.
  • AttenuatorNode
    Multiplies amplitude of input signal by factor.
  • MergeNode
    Merges multiple mono inputs into single polyphonic output.
  • MidiNode
    Used MidiJack's native library to process incoming midi events and translate them into signal outputs (Gate, Note, Retrigger).
  • MixerNode
    Mixes polyphonic input into single mono output.
  • MonoToStereo
    Takes two mono inputs and outputs stereo output.
  • OscilatorNode
    Oscilates at given frequency using sine, triangle, saw or square wave. Can be modulated by fm input or pitch input from MidiNode. Supports multiple oscilators in polyphony mode.
  • ScopeNode
    Used for drawing scope data.
    sample
  • SpectrumNode
    Used for drawing spectrum data.
    sample
  • SplitNode
    Splits single poly input into multiple mono outputs.
  • VCANode
    Multiplies two inputs together and outputs result.

Dependencies

About

Advanced modular synthesis in your Unity project!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 100.0%