Skip to content

esptiny86/espsynth86

Folders and files

NameName
Last commit message
Last commit date

Latest commit

c65baa7 · Apr 4, 2019
Jan 8, 2019
Nov 16, 2018
Jan 9, 2019
Mar 31, 2019
Aug 30, 2018
Apr 2, 2019
May 3, 2014
Apr 2, 2019
Jan 9, 2019
Oct 23, 2018
Oct 26, 2018
Jan 9, 2019
Aug 29, 2018
Aug 29, 2018
Oct 26, 2018
Jan 10, 2019
Aug 29, 2018
Apr 4, 2019
Aug 29, 2018
Aug 29, 2018
Apr 2, 2019
Mar 31, 2019
Mar 31, 2019
Aug 30, 2018

Repository files navigation

espsynth86

Synth engine for esptiny86. this module is largely based on MicrobeModular's Equation Composer ported to esp8266 with full featured Audio Design tool https://esptiny86.github.io/espnode86

How To install (For user)

Hardware Implementation Example

8BitmixtapeWIFI

esptiny86 Stompbox design by @Dusjagr

Schematics

There are two methods for generating sound with ESP8266

  • PDM - Pulse Density Modulation

  • DAC - Digital Analog Converter (tested with PT8211)

To choose between mode uncomment in synthmodule86.ino file

define USE_PDM

Audio design Tools

Tips

NeoPixelBus (works well with esp8266)

https://github.com/Makuna/NeoPixelBus


//declare
NeoPixelBus<NeoRgbFeature, NeoEsp8266BitBang400KbpsMethod> neoPixel(NEO_NUM_LEDS, NEO_DATA_PIN);
RgbColor green(0, 128, 0);

//setup
neoPixel.Begin();
neoPixel.Show();

//update
neoPixel.SetPixelColor(i, green);

Fix clicking sound


#include "ESP8266WiFi.h" // wifi header only needed to turn it off

void setup() {
    WiFi.forceSleepBegin(); // turn of wifi to reduce power consumption
}

Compiling (for developer)

  • Install Arduino IDE then install esp8266 from board library
  • Open and configure "Makefile" file, then on command prompt/terminal type Make (the Makefile will auto discover your Arduino IDE and Libs))
    • Nodemcu Lolin use BOARD = nodemcu
    • Wemos D1 use BOARD = d1_mini
  • Qt Creator is optional but it is recommended for developing further with espsynth86
  • Edit project.include to your pathto get Intelisense in QT Creator

Compiling (for developer) (library version)

  • Install Arduino IDE then install esp8266 from board library
  • Open and configure "Makefile" file, then on command prompt/terminal type Make (the Makefile will auto discover your Arduino IDE and Libs))
    • Nodemcu Lolin use BOARD = nodemcu
    • Wemos D1 use BOARD = d1_mini
  • Qt Creator is optional but it is recommended for developing further with espsynth86
  • Edit project.include to your pathto get Intelisense in QT Creator
  • sh build_lib.sh

Support

This project is developed independently and without any connection to funding or big collective or organization, Donation is highly appreciated, go to https://www.patreon.com/badgeek become a patron and support this project

https://www.patreon.com/badgeek

Credits