• Stars
    star
    162
  • Rank 232,284 (Top 5 %)
  • Language
    Objective-C
  • Created over 5 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

ULP Sound Player

Introduction

These sketch show how to use the Ultra Low Power coprocessor (U.L.P.) of the ESP32 in order to play music, and relieve main processor's core of this task. Only a lightweight task refill from time to time the ULP separate memory with instruction which contains samples. That could be usefull for videos games, where graphics can monopolize both 2 cores.

This awesome video explain how it works : https://www.youtube.com/watch?v=6PGrsZmYAJ0

Setup

Just connect your speaker to pin 25 if you use the mono mode, or connect left speaker to pin 25 and right one to pin 26. Then, just upload the corresponding sketch to your ESP32.

Convert Your Sound

Sample array can be easily replaced with your sound :

Be carefull, ESP32 has only 4 MB of Flash, which can contain only few seconds of sound (depending of the sampling rate, stereo/mono mode etc...).

More Repositories

1

ESP32Lib

C
382
star
2

ESP32CompositeVideo

C++
274
star
3

ESP32CameraI2S

C++
155
star
4

ESP32CamTimeLapse

C++
138
star
5

bitluniHomeAutomation

C++
125
star
6

wifiButton

JavaScript
121
star
7

ESP32VGA

C++
117
star
8

ESP32AMRadioTransmitter

C
106
star
9

LEDWallCamera

C
99
star
10

ESP32Camera

C++
66
star
11

SonarScannerV1

HTML
65
star
12

EspRfRemote

Sketch to use an ESP mit Arduino as a RF remote for chap-ass power outlets (BH9938)
Arduino
43
star
13

PicoWMatrixSceenShare

HTML
39
star
14

PingPongLEDMatrix

C++
36
star
15

GameWing2USB

Objective-C
33
star
16

OsciDisplay

Objective-C
29
star
17

ESP32SpaceShooter

Objective-C
25
star
18

DawnOfAV

Objective-C
24
star
19

arduinoMIDISynth

Arduino
24
star
20

WeatherStation

Arduino
24
star
21

AudioVideoExample

Objective-C
21
star
22

MQTTLights

C
20
star
23

POVLightsaber

Objective-C
19
star
24

TetrisSpaceX

Objective-C
18
star
25

3DScannerESP8266

C++
18
star
26

BasicRf

Basic sketch to use an Arduino as a RF remote for chap-ass power outlets (BH9938)
C++
17
star
27

NerdLevelYouTubeButton

C++
16
star
28

noWorriesKeyFob

C++
15
star
29

Barometer

Arduino
15
star
30

LenticularExperiments

HTML
15
star
31

Doorbell

C++
14
star
32

DIYScooter

C++
14
star
33

MotionPumpkin

Objective-C
14
star
34

SonarScannerV2

C++
14
star
35

MiniGame

C++
13
star
36

Wave2020

Osci XY-Mode graphics on the ESP32 using I2S and internal DACs
C++
12
star
37

SmokeDetectorHack

Mongoose OS based code to call links whenever the ESP is powered up
JavaScript
11
star
38

ArduinoGameController

C++
11
star
39

FlippyFlip

C++
9
star
40

MongooseApps

JavaScript
6
star
41

WavetableEditor

HTML
6
star
42

RobotArm

C++
5
star
43

SpriteEditor

HTML
5
star
44

KillerBadge

Objective-C
4
star
45

MalletsBot

C++
4
star
46

MagnetMatrix

C
4
star
47

UsbMidiHostTests

C++
3
star
48

LDRScanerButtonPusher

C++
2
star
49

Power-Pack

2
star
50

SpriteEditorRGBA

HTML
2
star
51

IPSnifferPrinter

C++
2
star
52

appleConverter

HTML
2
star
53

screenshare16x16

Screen Share for LED Matrices in 16x16 pixels
HTML
2
star
54

ESP32_DMA_Camera

2
star
55

HDMI720p

Verilog
1
star
56

CH32X035_MSC_U-Disk

C
1
star