Coder Social home page Coder Social logo

ales-tsurko / kotoist Goto Github PK

View Code? Open in Web Editor NEW
42.0 5.0 5.0 3.1 MB

A VST plugin for live coding and algorithmic composition

Home Page: https://alestsurko.by/kotoist

License: GNU General Public License v3.0

Rust 39.47% Shell 1.85% JavaScript 58.07% HTML 0.61%
vst plugin algorithmic-composition generative-music scripting midi live-coding

kotoist's Introduction

Kotoist

VST plugin for live coding using Koto programming language.

Build

Use ./build.sh win on Windows or ./build.sh mac on macOS.

If you wish to build manually, you should build GUI first:

cd gui
yarn
yarn build

Then you can build the plugin:

cd ..
cargo build

On OS X VST plugins are packaged inside of loadable bundles. To package your VST as a loadable bundle you may use the osx_vst_bundler.sh script this library provides.

Example:

./osx_vst_bundler.sh Plugin target/release/plugin.dylib
Creates a Plugin.vst bundle

ref

REAPER Specific

To make the plugin work as expected, you should right-click on the plugin in the FX Rack and choose "Send all keyboard input to plugin".

FL Studio Specific

The debug build initialize a log file on your desktop. At least on macOS this crashes FL Studio on start. To prevent it, comment out the log initialization.

Deployment

Just tag a new version and push it to remote.

git tag {version}
git push origin {version}

Docs

You need doctave and gh-pages node package.

To install gh-pages (it's important to use 3.0.0 version):

npm install -g [email protected]

Building and deploying the docs:

doctave build --release
gh-pages -d site

kotoist's People

Contributors

ales-tsurko avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

kotoist's Issues

Windows 10 64x build crashes Reaper

Hi, I followed the instructions to build kotoist, first the gui then the VST, I then copied the generated kotoist.dll file into my VST folder. After adding kotoist to a track Reaper crashed giving a C++ runtime error.
error

Do you maybe know what could be the problem? Is there a log I could paste here, with details of the build?

freezing upon loading in Ableton Live 10

Hi,

Trying this out in Ableton Live 10 and it freezes when loading. Attached a screenshot of what I see in Ableton - it just shows "Loading..." and i am never able to input code
Screen Shot 2021-10-27 at 9 41 25 PM

Linux compilation fails

I'm trying to compile this plugin on Ubuntu 22.04. The gui appears to compile fine:

yarn build
yarn run v1.22.19
$ node scripts/build.js
Creating an optimized production build...
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
Compiled successfully.

File sizes after gzip:

  863.81 KB  build/static/css/main.24531017.chunk.css
  49.69 KB   build/static/js/2.63866348.chunk.js
  2.82 KB    build/static/js/main.4b3838b4.chunk.js
  1.62 KB    build/static/js/3.b7113776.chunk.js
  1.16 KB    build/static/js/runtime-main.7505a2aa.js

The project was built assuming it is hosted at /.
You can control this with the homepage field in your package.json.

The build folder is ready to be deployed.
You may serve it with a static server:

  yarn global add serve
  serve -s build

Find out more about deployment here:

  https://cra.link/deployment

Done in 8.97s.

But when I try and build the plugin it fails at the point of compiling the vst-gui

   Compiling chrono v0.4.22
   Compiling vst-gui v0.2.0 (https://github.com/ales-tsurko/rust-vst-gui.git#0105f6d3)
error[E0308]: mismatched types
  --> /home/hellocatfood/.cargo/git/checkouts/rust-vst-gui-6c216ce8a2ccc232/0105f6d/src/lib.rs:77:97
   |
76 | pub fn new_plugin_gui(
   |        -------------- implicitly returns `()` as its body has no tail or `return` expression
77 |     html_document: String, js_callback: JavascriptCallback, window_size: Option<(i32, i32)>) -> PluginGui
   |                                                                                                 ^^^^^^^^^ expected struct `PluginGui`, found `()`

For more information about this error, try `rustc --explain E0308`.
error: could not compile `vst-gui` due to previous error
warning: build failed, waiting for other jobs to finish...
error: build failed

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.