@sdetweil Sorry trying to think of anything possible
Read the statement by Michael Teeuw here.
Latest posts made by snikolaidis
-
RE: Hello-Lucy
@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
-
RE: Hello-Lucy
@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?
-
RE: Hello-Lucy
@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 }
-
RE: Hello-Lucy
@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 } }
-
RE: Hello-Lucy
@sdetweil said in Hello-Lucy:
arecord --format=S16-LE test.wav
pi@MagicMirror:~ $ arecord --format=S16_LE test.wav arecord: main:828: audio open error: No such file or directory
pi@MagicMirror:~ $ arecord -D hw:2,0 --format="S16_LE" test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 8000 Hz, Mono ^CAborted by signal Interrupt... pi@MagicMirror:~ $ ls Bookshelf Desktop Documents Downloads MagicMirror Pictures pocketsphinx Public sphinxbase Templates test.wav Videos pi@MagicMirror:~ $
if i specify the USB camera it works, if i leave it to defaults audio open error
-
RE: Hello-Lucy
@sdetweil also weirdly enough
pi@MagicMirror:~ $ arecord -D hw:2,0 test.wav Recording WAVE 'test.wav' : Unsigned 8 bit, Rate 8000 Hz, Mono arecord: set_params:1339: Sample format non available Available formats: - S16_LE
but
pi@MagicMirror:~ $ arecord test.wav arecord: main:828: audio open error: No such file or directory pi@MagicMirror:~ $
-
RE: Hello-Lucy
@sdetweil said in Hello-Lucy:
~/.asoundrc
Pi3 file doesnt exist - mic shows error but works
pi4 file exists - mic shows error still doesn’t work -
RE: Hello-Lucy
@Mykle1 Sorry to be bothering you again, decided to switch to my pi4b to see how it performs, and now the usb camera I had working on the pi3b+ will not work now, arecord -l lists it as card 2 device 0 and it still says error. Im at a lost npm start dev shows no errors and if I take the same config over to the 3b+ with the proper mapping it works fine
pi@MagicMirror:~ $ arecord test.wav ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM input arecord: main:828: audio open error: No such file or directory
-
RE: Hello-Lucy
:face_with_tears_of_joy: but thats what i do for a living, I build it or someone else does, then i break it and i fix it, lol
on another note, i guess i said too many unkown commands or somethings and a list of all the commands possible popped up and wont go away, any thoughts other than rebooting :grinning_face_with_smiling_eyes: