Tutorial Creating a MP3 Player with Voice Attack for Games

386 views
Skip to first unread message

Jeffrey Timms

unread,
Jan 23, 2015, 2:27:18 AM1/23/15
to voice...@googlegroups.com

Don't know if this is useful for anyone, but here is a tutorial I wrote for making a simple voice controlled MP3 player with Voice Attack.
It uses Playlists and VLC as the player.  You can say "Play Nine Inch Nails" and it will load the corresponding playlist. 

Current features include:

  • Loading a playlist with recorded system confirmation (Have VLC open already to avoid being popped out of game)
  • Pause
  • Play
  • Next Track
  • Previous Track

Also info on how to add further features like:

  • Stop
  • Volume Mute
  • Master Volume Mute
  • Volume Up
  • Master Volume Up
  • Volume Down
  • Master Volume Down

It's my first tutorial and only had the software for about 4 days so will work on adding more features soon...
Pretty basic right now.  Loading more playlists simply adds them to current group of songs playing, but starts at beginning of newest playlist.


http://greatcanadiannerd.com/index.php/turorials/voice-attack-software/creating-a-mp3-player-with-voice-attack-for-games

carda1972

unread,
Jan 25, 2015, 7:54:13 AM1/25/15
to voice...@googlegroups.com
Great job! Gonna implement it right now. Thanks for sharing

Jeffrey Timms

unread,
Jan 25, 2015, 4:05:10 PM1/25/15
to voice...@googlegroups.com
No problem! Glad you found it useful!

I was working on a part two of the tutorial, but it turned into a complete Mp3 Player with HCS Voice Packs support.

The Profile features:

  • Support for the HCS Voice Packs using Astra’s voice for responses (Preferred if you use HCS Voice Packs)
  • A non-HCS profile with my own voice responses (Custom MP3s I made with TTS)
  • Random responses to loading a Playlist (Not many just two maybe three when I'm done)
  • Auto Clearing of VLC Playlist upon loading of new Playlist (Very useful when you play music on random like me)
  • Previous/Next Song
  • Play/Pause/Stop Music
  • Increase/Decrease Volume
  • Support for loading Playlists to VLC when VLC is not the default player
The Zip will contain everything needed to get it working such as:
  • Voice Command Quick Reference Card
  • Two Knight Mp3 Player Profiles (HCS & Non-HCS)
  • Command Line Media Controller - https://commandlinemedia.codeplex.com/
  • Detailed instruction manual covering the installation, configuring, and editing of the profiles
  • Small app I wrote to help with setting up playlists when VLC is not the default player
I am finishing the Manual now and the voice files are next.  I should be posting the completed project tomorrow.
Hopefully people find it useful.  Currently it is the only way I listen to music in and out of games as so simple to control once setup.

Jeffrey Timms

unread,
Jan 26, 2015, 1:27:03 AM1/26/15
to voice...@googlegroups.com
Full Mp3 Player with HCS Support is complete!

Knight's Mp3 Player.zip

Buzpilot

unread,
Jan 30, 2015, 8:27:15 AM1/30/15
to voice...@googlegroups.com
Was looking interesting until I read you only add new songs into the same playlist. I was hoping I could use several playlists without having to add or remove songs too.

Jeffrey Timms

unread,
Jan 31, 2015, 4:46:06 PM1/31/15
to voice...@googlegroups.com
Actually you can repeat the steps the first section titled Creating the Profile and Player  1) Play a Playlist  as many times as you want.  I currently have 5 or 6 different playlists right now I can load.

You could also try my complete Mp3 Player Profile that has a detailed instruction manual covering things like creating as many playlists as you want.  It's the Profile I am using right now and have the 5 or 6 playlists in.


Hope this helps!
Reply all
Reply to author
Forward
0 new messages