Welcome to DOGZILLA-Lite repository
2. Record Audio
Recording Audio
1. Purpose of the experiment
Recording audio.
2. Experimental path source code
Enter the dog's system, end the dog program, enter "ip (ip is the dog's ip): 8888" in the browser, enter the password "yahboom"
and log in. Enter the path of cd ~/DOGZILLA_Lite_class/2.Base Control/02.Record audio and run dog_recode_voice.ipynb .
3. Experimental Phenomenon
After running the code, the dog will record a 5-second sound and save it in the file /home/pi/xgoMusic. The name is myrecord.wav

4. Main source code analysis
xgoAudioRecord(filename="record",seconds=5)
| Parameter name | Format | Input range | illustrate |
|---|---|---|---|
| filename (optional) default is "recode" | String | / | The file name of the recorded audio will automatically have the extension wav added to it, and the recorded file path is /home/pi/xgoMusic |
| seconds (optional) The default value is 5 | number | / | Length of the recording file (seconds) |