GithubHelp home page GithubHelp logo

zeroisnan / daisytmpl Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 47 KB

A template for Electrosmith Daisy projects with VSCode

License: Creative Commons Zero v1.0 Universal

Makefile 23.80% C++ 67.34% C 8.87%
vcv-rack libdaisy testbench vscode

daisytmpl's Introduction

A VSCode template for Electrosmith Daisy projects

(documentation still work in progress)

This template supports the following features:

  • import libdaisy and DaisySP directly in the workspace as git submodules (external use also supported)
  • build libraries as part of the build flow (pre-built libraries also supported)
  • virtual code testbench using VCV Rack

Note that since the creation of this depot, the Daisy team added vscode support to their Examples depot

How to setup

DO NOT fork this repo. Clone the template instead, you have two ways of doing this:

  • Using GitHub Templates - follow instructions here
  • Cloning locally - follow the instructions below

Cloning locally

git clone --recurse-submodules https://github.com/zeroisnan/daisytmpl.git myproject

If you already cloned, but forgot to include submodules:

git submodule update --init --recursive

Disconnect your clone from this depot:

git remote rm origin

Create your own project in Github and push your code to it. Read more here.

Files configuration (rackbench)

The following changes are only required if you intend to use the VCV Rack virtual testbench

  • Update the Makefile variable RACK_DIR under rackbench/Makefile to reflect the location of your RackSDK. This is required to build VCV Rack plugins.
  • Update the env variabler racksdk.path under rackbench/.vscode/c_cpp_properties_json to reflect the location of your Rack SDK. This is required so that VSCode can resolve include paths and lint check/suggest edits while you type your code.

https://vcvrack.com/manual/PluginDevelopmentTutorial

VCV Rack must run @ 48kHZ sampling rate as the Daisy sampling rate is hard coded in few places within the example

Updating submodules

Update the version of the libdaisy and DaisySP submodules:

git submodule update 
git submodule foreach git checkout master 
git submodule foreach git pull origin master 

daisytmpl's People

Contributors

zeroisnan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

daisytmpl's Issues

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.