brickworks/examples
2023-07-30 10:19:55 +02:00
..
common added copyright notices to new source files 2023-07-30 10:19:55 +02:00
fx_ap1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_ap2 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_balance generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_bitcrush generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_chorus generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_clip generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_comb generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_comp generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_delay android fx work + cleaner Android makefile + fixed num channels in fx_reverb 2023-07-28 11:38:49 +02:00
fx_dist generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_drive generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_eq_3band generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_flanger generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_fuzz generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_hp1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_hs1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_lp1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_ls1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_mm1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_mm2 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_noise_gate generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_notch generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_one_pole beginning of android + moved config.js files to src + temp warn fix in bw_one_pole 2023-07-26 18:38:21 +02:00
fx_pan generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_phaser generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_reverb android fx work + cleaner Android makefile + fixed num channels in fx_reverb 2023-07-28 11:38:49 +02:00
fx_satur generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_slew_lim generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_svf generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_trem generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_vibrato generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fx_wah generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_ap1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_ap2 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_balance generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_bitcrush generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_chorus generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_clip generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_comb generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_comp generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_delay generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_dist generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_drive generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_eq_3band generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_flanger generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_fuzz generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_hp1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_hs1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_lp1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_ls1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_mm1 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_mm2 generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_noise_gate generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_notch generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_one_pole generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_pan generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_phaser generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_reverb generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_satur generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_slew_lim generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_svf generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_trem generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_vibrato generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
fxpp_wah generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
synth_mono generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
synth_poly android support done + fixes bw_{note_queue,voice_alloc} 2023-07-30 09:48:56 +02:00
synth_simple android support done + fixes bw_{note_queue,voice_alloc} 2023-07-30 09:48:56 +02:00
synthpp_mono generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
synthpp_poly generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
synthpp_simple generated all android example Makefiles and config.js 2023-07-30 10:05:35 +02:00
README.md fix typo 2023-02-20 18:12:17 +01:00

Examples

Each subfolder contains an example application, except the common folder, which contains common code for all examples.

In order to build an example just cd to *example*/*platofrm* and use the following platform-specific instructions.

Building for any platform requires a recent enough version of GNU Make installed.

VST3

Prerequisites

Windows (via MSYS2/Mingw-w64), macOS, and Linux OSes are supported. Building tested with GCC, probably also works with Clang.

You also need to download the VST3 SDK and place it in the same folder as the Brickworks folder, or otherwise edit common/vst3/vst3.mk and change the VST3_SDK_DIR variable to point to the correct directory.

Build

In order to build just type make. You'll find the resulting VST3 directory in build/example.vst3.

Installation

If all went fine, you can install for the current user (i.e., into the user VST3 folder) by invoking make install-user.

On macOS and Linux you can also install for all users (i.e., into the system VST3 folder) by make install.

Web

Prerequisites

You need Clang with WebAssembly target support and OpenSSL installed.

Build

In order to build just type make. You'll find the resulting output directory in build/web.

Running

The output files need to be served over HTTPS. A self-signed certificate is generated in the output directory (hence the OpenSSL requirement) to make it possible to run an HTTPS-enabled web server, e.g. http-server -S, directly on/from the output folder.

Daisy Seed

Prerequisites

Building and firmware upload was only tested on Linux. You need arm-none-eabi-gcc (for building) and dfu-util (for firmware upload) installed.

You also need to clone libDaisy, cd to it, and run make. You should either place it in the same folder as the Brickworks folder, or otherwise edit common/daisy-seed/daisy-seed.mk and change the LIBDAISY_DIR variable to point to the correct directory.

Build

In order to build just type make. You'll find the resulting output files in build.

Firmware upload

To upload the firmware:

  1. branch the board to the uploading machine via USB;
  2. put the board in DFU mode by pressing BOOT, then RESET, then letting go of RESET and then of BOOT;
  3. type make program-dfu.

Effect examples report output parameter values and CPU usage statistics via USB serial. You can read the output by, e.g., screen /dev/ttyACM0.

Thanks

Thanks to Mads Kjeldgaard for publishing instructions to build for the Daisy Seed and uploading the firmware.