neon-skill-audio-record

Mycroft AI official Audio Record Skill - record audio and play it back


License
BSD-3-Clause
Install
pip install neon-skill-audio-record==0.0.1a1

Documentation

Audio Record

Summary

Record and playback short audio clips with Neon.

Description

This Skill records audio from the microphone and allows you to play back that recording.

Note that this Skill is particularly useful when trying to diagnose microphone issues because it allows you to "hear" what Neon is hearing - For example, if you have multiple audio inputs or are working on the new skill that requires pure microphone feed.

Examples

Say “Hey Neon” if you are in the wake words mode, otherwise include "Neon" at the beginning of your request. You can request a recording with a particular name and/or duration, but neither are required. For example:

  • "record audio"
  • "record audio for 30 seconds"
  • "record my daily prescriptions"
  • "record my daily prescriptions for 1 minute" You can have as many recordings as your memory allows.

Troubleshooting

This skill is designed to help troubleshoot microphone issues. If you have any problems with skill’s execution, try executing the subprocess command, which is called from the skill, after filling in the placeholders -

subprocess.Popen(["arecord", "-r", str(rate), "-c", str(channels), "-d", str(duration), file_path])

Manually and see if you have similar results. You microphone issue may be system-wide or limited to Neon and this will help determine that.

Contact Support

Use the link or submit an issue on GitHub

Credits

Mycroft AI NeonDaniel reginaneon

Category

Configuration

Tags

#audio #record #record-audio #microphone #configuration