GithubHelp home page GithubHelp logo

andysworkshop / usb-microphone Goto Github PK

View Code? Open in Web Editor NEW
56.0 56.0 19.0 5.58 MB

A USB Microphone built with an INMP441 and an STM32

C 98.28% C++ 0.44% Assembly 0.47% Makefile 0.06% HTML 0.75%

usb-microphone's People

Contributors

andysworkshop 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  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

usb-microphone's Issues

How to realize "Take the most significant 16 bits"

Thanks for your project which gave me a lot of help,but there is one point I dont understand;

int16_t sample = (data_in[0] & 0xfffffffe) | (rand() & 1);

How can this" take the most significant 16 bits and respect the sign bit" ?
I think this can only take the lower 16 bits without sign bit.
thanks

I got some pop noise when enable graphicEqualiser

I got some pop noise when enable graphicEqualiser.
I attach a wav file recored by audacity.
pop_noise.zip
If I disable the graphicEqualiser, everything is fine, although the background noise may raise a little bit.
The hardware is almost the same as yours except the MCU is STM32F446RE.
Could you give me some suggestion to investigate the reason ?
BTW, In the code :
https://github.com/andysworkshop/usb-microphone/blob/master/Core/Inc/Audio.h#L230
what the purpose of make the LSB with a random bit ?
Thanks in advance.

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.