GithubHelp home page GithubHelp logo

cpoohee / neuralplugintemplate Goto Github PK

View Code? Open in Web Editor NEW
8.0 2.0 0.0 12.76 MB

An audio plugin template to load an AI Model. Based on JUCE, ONNX model.

License: MIT License

C++ 95.91% C 4.09%

neuralplugintemplate's Introduction

NeuralPluginTemplate

An audio plugin template based on JUCE to load an ONNX AI model.

  • it uses the dynamic lib of ONNX runtime compliled for MACOS.
  • the current Projucer is aimed to deploy AU and VST3 for MAC OS only.

The current controls include the input/output gain and mix level, and also a phase flip check box.

There are 2 basic level meter for input and output.

Quick instructions

  • place the ONNX Model under the folder ./model

  • at the constructor of PluginProcessor.cpp

    • edit the file path e.g : auto model_file = bundle.getChildFile ("Resources/model/waveunet_distort.onnx");
    • and also it's intended blocksize
  • Modify OnnxModel.cpp 's process() for model's input/outputs processing.

  • the current onnxmodel is a noise producing model sample.

  • this repo contains a version 1.14.1 ONNX runtime library for MACOS, which the projucer is configured to run RPath with it.

Notes

  • the process is currently mixed down to mono for the ML model's input.
  • Do modify both OnnxModel.cpp and PluginProcessor.cpp if your model needs stereo input.

Related

neuralplugintemplate's People

Contributors

cpoohee avatar

Stargazers

Alexander Olson avatar L437 avatar Beckett avatar Junichi Shimizu avatar Nicholas Berriochoa avatar Tatsuya Shiozawa avatar  avatar Jamie Morris avatar

Watchers

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