File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
examples/examples-audiokit/streams-audiokit-ram-audiokit Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1
1
/* *
2
2
* @file streams-audiokit-sd-audiokit.ino
3
3
* @author Phil Schatzmann
4
- * @brief We record the input from the microphone to a file and constantly repeat to play the file
4
+ * @brief We record the input from the microphone to SPI RAM and constantly repeat to play the file
5
5
* The input is triggered by pressing key 1. Recording stops when key 1 is released!
6
6
* @version 0.1
7
7
* @date 2022-09-01
16
16
uint16_t sample_rate = 16000 ;
17
17
uint8_t channels = 1 ; // The stream will have 2 channels
18
18
AudioKitStream kit;
19
- MemoryManager memory (500 ); // Activate PSRAM for objects > 500 bytes
19
+ MemoryManager memory (500 ); // Activate SPI RAM for objects > 500 bytes
20
20
DynamicMemoryStream recording (true ); // Audio Stored on heap (PSRAM)
21
21
StreamCopy copier; // copies data
22
22
bool is_recording = false ; // flag to make sure that close is only executed one
You can’t perform that action at this time.
0 commit comments