Bugsounet Coding

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular

    Playing music

    Idea of new modules ?
    2
    18
    246
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R
      Ray BetaTester last edited by

      It would be great to be able to use the detector to tell it to play my personal music that I have in a directory

      bugsounet 1 Reply Last reply Reply Quote 0
      • bugsounet
        bugsounet Main Coder last edited by

        just use a another keyword and use notification to wanted module

        1 Reply Last reply Reply Quote 0
        • R
          Ray BetaTester last edited by

          Oh okay I did not know that was possible.
          Thanks I’ll try it

          1 Reply Last reply Reply Quote 0
          • bugsounet
            bugsounet Main Coder last edited by bugsounet

            I just send some samples for activating Alexa or GA

            just apply your proper rules for other modules

            Title of MMM-Detector is:
            New multi-keyword listener for activate assistant or send any notifications to others modules

            After you can add you own logo too (everything is ready for your request)

            1 Reply Last reply Reply Quote 0
            • R
              Ray BetaTester last edited by

              That’s pretty cool. I’m working on it so I’ll let you know how it goes.
              I’m trying to find a reasonably good music player that I don’t have to subscribe to. I think I found one
              just to let you know I have been trying to set up my mirror using voice activation. That’s why I like your detector and what you have done with Google assistant. Those two items are perfect for what I’m trying to do

              1 Reply Last reply Reply Quote 0
              • R
                Ray BetaTester last edited by

                So I have been experimenting with your MMM-Detector to trying to get it to detect Google assistance by using another hot word, Jarvis works perfectly. I added porcupine to the list and change the model from hey Google to (play music) to see if I can get Google assistant TO start and it doesn’t work him I doing something wrong?

                			module: "MMM-Detector",
                			position: "top_bar",
                			configDeepMerge: true,
                			config: {
                				debug: false,
                				detectors: [
                				  {
                					detector: "Snowboy",
                					Model: "jarvis",
                					Sensitivity: null,
                					Logo: "google",
                					autoRestart: false,
                					onDetected: {
                					  notification: "GA_ACTIVATE"
                					}
                				  },
                				  {
                					detector: "Porcupine",
                					Model: "music",
                					Sensitivity: null,
                					Logo: "google",
                					autoRestart: false,
                					onDetected: {
                					  notification: "GA_ACTIVATE"
                					}
                				 }
                			  ]
                			}
                ```		},
                
                
                If I can get past this then I can try and start the music player
                I am new at all this so I am at a learning stage here. I appreciate all your help. You've been very helpful. I've learned a lot from you
                1 Reply Last reply Reply Quote 0
                • bugsounet
                  bugsounet Main Coder @Ray last edited by

                  maybe i don’t understand 😕

                  @ray said in Playing music:

                  It would be great to be able to use the detector to tell it to play my personal music that I have in a directory

                  So, I understand this:

                  • you have some music in a directory in your mirror
                  • you have a module to read music in this directory

                  So:
                  1st thing: read readme/wiki of this module and search what notification to send for playing music

                  2nd thing: when you have find this notification just apply rules in MMM-Detector

                  ....
                  {
                  					detector: "Porcupine", // or snowboy
                  					Model: "your wanted model", 
                  					Sensitivity: null,
                  					Logo: "your own logo",
                  					autoRestart: true, // needed in this case
                  					onDetected: {
                  					  notification: "NOTIFICATION_OF_MUSIC_MODULE",
                                                            payload: { maybe: "of needed" }
                  					}
                  				 }
                  ...
                  

                  Model: see model list on wiki, don’t invent any model … you have a list
                  Logo: create your own logo or use defined in main core
                  see this part for more informations

                  1 Reply Last reply Reply Quote 0
                  • R
                    Ray BetaTester last edited by

                    Okay I thought I did read wiki carefully before posting this to you. So please bear with me. I’m new at all this and I’m trying to learn.
                    I see a couple things that you have changed that I was not aware of. One was autorestart from false to true.
                    and the added feature under notification payload. I’ll have to read more about that.
                    I think I pretty much understand the rest of it

                    I was just trying to test my theory here before I moved onto my music module which is by changing the model: name from (ok google) TO (music)
                    without changing anything else. I thought it would also start Google assist Unfortunately that did not work. So I figured I was not doing something right so that’s why I message do you

                    The module I’m hoping to make work here is MMM-MP3Player

                    I will do some more reading on wiki

                    1 Reply Last reply Reply Quote 0
                    • R
                      Ray BetaTester last edited by

                      Sorry to bother you
                      I currently have MMM-MP3Player which I can set to automatic to play my music on start up of my mirror.
                      Is there a way that I can have the MMM-Detector activate MMM-MP3Player for me. I try to figure it out for myself and was unsuccessful. I have read wiki! And couldn’t find anything that could help me with this. So that’s why I’m asking the question

                      I would appreciate any help you can give me. In guiding me in the right direction

                      1 Reply Last reply Reply Quote 0
                      • bugsounet
                        bugsounet Main Coder last edited by

                        For this functionality, you can use a recipe with “onReady” plugins and notification commands

                        I’m on the phone. So I can’t write it actually, I will do it for you when possible

                        1 Reply Last reply Reply Quote 0
                        • R
                          Ray BetaTester last edited by

                          That would be fantastic. I would appreciate that

                          1 Reply Last reply Reply Quote 0
                          • bugsounet
                            bugsounet Main Coder last edited by

                            Sorry, @Ray, I don’t forget you !

                            I will offer this before the end of the week-end !
                            I have some personal problem to solve before 🙂

                            1 Reply Last reply Reply Quote 0
                            • R
                              Ray BetaTester last edited by

                              No worries. I know you’re busy

                              1 Reply Last reply Reply Quote 0
                              • bugsounet
                                bugsounet Main Coder last edited by

                                @Ray

                                maybe try this there is an autoplay on start

                                I try to do it with GA on start but this module is too long to load… So GA send a notification but the player don’t execute it because the player have not load all music list

                                1 Reply Last reply Reply Quote 0
                                • bugsounet
                                  bugsounet Main Coder last edited by

                                  After yes, when loaded, vocal ALL control works with GA

                                  1 Reply Last reply Reply Quote 0
                                  • R
                                    Ray BetaTester last edited by

                                    Okay well thank you for trying. I appreciate your effort.
                                    So can you show me the procedures on what you did, so I can play with it and understand how it works

                                    1 Reply Last reply Reply Quote 0
                                    • bugsounet
                                      bugsounet Main Coder last edited by

                                      finally, I will integrate an MP3 player in GA v3
                                      just wait and see 😉

                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Ray BetaTester last edited by

                                        That would be fantastic. I will be waiting

                                        1 Reply Last reply Reply Quote 0
                                        • First post
                                          Last post
                                        Powered by NodeBB | @bugsounet ©2022