User Tools

Site Tools


user:rolf001:agx_orin:start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
user:rolf001:agx_orin:start [2024/05/19 16:59] – [ReSpeaker USB Microphone Array] rolf.beckeruser:rolf001:agx_orin:start [2024/05/19 19:21] (current) – [llamaspeak] rolf.becker
Line 11: Line 11:
 Flashing new firmware according to https://wiki.seeedstudio.com/ReSpeaker-USB-Mic-Array/ Flashing new firmware according to https://wiki.seeedstudio.com/ReSpeaker-USB-Mic-Array/
  
-I am using the **"1 channel firmware"**.+I am flashing the **"1 channel firmware"**:
  
 <code bash> <code bash>
Line 19: Line 19:
 git clone https://github.com/respeaker/usb_4_mic_array.git git clone https://github.com/respeaker/usb_4_mic_array.git
 cd usb_4_mic_array cd usb_4_mic_array
- 
-# sudo python dfu.py --download 6_channels_firmware.bin  # The 6 channels version  
  
 # if you want to use 1 channel,then the command should be like: # if you want to use 1 channel,then the command should be like:
 sudo python dfu.py --download 1_channel_firmware.bin sudo python dfu.py --download 1_channel_firmware.bin
 +
 +# Alternative, did not work for me (mic not showing up in GNOME):
 +# sudo python dfu.py --download 6_channels_firmware.bin  # The 6 channels version 
 +
 +
 </code> </code>
  
Line 32: Line 35:
  
   * https://wiki.seeedstudio.com/ReSpeaker_Product_Guide/   * https://wiki.seeedstudio.com/ReSpeaker_Product_Guide/
- 
   * https://wiki.seeedstudio.com/ReSpeaker_Mic_Array_v2.0/   * https://wiki.seeedstudio.com/ReSpeaker_Mic_Array_v2.0/
  
 +===== Install Audacity =====
 +
 +To test the microphone and to record audios for training the LLM and ASR.
 +
 +Buggy or weird behavior of Audacity on Linux. 
 +
 +**Don't do that:** "sudo snap connect audacity:alsa". In case you did you can "sudo snap disconnect audacity:alsa".
 +
 +Don't use the button "Access ot ALSA has been granted."
 +
 +**Rather click on button "Start and do not ask again"** when Audacity comes up. 
 +
 +===== Whisper by Dusty-NV =====
 +
 +**I am following https://www.jetson-ai-lab.com/tutorial_whisper.html**
 +
 +<code bash>
 +git clone https://github.com/dusty-nv/jetson-containers
 +bash jetson-containers/install.sh
 +</code>
 +
 +<code bash>
 +jetson-containers run $(autotag whisper)
 +</code>
 +
 +Open ...
 +
 +===== Whisper by Seeed Studio =====
 +
 +<code bash>
 +git clone https://github.com/LJ-Hao/Deploy-Whisper-on-NVIDIA-Jetson-Orin-for-Real-time-Speech-to-Text.git
 +cd Deploy-Whisper-on-NVIDIA-Jetson-Orin-for-Real-time-Speech-to-Text
 +pip install -r requirements.txt
 +sudo apt update && sudo apt install ffmpeg
 +arecord -D hw:2,0 --dump-hw-params #set microphone rate to 16000
 +</code>
 +
 +PyAudio missing. Requires trouble shooting ... On hold ...
 +
 +
 +===== llamaspeak =====
 +
 +**I am following https://www.jetson-ai-lab.com/tutorial_llamaspeak.html**
  
  
user/rolf001/agx_orin/start.1716130780.txt.gz · Last modified: 2024/05/19 16:59 by rolf.becker