Skip to content

Commit

Permalink
added arduino and sc slides
Browse files Browse the repository at this point in the history
  • Loading branch information
gufett0 committed Dec 12, 2024
1 parent 4eb59f4 commit a2eac84
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions embeddedprogramming2.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ paginate: true

--

### Available Boards
## Available Boards
https://www.arduino.cc/en/hardware
* **Arduino Uno**: Basic board, good for simple audio projects
* **Arduino Due**:
Expand Down Expand Up @@ -107,7 +107,7 @@ async function connectArduino() {

--

### Basic SuperCollider Syntax
## Basic SuperCollider Syntax

```supercollider
(
Expand All @@ -126,7 +126,7 @@ x.free; // Stop

--

### SuperCollider getting Arduino Data
## SuperCollider getting Arduino Data

```supercollider
SerialPort.listDevices; // List available ports
Expand All @@ -145,7 +145,7 @@ r = Routine({
}).play;
```

### Arduino Code for SuperCollider
## Arduino Code for SuperCollider
Same as for web audio api

```cpp
Expand All @@ -165,9 +165,8 @@ void loop() {
--

## Project Ideas & Applications
You can create:

* Interactive sound installations
* MIDI controllers
* Gesture-controlled synthesizers
* Real-time audio effects processors
* Sensor-based music generators
Expand Down

0 comments on commit a2eac84

Please sign in to comment.