All Projects → PowerBroker2 → DFPlayerMini_Fast

PowerBroker2 / DFPlayerMini_Fast

Licence: other
Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.

Programming Languages

C++
36643 projects - #6 most used programming language

Projects that are alternatives of or similar to DFPlayerMini Fast

uos
United Open-libraries of Sound. United procedures for open-source audio libraries. For FPC/Lazarus/fpGUI/MSEgui.
Stars: ✭ 112 (-31.71%)
Mutual labels:  mp3, sound, wav
audio-playback
Ruby/Command Line Audio File Player
Stars: ✭ 20 (-87.8%)
Mutual labels:  mp3, sound, wav
Ni Media
NI Media is a C++ library for reading and writing audio streams.
Stars: ✭ 158 (-3.66%)
Mutual labels:  mp3, sound, wav
Vue Howler
[UNMAINTAINED] A Howler.js mixin for Vue 2 that makes it easy to create custom audio player components
Stars: ✭ 103 (-37.2%)
Mutual labels:  mp3, wav
Audio
Data manipulation and transformation for audio signal processing, powered by PyTorch
Stars: ✭ 1,262 (+669.51%)
Mutual labels:  mp3, wav
Av Converter
[av-converter.com] Audio and Video Converter, and YouTube downloader. Convert to MP3, MP4, AAC, FLAC, AC3, WAV, etc.
Stars: ✭ 97 (-40.85%)
Mutual labels:  mp3, wav
Francium Voice
Record user voice and encode it as MP3 or WAV
Stars: ✭ 35 (-78.66%)
Mutual labels:  mp3, wav
Mediafile
A unified reader of metadata from audio & video files.
Stars: ✭ 138 (-15.85%)
Mutual labels:  mp3, wav
Music Metadata Browser
Browser version of music-metadata parser Supporting a wide range of audio and tag formats.
Stars: ✭ 105 (-35.98%)
Mutual labels:  mp3, wav
Audio Steganography Algorithms
A Library of Audio Steganography & Watermarking Algorithms
Stars: ✭ 146 (-10.98%)
Mutual labels:  mp3, wav
Atldotnet
Fully managed, portable and easy-to-use C# library to read and edit audio data and metadata (tags) from various audio formats, playlists and CUE sheets
Stars: ✭ 180 (+9.76%)
Mutual labels:  mp3, wav
Javascript Media Recorder
WebRTC video recorder library for Javascript
Stars: ✭ 61 (-62.8%)
Mutual labels:  mp3, wav
Soloud
Free, easy, portable audio engine for games
Stars: ✭ 1,048 (+539.02%)
Mutual labels:  mp3, sound
Xamarin Plugins
Cross-platform Plugins for Xamarin, Xamarin.Forms and Windows
Stars: ✭ 97 (-40.85%)
Mutual labels:  mp3, wav
Format parser
file metadata parsing, done cheap
Stars: ✭ 46 (-71.95%)
Mutual labels:  mp3, wav
Miniaudio
Single file audio playback and capture library written in C.
Stars: ✭ 1,889 (+1051.83%)
Mutual labels:  mp3, wav
Audioplayer
Audio Player for Nextcloud and ownCloud
Stars: ✭ 179 (+9.15%)
Mutual labels:  mp3, wav
Symphonia
Pure Rust multimedia format demuxing, tag reading, and audio decoding library
Stars: ✭ 191 (+16.46%)
Mutual labels:  mp3, wav
Minimp3
Minimalistic MP3 decoder single header library
Stars: ✭ 898 (+447.56%)
Mutual labels:  mp3, sound
Esp8266audio
Arduino library to play MOD, WAV, FLAC, MIDI, RTTTL, MP3, and AAC files on I2S DACs or with a software emulated delta-sigma DAC on the ESP8266 and ESP32
Stars: ✭ 972 (+492.68%)
Mutual labels:  mp3, wav

DFPlayer Mini Fast

GitHub version arduino-library-badge

Fast and easy to understand Arduino library to use the DFPlayer Mini MP3 module from DFRobot.com. This is a huge improvement (both in terms of execution speed and simplicity) to the standard library provided by DFRobot.com.

> See the documentation <

Important Notes

If you use the playFromMP3Folder() or playAdvertisement() functions, the files to be played must be organised in an extremely precise manner. The "MP3 Folder" must be in the root of the storage device (such as a MicroSD card) and it must be called "mp3". The folder name is probably not case-sensitive. Likewise, the "Advertisement" folder used for short interruptions to main audio playback must also be in the root of the storage device, and it must be called "advert". In addition, audio filenames must be prepended by a zero-padded 4-digit number if the files are in the root or "mp3" folders. If the files are played from folders other than root or "mp3", the folder names must be zero-padded 2-digit numbers while their contents must be audio files with names prepended by a zero-padded 3-digit number.

If you are using multiple DFPlayers with SoftwareSerial, it is necessary to make your SoftwareSerial instance listen (i.e. SoftwareSerial.listen()) before calling queries such as .isPlaying() or .currentVolume().

Library API:

bool begin(Stream& stream, bool debug, unsigned long threshold=100);

void playNext();
void playPrevious();
void play(uint16_t trackNum);
void stop();
void playFromMP3Folder(uint16_t trackNum);
void playAdvertisement(uint16_t trackNum);
void stopAdvertisement();
void incVolume();
void decVolume();
void volume(uint8_t volume);
void EQSelect(uint8_t setting);
void loop(uint16_t trackNum);
void playbackSource(uint8_t source);
void standbyMode();
void normalMode();
void reset();
void resume();
void pause();
void playFolder(uint8_t folderNum, uint8_t trackNum);
void playLargeFolder(uint8_t folderNum, uint16_t trackNum);
void volumeAdjustSet(uint8_t gain);
void startRepeatPlay();
void stopRepeatPlay();
void repeatFolder(uint16_t folder);
void randomAll();
void startRepeat();
void stopRepeat();
void startDAC();
void stopDAC();
void sleep();
void wakeUp();

bool isPlaying();
int16_t currentVolume();
int16_t currentEQ();
int16_t currentMode();
int16_t currentVersion();
int16_t numUsbTracks();
int16_t numSdTracks();
int16_t numFlashTracks();
int16_t currentUsbTrack();
int16_t currentSdTrack();
int16_t currentFlashTrack();
int16_t numTracksInFolder(uint8_t folder);
int16_t numFolders();

void setTimeout(unsigned long threshold);
void findChecksum(stack& _stack);
void sendData();
void flush();
int16_t query(uint8_t cmd, uint8_t msb=0, uint8_t lsb=0);
bool parseFeedback();

void printStack(stack _stack);
void printError();

DFPlayer Mini Pinout:

550px-Miniplayer_pin_map

DFPlayer Mini Pin Description:

Pin_map_desc_en

Example Wiring Diagram:

550px-PlayerMini

For more info: https://www.dfrobot.com/wiki/index.php/DFPlayer_Mini_SKU:DFR0299

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].