brickworks/examples
2023-07-25 08:52:01 +02:00
..
common use NDEBUG in examples + fix velocity in synth(pp)_poly + really remove bw_omega* + fix bw_math + fix high cutoff in bw_one_pole + debugging in bw_{note_queue,rand,voice_alloc} 2023-07-25 08:52:01 +02:00
fx_ap1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_ap2 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_balance removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_bitcrush fixed unused parameter warnings 2023-04-02 21:54:17 +02:00
fx_chorus removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_clip removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_comb removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_comp removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_delay removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_dist removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_drive removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_eq_3band removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_flanger removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_fuzz removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_hp1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_hs1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_lp1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_ls1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_mm1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_mm2 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_noise_gate removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_notch removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_one_pole removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_pan removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_phaser removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fx_reverb fx_reverb done 2023-06-02 14:13:29 +02:00
fx_satur fix bw_src_int + use it in fx_satur 2023-03-14 16:46:13 +01:00
fx_slew_lim fix bwpp_slew_lim. unused param warn in bw_slew_lim + fx(pp)_{one_pole,slew_lim} 2023-06-21 17:57:05 +02:00
fx_svf a bunch of c++ wrappers and fxpp examples + new fx_lp1 2023-06-19 17:41:52 +02:00
fx_trem bw_trem fix doc + rename param + new bw_/fx_phaser tentative 2023-02-27 12:30:40 +01:00
fx_vibrato fix fx_vibrato 2023-06-14 12:19:40 +02:00
fx_wah some daisy seed fx examples + fixes (in examples) 2023-02-07 11:01:04 +01:00
fxpp_ap1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_ap2 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_balance removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_bitcrush removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_chorus removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_clip removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_comb removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_comp removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_delay removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_dist removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_drive removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_eq_3band removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_flanger removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_fuzz removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_hp1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_hs1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_lp1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_ls1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_mm1 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_mm2 removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_noise_gate removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_notch removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_one_pole removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_pan removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_phaser removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_reverb removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_satur removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_slew_lim removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_svf removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_trem removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_vibrato removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
fxpp_wah removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
synth_mono removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
synth_poly use NDEBUG in examples + fix velocity in synth(pp)_poly + really remove bw_omega* + fix bw_math + fix high cutoff in bw_one_pole + debugging in bw_{note_queue,rand,voice_alloc} 2023-07-25 08:52:01 +02:00
synth_simple removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
synthpp_mono removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +02:00
synthpp_poly use NDEBUG in examples + fix velocity in synth(pp)_poly + really remove bw_omega* + fix bw_math + fix high cutoff in bw_one_pole + debugging in bw_{note_queue,rand,voice_alloc} 2023-07-25 08:52:01 +02:00
synthpp_simple removed bw_config + beginning of debug (bw_common, bw_buf) 2023-07-21 08:56:27 +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.