Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
workshop
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
teensy_audio
workshop
Commits
a460b69e
Commit
a460b69e
authored
7 years ago
by
t6
Browse files
Options
Downloads
Patches
Plain Diff
updated midside-chorus-reverb
parent
7f5665b4
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/midside-chorus-reverb.ino
+49
-0
49 additions, 0 deletions
code/midside-chorus-reverb.ino
with
49 additions
and
0 deletions
code/midside-chorus-reverb.
cpp
→
code/midside-chorus-reverb.
ino
+
49
−
0
View file @
a460b69e
#include
<Audio.h>
#include
<Audio.h>
#include
<Wire.h>
#include
<Wire.h>
#include
<SPI.h>
#include
<SPI.h>
...
@@ -5,17 +6,44 @@
...
@@ -5,17 +6,44 @@
#include
<SerialFlash.h>
#include
<SerialFlash.h>
// GUItool: begin automatically generated code
// GUItool: begin automatically generated code
AudioInputI2S
i2s1
;
//xy=
141,57
AudioInputI2S
i2s1
;
//xy=
72,94
AudioEffectMidSide
midside1
;
//xy=
267,57
AudioEffectMidSide
midside1
;
//xy=
198,94
AudioEffectChorus
chorus1
;
//xy=
426,50
AudioEffectChorus
chorus1
;
//xy=
357,87
AudioEffectReverb
reverb1
;
//xy=
429,86
AudioEffectReverb
reverb1
;
//xy=
360,123
AudioOutputI2S
i2s2
;
//xy=
628,66
AudioOutputI2S
i2s2
;
//xy=
559,103
AudioConnection
patchCord1
(
i2s1
,
0
,
midside1
,
0
);
AudioConnection
patchCord1
(
i2s1
,
0
,
midside1
,
0
);
AudioConnection
patchCord2
(
i2s1
,
1
,
midside1
,
1
);
AudioConnection
patchCord2
(
i2s1
,
1
,
midside1
,
1
);
AudioConnection
patchCord3
(
midside1
,
0
,
chorus1
,
0
);
AudioConnection
patchCord3
(
midside1
,
0
,
chorus1
,
0
);
AudioConnection
patchCord4
(
midside1
,
1
,
reverb1
,
0
);
AudioConnection
patchCord4
(
midside1
,
1
,
reverb1
,
0
);
AudioConnection
patchCord5
(
chorus1
,
0
,
i2s2
,
0
);
AudioConnection
patchCord5
(
chorus1
,
0
,
i2s2
,
0
);
AudioConnection
patchCord6
(
reverb1
,
0
,
i2s2
,
1
);
AudioConnection
patchCord6
(
reverb1
,
0
,
i2s2
,
1
);
AudioControlSGTL5000
sgtl5000_1
;
//xy=1
116,33
AudioControlSGTL5000
sgtl5000_1
;
//xy=1
047,70
// GUItool: end automatically generated code
// GUItool: end automatically generated code
void
setup
()
{
// put your setup code here, to run once:
AudioMemory
(
10
);
// pinMode(7, INPUT_PULLUP);
// pinMode(8, INPUT_PULLUP);
Serial
.
begin
(
115200
);
sgtl5000_1
.
enable
();
sgtl5000_1
.
volume
(
0.9
);
//use for line input instead of mic:
sgtl5000_1
.
inputSelect
(
AUDIO_INPUT_LINEIN
);
// waveform1.begin(WAVEFORM_SINE);
/* delay(1000);
button0.update();
button1.update();
a1history = analogRead(A1);
a2history = analogRead(A2);
a3history = analogRead(A3);
*/
}
void
loop
()
{
// put your main code here, to run repeatedly:
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment