Giter VIP home page Giter VIP logo

Comments (14)

sdetweil avatar sdetweil commented on August 10, 2024 1

dependencies.sh

means that is a bash file, not python

so, EDIT the dependencies file and change python to python3
the run the bash file per the instructions

from hello-lucy.

HadiMirea avatar HadiMirea commented on August 10, 2024

problem solved you need to enter to the installers file in the hello lucy module file and use python3 instead of python

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

how
because not working

from hello-lucy.

sdetweil avatar sdetweil commented on August 10, 2024

@mirrormonark

enter to the installers file in the hello lucy module file and use python3 instead of python

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

@mirrormonark
@sdetweil

enter to the installers file in the hello lucy module file and use python3 instead of python

I'm really grateful that someone came to my rescue.
I tried in the code line--all on the installers folder:

  • python3-pip
    -python-dev
    -python3-is-python

always use autoremove and reboot

now... i wrote exactly this "python3 instead of python" but nothing.

In the command line. what exactly should I write in the installers folder?

THANK YOU SO MUCH LORD

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

folder installers: python3 bash dependencies.sh
python3: can't open file '/home/pi/MagicMirror/modules/Hello-Lucy/installers/bash': [Errno 2] No such file or directory

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

MagicMirror/modules/Hello-Lucy/installers $ python3 dependencies.sh
File "/home/pi/MagicMirror/modules/Hello-Lucy/installers/dependencies.sh", line 12
echo -e "\e[0m"
^
SyntaxError: invalid syntax

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

i understand now.. and is working. AMAZING. IM VERY HAPPY my sir. now i see

0 [Headphones ]: bcm2835_headpho - bcm2835 Headphones
bcm2835 Headphones
1 [vc4hdmi0 ]: vc4-hdmi - vc4-hdmi-0
vc4-hdmi-0
2 [vc4hdmi1 ]: vc4-hdmi - vc4-hdmi-1
vc4-hdmi-1
3 [Microphone ]: USB-Audio - USB Microphone
MUSIC-BOOST USB Microphone at usb-0000:01:00.0-1.1, full speed
for my config is "3.0" right

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

{ disabled: false, module: "Hello-Lucy", position: "top_center", config: { keyword: 'HELLO LUCY', // keyword to activate listening for a command/sentence timeout: 15, // timeout listening for a command/sentence standByMethod: 'DPMS', // 'DPMS' = anything else than RPi or 'PI' microphone: "3,0", // run "arecord -l" card # and device # mine is "0,0" sounds: ["1.mp3", "11.mp3"], // welcome sound at startup. Add several for a random greetings confirmationSound: "ding.mp3", // name and extension of sound file startHideAll: true, // All modules start as hidden EXCEPT PAGE ONE // *** Page One is your default startup page *** This overrides startHideAll: true, pageOneModules: ["Hello-Lucy","MMM-EasyPix"], // default modules to show on page one/startup pageTwoModules: ["Hello-Lucy", "MMM-BMW-DS", "MMM-EventHorizon"], // modules to show on page two pageThreeModules: ["Hello-Lucy", "MMM-Lunartic"], // modules to show on page three pageFourModules: ["Hello-Lucy", "MMM-PC-Stats"], // modules to show on page four pageFiveModules: ["Hello-Lucy", "MMM-Searchlight"], // modules to show on page five pageSixModules: ["Hello-Lucy", "MMM-NOAA3"], // modules to show on page six pageSevenModules: ["Hello-Lucy", "MMM-Recipe"], // modules to show on page seven pageEightModules: ["Hello-Lucy", "MMM-rfacts"], // modules to show on page eight pageNineModules: ["Hello-Lucy", "MMM-History"], // modules to show on page nine pageTenModules: ["Hello-Lucy", "MMM-HardwareMonitor"] // modules to show on page ten } },

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

but when start i see error in microphone..

from hello-lucy.

sdetweil avatar sdetweil commented on August 10, 2024

arecord somefile.wav

speak any words

crtl-c to stop recording

aplay somefile.wav

do you hear what you said

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

when recording.. Unsigned 8 bit, Rate 8000 Hz, Mono
but i hear my voice clear
for test i use config basic of magic mirror only basic

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

file index.js

PocketSphinxContinuous.prototype.start = function() {
if (!this.isListening()) {
let mic=this.microphone;
// if name starts with number
if (this.microphone.match(/^\d/))
mic = 'plughw:'+this.microphone;
this._psc = spawn('pocketsphinx_continuous', [
'-adcdev',
mic,
'-inmic',
'yes',
'-lm',
modules/${this.setId}/${this.setId}.lm,
'-dict',
modules/${this.setId}/${this.setId}.dic
]);

from hello-lucy.

mirrormonark avatar mirrormonark commented on August 10, 2024

hi. anyway it's not the module is the problem but my configuration.. then if there is a module that uses voice and makes hide and show modules and change page like this module does.. and it's updated I'll install it right away but unfortunately I haven't seen it. @sdetweil

from hello-lucy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.