Skip to content

[Feat] Microphone Module for Audio Recording | 麦克风模块:支持音频录制 #110

Description

@Sahil-958

我请求开发者实现以下功能 (I would like to request the developers to implement the following feature)

实现一个麦克风模块,允许在工作流中进行音频录制。 (Implement a microphone module that allows audio recording within workflows.)

我的建议属于哪一范围? (Which scope does my suggestion belong to?)

  • 模块 (Module)
  • 解释器 (Interpreter)
  • UI/UX
  • 其他 (Other)

请详细描述使用场景预期功能等信息 (Please describe the use case, expected functionality, etc. in detail)

  • 使用场景: (Use Case:) 在特定事件发生时(如检测到特定声音或环境变化),自动开始后台录音以记录环境音。 (Automatically start background recording to capture ambient sound when specific events occur, such as detecting specific sounds or environmental changes.)
  • 预期功能: (Expected Functionality:)
    • 音频录制:支持指定时长、采样率、编码格式(如 AAC, MP3)。 (Audio Recording: Support specifying duration, sample rate, encoding formats like AAC, MP3.)
  • 模块输入: (Module Input:)
    • duration: 录音时长(秒) (Recording duration in seconds)
    • encoding: "aac" / "mp3" / "wav"
    • savePath: 保存路径 (Save path)
  • 模块输出: (Module Output:)
    • filePath: 生成的音频文件路径 (Generated audio file path)
    • success: 是否成功 (Success status)
  • 额外说明: (Additional Notes:)
    • 应支持后台静默录制。 (Should support silent background recording.)
    • 技术参考: 建议参考 Mumla 项目 (FOSS)。它是一个开源的 Android Mumble 客户端,在后台音频处理和流媒体传输方面有成熟的实现。 (Technical Reference: Suggest looking into the Mumla project (FOSS). It is an open-source Android Mumble client with a mature implementation for background audio handling and streaming.)
    • 注意: 我本人并非 Android 开发者,因此无法直接贡献代码。我请求核心开发团队考虑在未来的版本中实现并添加此功能模块。 (Note: I am not an Android developer and cannot contribute code directly. I am requesting the core development team to consider implementing and adding this feature module in a future release.)

我的设备信息是? (What is my device information?)

  • Android版本 (eg. 16): (Android Version) 14
  • Rom信息 (eg. HyperOS 3): (ROM Information) Standard Android

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions