Skip to content

Commit

Permalink
Makefile integration and docs
Browse files Browse the repository at this point in the history
  • Loading branch information
antisvin committed Mar 3, 2021
1 parent c8ee98b commit 4f96625
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,8 @@ To compile and load a FAUST patch
Note: assign OWL parameters with slider metadata: `[OWL:A]`, `[OWL:B]` et c. For example:
```gain = vslider("gain[OWL:C]", 1,0,1,0.1);```. Assign push button with e.g. ```gate = button("gate[OWL:Push]");```

Use `make FAUSTOPTS=soundfile` to build patch with soundfiles support. This allows loading WAV files from OWL's flash storage.

## Building Pure Data patches

* put your PD patch file (e.g. `Foo.pd`) into `PatchSource`
Expand Down
5 changes: 5 additions & 0 deletions compile.mk
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,11 @@ CXXFLAGS += -fno-exceptions
ifdef HEAVY
CPPFLAGS += -D__unix__ -DHV_SIMD_NONE
endif
ifdef FAUST
ifneq (,$(findstring soundfile,$(FAUSTOPTS)))
CPPFLAGS += -DSOUNDFILE
endif
endif
ARCH_FLAGS = -fsingle-precision-constant -mthumb
ARCH_FLAGS += -mcpu=cortex-m4 -mfloat-abi=hard -mfpu=fpv4-sp-d16
# ARCH_FLAGS += -mcpu=cortex-m7 -mfloat-abi=hard -mfpu=fpv5-sp-d16
Expand Down

0 comments on commit 4f96625

Please sign in to comment.