I am trying to record using I2S communication on Sony's Presense.
The compilation environment is Arduino IDE and Windows 10.
https://developer.sony.com/develop/spresense/docs/arduino_tutorials_ja.html
Refer to Recording in 1.9.MP3 Format in the .
"As stated on the site, I read the example ""Audio/application/recorder"" of the sketch in the Spresense and confirmed that the compilation went through without any problems."
In order to communicate with I2S, I changed the code as follows as instructed by the site, but after the change, an error occurred.
theAudio->setRecorderMode(AS_SETRECDR_STS_INPUTDEVICE_MIC);
theAudio->setRecorderMode(AS_SETRECDR_STS_INPUTDEVICE_I2S);
'AS_SETRECDR_STS_INPUTDEVICE_I2S' was not decoded in this scope
AS_SETRECDR_STS_INPUTDEVICE_I2S is not defined. How can I resolve this?
Please let me know.Thank you for your cooperation.
spresense
I am in charge of SPRESENSE support for Sony.
Spresense does not support voice recording from I2S ports.
This is an error in the tutorial.I'm very sorry.
Use a digital microphone to record digital audio.
Connecting a digital microphone can be found at this URL:
How to Connect a Digital Microphone
We apologize for the inconvenience caused by the lack of documentation.
We will reflect what you pointed out as soon as possible.
Thank you for your continued support on SPRESENSE.
SPRESENSE Support Team
© 2024 OneMinuteCode. All rights reserved.