linguini1 opened a new pull request, #3633:
URL: https://github.com/apache/nuttx-apps/pull/3633
## Summary
This commit fixes the audio_rtttl example (which was undocumented and
previously used kernel-level functions) such that now it uses the RTTTL parsing
library. Contributors can implement 'players' for different types of audio
sinks. Currently, PWM is supported.
## Impact
Can play RTTL with different devices! PWM supported for now, which a lot of
small boards have.
## Testing
Tested on the Rpi4B PWM-enabled audio jack. I confirm I heard the scale. I
also
tested with the Simpson's example from the RTTL library and it worked.
```
NuttShell (NSH) NuttX-13.0.0-RC2
nsh> audio_rttl /dev/pwm1
nsh>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]