I started using Spotify for my music and though I love it, I hate having to alt+tab whenever I'm playing a game to change the song (first world problems...) so I made this program real quick.
Voice Commands:
*Next
*Previous
*Play
*Pause
*Playing (Tells you the current song and artist playing)
*Save (Saves the current song name and artist name to a text file so you can look them up later)
Application:
Download (DLLs and program must remain in the same directory):
http://drizzyvpn.tk/SpotifyVoice.zip
https://www.virustotal.com/en/file/5dbf6...436505444/
*Program takes a while to load on start up due to the initialization of Windows Speech Recognition, and Spotify hooks.
*Highly recommended to use headset/desktop microphone rather than built-in microphones.
Your previous and next buttons are the wrong way around pls fix
Skype: happy.cbb
0x38E6A0912657E
I get this error code:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
**** Exception Text ****
System.PlatformNotSupportedException: No recognizer is installed.
at System.Speech.Recognition.RecognizerBase.Initialize(SapiRecognizer recognizer, Boolean inproc)
at System.Speech.Recognition.SpeechRecognizer.get_RecoBase()
at System.Speech.Recognition.SpeechRecognizer.LoadGrammar(Grammar grammar)
at Voice_For_Spotify.Form1.Form1_Load(Object sender, EventArgs e)
at System.EventHandler.Invoke(Object sender, EventArgs e)
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
**** Loaded Assemblies ****
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34014 built by: FX45W81RTMGDR
CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
------
Voice For Spotify
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Elmo/Desktop/Uusi%20kansio/Voice%20For%20Spotify.exe
------
Microsoft.VisualBasic
Assembly Version: 10.0.0.0
Win32 Version: 12.0.20806.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34239 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34250 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
------
System.Runtime.Remoting
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34243 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
------
System.Speech
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Speech/v4.0_4.0.0.0__31bf3856ad364e35/System.Speech.dll
------
SpotifyAPI
Assembly Version: 1.0.0.0
Win32 Version: 1.0.0.0
CodeBase: file:///C:/Users/Elmo/Desktop/Uusi%20kansio/SpotifyAPI.DLL
------
Newtonsoft.Json
Assembly Version: 4.5.0.0
Win32 Version: 4.5.11.15520
CodeBase: file:///C:/Users/Elmo/Desktop/Uusi%20kansio/Newtonsoft.Json.DLL
------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
------
System.ComponentModel.DataAnnotations
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.ComponentModel.DataAnnotations/v4.0_4.0.0.0__31bf3856ad364e35/System.ComponentModel.DataAnnotations.dll
------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.34230 built by: FX452RTMGDR
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
------
System.Xml.Linq
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml.Linq/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.Linq.dll
------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.0.30319.33440 built by: FX45W81RTMREL
CodeBase: file:///C:/windows/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
------
**** JIT Debugging ****
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:
<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.
(Jul 10, 2015 02:18 AM)Elmo. Wrote: I get this error code: Make sure you have Windows Speech Recognition enabled.
Nice release.
I'd definitely use this if I was a pc gamer.
DO NOT DEAL WITH THIS MEMBER
Does it activate on a hotkey or something, because if it listens all the time it could become a problem, like it will accidentally trigger or something.
i get this error when ever i try to run the program i have tried running as administrator as well i do have speech recognition running and enabled
Great release bro, gonna check it out now
It looks really good but when I say "Next" it doesn't trigger anything. Must be because of my shitty pronunciation. Can you do a vocaroo with the messages ? :D
DO NOT DEAL WITH THIS MEMBER
You feel like sharing the source?
lol I wouldn't need this but it looks nice!
I have a section on both my keyboard and mouse for changing volume, songs etc. :P
Jul 11, 2015 11:49 AM
(This post was last modified: Jul 11, 2015 11:50 AM by Drizzy.)
(Jul 10, 2015 10:48 PM)xESWx DEATH Wrote: i get this error when ever i try to run the program i have tried running as administrator as well i do have speech recognition running and enabled
![[Image: fc28242e9f.png]](https://puu.sh/iUWVv/fc28242e9f.png) Click retry until it works. It's an issue with the Spotify hooks.
(Jul 11, 2015 09:39 AM)Hash G. Wrote: It looks really good but when I say "Next" it doesn't trigger anything. Must be because of my shitty pronunciation. Can you do a vocaroo with the messages ? :D Do you mean record me saying the commands?
(Jul 10, 2015 08:30 PM)Ninja Wrote: Does it activate on a hotkey or something, because if it listens all the time it could become a problem, like it will accidentally trigger or something.
You can set Windows Speech Recognition to "wake up" when a certain phrase is said. The program itself doesn't have any hotkeys.
(Jul 11, 2015 11:49 AM)Drizzy Wrote: Click retry until it works. It's an issue with the Spotify hooks.
if you are using this then no its this program because i use this and have no problem with it https://github.com/JohnnyCrazy/SpotifyAPI-NET
(Jul 11, 2015 11:49 AM)Drizzy Wrote: Do you mean record me saying the commands?
Exactly. I must have a shitty accent. :(
Aug 31, 2015 06:58 AM
(This post was last modified: Aug 31, 2015 06:58 AM by Vitani.)
I know i am a bit gravedigging right now, but i really want to keep this thread alive.
This is an awesome tool, it still has some bugs, but i love it already.
OP please try to make this tool even better, but awesome work so far!
|