GithubHelp home page GithubHelp logo

s60sc / esp32_voicechanger Goto Github PK

View Code? Open in Web Editor NEW
48.0 5.0 6.0 1.16 MB

ESP32 application to change a voice to be eg stormtrooper or dalek sounding, either in real time for cosplay or as a recording. Recordings can be downloaded to the browser as a WAV file for playback on a media player

License: GNU Affero General Public License v3.0

HTML 12.36% C++ 72.24% C 2.55% JavaScript 12.85%
esp32 esp32-arduino dalek stormtrooper voice biquad i2s microphone amplifier cosplay

esp32_voicechanger's People

Contributors

s60sc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

esp32_voicechanger's Issues

Unable to get any audio output

Hi, wondering if I could have some pointers to getting this working? I'm using a devkit board with an INMP441 and a MAX98357A. Firstly, I have tested tested my hardware using separate scripts, one to view the mic waveform in the serial plotter, and another to play audio in the speaker, both work ok. However I can't just get the voice changer script to work. I have entered the pins correctly, tried switching the "I2S Peripheral Channel" settings, and changed the various other controls but can't get anything out of the speaker.

An example extract from the log showing that there's no errors really:

[00:09:44.805 setupMic] Setup I2S microphone
[00:09:44.817 setupAmp] Setup I2S amplifier
[00:09:44.818 startupMic] Start microphone on port 1
[00:09:44.818 startupAmp] Start amplifier on port 0
[00:09:44.830 actionTask] Passthru started
[00:10:03.103 actionTask] Passthru stopped

Any help appreciated!

Schema

it is not an issue, but a request. Do you have the schematic you used? Can you share it?

The majority of the functions do not work

Dear @s60sc,

I trust this message finds you in good health. I have been thoroughly intrigued by your project, which I recently came across. Specifically, I was drawn to its "Pass Thru" capability, with the aspiration of emulating the distinctive sound of a storm trooper.

Regrettably, it appears that a substantial portion of the functionalities within the project are currently non-operational, with the exception of the following elements:

  • Volume
  • Preamp Gain
  • Brightness

Moreover, any attempt to modify the value of the "Pitch Shift" parameter results in an ESP32 system crash, accompanied by the "Guru Meditation Error."

For clarity, I have thoughtfully compiled an illustrative representation of the functional status of these features. Functions deemed operational are highlighted in green, those that are non-functional are marked in red (signifying that alterations to their values yield no perceptible change in sound output), and functions displaying minimal and arguably inconsequential alterations are highlighted in yellow. You can view this graphical representation:

image

he hardware configuration I employed for testing includes the following components:

  • ESP32 S3 (LILYGO T-Display S3)
  • I2S Interface INMP441 Microphone
  • MAX98357A I2S 3W Class D Amplifier
  • 3W Speaker

To enhance the utility of your project, I would like to propose the incorporation of a menu system featuring predefined voice settings for popular movie characters such as Storm Troopers and Darth Vader. Additionally, granting users the ability to dynamically switch between voice modes through physical buttons and incorporating a small OLED screen for real-time mode selection display would be valuable additions.

In conclusion, I must commend you on conceiving such an intriguing project. Given its potential, once these issues are addressed, it is poised to become one of my favorite projects.

Best Regards,

Can't load sketch on ESP32

If I try to load sketch in my ESP32 WROOM Devkit, I get:

Lo sketch usa 1329125 byte (101%) dello spazio disponibile per i programmi. Il massimo è 1310720 byte.
Le variabili globali usano 83268 byte (25%) di memoria dinamica, lasciando altri 244412 byte liberi per le variabili locali. Il massimo è 327680 byte.
Sketch troppo grande; guarda https://support.arduino.cc/hc/en-us/articles/360013825179 per consigli su come ridurne la dimensione
la sezione del testo supera lo spazio disponibile nella scheda

Compilation error: la sezione del testo supera lo spazio disponibile nella scheda

In English it should sound like this:

The sketch uses 1329125 bytes (101%) of the space available for the programs. The maximum is 1310720 bytes.
Global variables use 83268 bytes (25%) of dynamic memory, leaving another 244412 bytes free for local variables. The maximum is 327680 bytes.
Sketch too big; see https://support.arduino.cc/hc/en-us/articles/360013825179 for advice on how to reduce its size
the text section exceeds the space available on the card

Compilation error: the text section exceeds the available space in the card

Setup screen loop

Hello s60sc!
I've successfully uploaded your code to an ESP32 and connected to its network, but accessing 192.168.4.1 always shows the network configuration screen instead of the VC.htm page, using either the UI or OTA to update the settings. Do you know what could be the issue?
Thank you
(Edit: turns out the network name can't have a space, even if ALLOW_SPACES is set to true)

Libraries

Hi,
Which librarie(s) do I have to install for the VoiceChanger?
I currently get an error message #include "ping/ping_sock.h" ?
Thank you

cant run it

image
hello,
some shit , i try run with i2s mic ,but now

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.