DaisySP integration#80
Conversation
|
Got any example patches? |
|
Sure, I'll share a patch or two today. |
6ad2822 to
ac4d7b0
Compare
|
Example1, should look vaguely familiar :-) - https://github.com/antisvin/MyPatches/blob/master/DaisySP/KickBoxDPatch.hpp It would be too demanding for OWL2, so I'll add something simpler |
…d to handle custom DSP header for now
|
Will need at least one good example which shows clearly how to use it, and which works on all (or most) devices. |
|
Some news:
|
| CPPFLAGS += -idirafter $(DAISYSP) | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Control | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Drums | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Dynamics | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Effects | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Filters | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Noise | ||
| CPPFLAGS += -idirafter $(DAISYSP)/PhysicalModeling | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Synthesis | ||
| CPPFLAGS += -idirafter $(DAISYSP)/Utility |
There was a problem hiding this comment.
Why do you use -idirafter here?
There was a problem hiding this comment.
That's due to their excellent taste in naming headers ;-)
electro-smith/DaisySP#137
So including it with -I causes wrong file getting used in basicmath.c and a compilation error due to memset not getting found there.
|
Switched to use upstream repo as submodule, no problems with test patch |
It generally works. Patch header should contain the following:
DaisySP objects can be statically or dynamically allocated, then constructor should call .Init(getSampleRate()) for each of them.