Commit graph

8 commits

Author SHA1 Message Date
6977061bef fix(whisper): remove broken start_recording; move scipy import to top-level
whisper_main.py:
- Remove RobotEar.start_recording() and record_callback() which called
  the nonexistent sd.start_stream() API (correct API is sd.InputStream).
  These methods were never called by voice_main.py and contained a broken
  sounddevice API call that would raise AttributeError (#2).
- Remove unused recording_buffer field
- Translate Chinese comment/docstring to English (#5)

voice_main.py:
- Move `import scipy.io.wavfile as wav` from inside get_audio_text()
  function body to module top-level where all imports belong (#4 related)
- Sort imports: stdlib before third-party, local last
- Remove Chinese comment, replace with English equivalent
2026-02-20 20:24:24 +08:00
whisper11111111111
a7209c4f78 Optimize project introduction in README 2026-02-11 00:16:49 +08:00
whisper11111111111
0e7d692784 Add BOM list and cost summary 2026-02-11 00:11:53 +08:00
whisper11111111111
e7278edeb4 Enhance README with project overview and keywords 2026-02-10 23:56:33 +08:00
whisper11111111111
c7828ea914 Add main.ino firmware and update docs 2026-02-10 23:52:15 +08:00
whisper11111111111
865957604d Set replication guide as README.md 2026-02-10 23:43:48 +08:00
whisper11111111111
eaa8b9a132 Add usage manual and replication guide 2026-02-10 23:41:06 +08:00
whisper11111111111
bb85c3266b Initial commit for robot arm voice control system 2026-02-10 23:31:14 +08:00