Giter VIP home page Giter VIP logo

esp-box_firmware_alexa's People

Contributors

s60sc avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Forkers

gaorufeng

esp-box_firmware_alexa's Issues

How did you did it?

Hi, @s60sc I’m new to esp devices and even programming c.
I have a esp32-s3-box and esp-korvo.
I was able to install/update firmware but I search for a starting point to add Mqtt in addition to demo functions.
It seem that platformio, audrino and esphome Doesn’t support this board. Even if then I’m not able by now to get this demo functions developed.
so customizing Demos is the way to go.
How you did it?

Thanks

Tried Alexa and works fine never did get round to trying if the 34mm mic spacing makes much difference.
Speed of sound is 343 m / s so divide by 16k is 21.5mm so likely the 16mm diff (less than a sample) will make little diff is not exact.

Dunno if you noticed but the 4 channel ADC provides ref channel sync as guess there must be latency in the i2s stream as AEC can be very clock sensitive.
I noticed this with speex as using different soundcards and clocks kills speex aec and the dev notes of speex highlight that pretty strongly so guess MASE is the same.
In the forum it was suggested it was due to DAC distortion that the input I2S could not be used for ref, I doubt that very much as the amp, speaker & room distortion will be huge in comparison.

Prob is with compiled blob libs is it stops much tinkering as if the clock latency of mic & ref could be matched as presume its just a few clocks, then maybe a hardware loopback would not be needed as pretty sure its there for sync and not dac distortion.

I have been wondering if tflite-micro is going to be optimised for the s3 as it seems to have more layer capacity and xtensa even have a LSTM that I think would run on S3.
I think there are better models that likely would run DS-CNN from https://github.com/google-research/google-research/tree/master/kws_streaming is one but really if LSTM is an option then CRNN like multinet is a good option for streaming KWS and having control of the dataset is really advantageous as if you save the signature and collate local data you can run additional epochs of actual use to really up accuracy.
Its strange multinet is CRNN based as ESP-DL seems to lack both LSTM or GRU or do the convert tools work even if layers are not implicit in the ESP32-DL layers?

Thinking about it if the mic i2s stream was an incrementing number then the 1st number 1 at the dac would have the clock count at mic input.
Dunno sure there is a way to measure the input stream clock latency as really struggling to source cost effective quad channel ADC's and pretty sure the necessary sync can be worked out in software.

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.