Repository navigation
Conversation
Decode four packed 12-bit RPMs from the service packet, synthesize stereo propeller audio at 22.05 kHz, and ship a host PoC for tests and blackbox replay.
Author
|
Demo audio generated from random blackbox log from internet: |
Gate the synth from settings, open the DAC mix path beside the selected Mic/Line/AV source, and keep the emulator SDL device in sync with the toggle.
Contributor
|
I tested this yesterday on a live drone with headphones connected to the goggle. I see now that the live audio output function hasn't been implemented yet though. Looking forward to seeing this work, this is a project I've thought of doing myself in the past, and I'm happy to see someone work on it! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
0xFFservice packet (length >= 21).On/Off,record.motor_audio): live mix beside the selected Mic / Line In / A/V In source (opens DAC path; Softwinner AO PCM feed still TODO on hardware).utilities/motor_audio_pocfor unit tests, synthetic WAV, and blackbox CSV replay. Docs indocs/synthetic-motor-audio.md.Notes
out_dac_onare ready.Test plan
cmake -S utilities/motor_audio_poc -B tmp/motor_audio_poc_build && cmake --build tmp/motor_audio_poc_build./tmp/motor_audio_poc_build/motor_audio_poc --motor-test→ PASS--motor-synthetic --motor-wav tmp/out.wavand listen--motor-replay <csv> --motor-poles N --motor-realtime(Meteor75 verified ~60s)setting.ini