Replies: 1 comment 1 reply
-
Unfortunately, we do not have yet a i2s implementation (or microphone sample streaming either). To make this possible, one would need to implement a i2s service similar to i2c and surface it on the TypeScript side. @mmoskal pov? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
For my girlfriends PhD i'm working on some sound loggers that can be placed next to a birds nest, these loggers record the decibels every second and record 2 min of sound every 10 min (so 8 min without any recording)
I started with a NodeMCU (ESP32) board and programmed some arduino code to do this.
This all worked mostly but I have some weird memory issues hat I can't figure out on how to resolve this due to my lack of C++ programming and I found the arduino way of working very developer friendly.
I'm a typescript (angular) developer. So once I found
devicescript
was of course very happy that I might just port the project to typescript and work with a familiar programming language.As all loggers are already soldered and finished on the hardware side, I'd like to continue from this. So now comes my first challenge.
Getting the mic working in
devicescript
:In
arduino
the config is as following:and then in the
.ino
file when I want to get the sound I can do:But how would I do this in
devicescript
? and is this even possible?Beta Was this translation helpful? Give feedback.
All reactions