botwave icon indicating copy to clipboard operation
botwave copied to clipboard

BUG -> Producer error

Open douxxtech opened this issue 10 months ago • 0 comments

📝 Description

With alsa Xrun, we get:

[ERR] Producer error: 'alsaaudio.PCM' object has no attribute 'prepare'

Additionally, piwave uses 48000 channels.

💻 Environment

Component

  • [X] Local client

Hardware

  • [X] Raspberry Pi Zero W

Operating System

  • [X] Debian-based

Python Version

  • [X] 3.11

🐞 Steps to Reproduce

  1. Run live command
  2. Send input to hw:BotWave,1
  3. breaks

📄 Logs / Screenshots

[INFO] Using bw_custom backend (76.0-108.0MHz, with RDS)
[INFO] PiWave initialized - Frequency: 88.0MHz, PS: BotWave, Loop: False
[BCAST] Live streaming at 88.0MHz (48000Hz, 48000ch)
[OK] Live broadcast started on frequency 88.0 MHz
[ALSA] To play live, please set your output sound card (ALSA) to 'BotWave'.
[ALSA] We're expecting 48000kHz on 2 channels.

botwave › [ERR] Producer error: 'alsaaudio.PCM' object has no attribute 'prepare'
[INFO] Playback finished, stopping broadcast...
botwave ›  [WARN] Stopping...
[OK] Stopped
[INFO] Cleanup completed

📍 Additional Context

Not my issue, but reported by another user on discord

douxxtech avatar Jan 24 '26 20:01 douxxtech