-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73b1f42
commit eff7596
Showing
42 changed files
with
116,903 additions
and
73,198 deletions.
There are no files selected for viewing
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# The Anatomy of an Effect | ||
------ | ||
|
||
Let's start by learning the anatomy of a basic Arduino "Sketch" (aka "program" in Arduino speak). | ||
|
||
With the Arduino app open, go to File->New. You'll see a new text editor window appear with a new "sketch". This sketch will come pre-populated with two *functions*. One is called `setup()` and another is called `loop()`. | ||
|
||
When the sketch is downloaded to our hardware, it will first run any commands in the `setup()` function once. And then it will run the `loop()` function repeatidly. Each time you power up the board, it goes through the same sequence (run `setup()` once and then run `loop()` indefinitely). | ||
|
||
When creating effects, there are three places we'll add code. | ||
|
||
First (in area #1), we'll define / "declare" which effects building blocks we'll be using at the very top of the file. We can declare up to 100 effect blocks (for example, if you wanted to create 100 delay lines and wire them together, go for it!). | ||
|
||
Next (in area #2), we'll define how these building blocks connect to the audio in / out jacks and to each other. We can also route control signals between the effect blocks here too. | ||
|
||
Finally (in area #3), we'll add any real-time controls of the effect parameters. This is where we, for example, respond to a pressed footswtich, changed knob or switch. | ||
|
||
![Anatomy of an effect](../images/anatomy.png) | ||
|
||
While some effects may look complex at first glace, they all really have these three components. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,2 @@ | ||
cd into docs directory | ||
Do a doxygen to recreate docs | ||
do a make html to rebuild the html | ||
./sync_src.sh && doxygen && make html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
.. _hardware: | ||
|
||
***************** | ||
Meet the Hardware | ||
***************** | ||
|
||
|
||
Gen 1: The Dream Lemur | ||
###################### | ||
|
||
The first generation hardware was designed in the spring of 2019 and manufactured during the summer. | ||
|
||
Features: | ||
* 450MHz SHARC DSP + SAMD51 processor (running Arduino stuff) | ||
* Stereo in / Stereo out @ 48kHz sampling rate | ||
* Short (QWIIC) and long range (CAT-5) sensor interfaces | ||
* Wireless sensor interface (via RF transceiver) | ||
* USB connector (for programming and debug) | ||
* 3 pots | ||
* 2 footswitches | ||
* 2 red LEDs | ||
|
||
.. image:: ../images/dmfx_1.png | ||
|
||
Gen 2: The Beyonder | ||
################### | ||
|
||
The design for the second generation hardware began as soon as we started using the first generation and realized all the things that could be improved. Our first gen-2 hardware is in house and working great so far. | ||
|
||
Features | ||
* 450MHz SHARC DSP + SAMD51 processor (running Arduino stuff) | ||
* Stereo in / Stereo out @ 48kHz sampling rate | ||
* Expression pedal | ||
* MIDI in / out | ||
* Short (QWIIC) and long range (CAT-5) sensor interfaces | ||
* USB connector (for programming and debug) | ||
* 5 pots | ||
* 2 footswitches | ||
* 3 RGB LEDs | ||
* 2 3-way toggles | ||
|
||
.. image:: ../images/dmfx_2.png |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/bash | ||
rm -R ../src/* | ||
cp -r ~/Documents/Arduino/libraries/dmfx-arduino/* ../src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.