arduino / arduino/ArduinoCore-mbed

Nicla Voice Record_and_Stream compile fails

Open
#892 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C
Stars
411
Forks
225
PR merge metrics
No merged PRs in 30d

Description

Trying to record audio using Nicla Voice Nicla board support V4.1.3

Compiling Examples -> NDP -> Record_and_Stream fails with errors

```
Record_and_stream_test:51:19: error: no matching function for call to 'audio_tools::G722Encoder::begin(audio_tools::AudioInfo&)'
encoder.begin(bi);
Record_and_stream_test:53:11: error: 'class audio_tools::G722Encoder' has no member named 'setOutputStream'; did you mean 'setOutput'?
encoder.setOutputStream(Serial);
```

Libraries are arduino-audio-tools-main@0.9.6 and arduino-libg722-master@1.0.2

Also that sketch mentions setting
Setup the serial port as raw
How do you to do that on a Windows machine?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Examples → NDP → Record_and_Stream and reproduce the failure using arduino-audio-tools-main@0.9.6 and arduino-libg722-master@1.0.2. Compare the sketch’s G722Encoder calls with the installed library APIs; done means the example compiles, and the Windows raw-serial setup question has a documented answer.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.