Read the statement by Michael Teeuw here.
Hello-Lucy
-
@snikolaidis and aplay test.wav do you hear what you said?
-
@sdetweil >if i specify the USB camera it works,
ok, so, how do you update lucy to use the usb camera config ?
-
@sdetweil
yes on both i hear what i said and changing the microphone line in config is all i’ve ever done to get it working, flash raspbian -> install MM and modules -> run arecord -l and change the mic config line to what my pi reflectsPi4b
{ disabled: false, module: "Hello-Lucy", position: "bottom_bar", config: { keyword: 'JARVIS', // keyword to activate listening for a command/sentence timeout: 5, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "2,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["intro.mp3"], // welcome sound at startup. Add several for a random greetings confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: false, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy","MMM-AfterShip"], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy", "MMM-BMW-OW"], // modules to show on page two pageThreeModules: ["Hello-Lucy", "MMM-Systemstats"], // modules to show on page three } }
Pi3b+
{ disabled: false, module: "Hello-Lucy", position: "bottom_bar", config: { keyword: 'JARVIS', // keyword to activate listening for a command/sentence timeout: 5, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "2,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["yourang.mp3"], // welcome sound at startup. Add several for a random greetings confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: false, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy","MMM-AfterShip"], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy", "MMM-BMW-OW"], // modules to show on page two pageThreeModules: ["Hello-Lucy", "MMM-Systemstats"], // modules to show on page three } }
-
@sdetweil i specified the mic in ~.asoundrc so now arecord goes directly to the usb mic but still throws the format code, lucy still wont pick it up tho
pcm.!default { type asym playback.pcm { type plug slave.pcm "output" } capture.pcm "hw:2,0" } pcm.output { type hw card 1 } ctl.!default { type hw card 1 }
-
mine is
pcm.!default { type hw card 0 } ctl.!default { type hw card 1 }
so I would guess yours would be
pcm.!default { type hw card 2 } ctl.!default { type hw card 1 }
-
@sdetweil yeah still not working with lucy even though arecord works, would it have anything to do with that i went beta with the pi4?
-
-
@sdetweil the beta firmware & bootloader that lets you boot from usb
sudo apt update sudo apt full-upgrade Sudo nano /etc/default/rpi-eeprom-update sudo rpi-eeprom-update -d -f /lib/firmware/raspberrypi/bootloader/beta/pieeprom-2020-05-27.bin
-
@snikolaidis oh… that won’t affect sound
-
@sdetweil Sorry trying to think of anything possible