GW-Player (or: Your Gamebuino as a music player!)

Share your games and programs with the community.

GW-Player (or: Your Gamebuino as a music player!)

Postby Muessigb » Mon Jan 12, 2015 5:58 am

Hello, I made a music player program, that you can play audio with.
It plays unsigned 8-bit mono wave files that run at 20khz, encoded in raw.
Feel free to download it from the Games section.

You can convert files with that command:
Code: Select all
ffmpeg -i your_sound_file.mp3 -f s8 -acodec pcm_s8 -ar 20000 -ac 1 -af "volume=5dB" NAME.WAV

Now you can name the file however you want, as long as the name follows the 8.3 standard.
Then just drop the file onto your FAT-formatted SD and start the player.

But if you're lazy ;) you can just use my converter application. Just drop your music files in the window, select your Gamebuino SD and the files are automatically named and converted!

Select Load Music from the menu and enjoy listening.
A is play/pause, B is stop, C is menu and the right and left arrow keys are for seeking. You can seek by fast tapping the arrow keys; each faster each further you will seek. To load another song just press stop and select Load Music again. If you press C, while listening to music, you can access a context menu, which is not quite complete yet, but allready allows you to restart the song from the beginning.
Special thanks to Myndale, who passively helped me with his example to understand how you can play WAVE files.

Here is a encoded public domain music sample, so that you can test it straightaway.

Planned features are:
- Tags

This could be archieved as I'm using a proprietary file format and so you have to convert your files anyways.

Benedikt Müssig aka Muessigb
Last edited by Muessigb on Mon Jan 12, 2015 10:29 pm, edited 12 times in total.
User avatar
Muessigb
 
Posts: 45
Joined: Tue Dec 09, 2014 5:49 pm
Location: Germany

Re: Sound Player (Play wave files from SD)

Postby Skyrunner65 » Mon Jan 12, 2015 1:07 pm

Hey look, competition.
Its okay, I'm not much of a fighter anyways.
But seriously, WAV files are more common than RAW files.
But right now, I'm stuck on ACTUALLY MAKING IT WORK.
It's a big task, I know.
I hope you go a lot farther. :lol:
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Re: Sound Player (Play wave files from SD)

Postby Muessigb » Mon Jan 12, 2015 4:20 pm

Hey, I made a huge update.
Feel free to download it.

@Skyrunner64
I had a look on your project, I PM'ed you about it.
Last edited by Muessigb on Mon Jan 12, 2015 10:51 pm, edited 1 time in total.
User avatar
Muessigb
 
Posts: 45
Joined: Tue Dec 09, 2014 5:49 pm
Location: Germany

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby rodot » Mon Jan 12, 2015 5:32 pm

Neat, sounds pretty good :)
Just a random suggestion : you may want to provide a demo MEDIA.WAV for lazy people to be able to test it straight away without having to encode a file ^^
User avatar
rodot
Site Admin
 
Posts: 1290
Joined: Mon Nov 19, 2012 11:54 pm
Location: France

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Jamish » Mon Jan 12, 2015 6:12 pm

rodot wrote:Neat, sounds pretty good :)
Just a random suggestion : you may want to provide a demo MEDIA.WAV for lazy people to be able to test it straight away without having to encode a file ^^


Just make sure it's not licensed content so rodot could distribute the example if you want :D
User avatar
Jamish
 
Posts: 73
Joined: Wed Dec 17, 2014 6:52 pm
Location: California

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Muessigb » Mon Jan 12, 2015 7:13 pm

OK, i found and included a sample. :)
User avatar
Muessigb
 
Posts: 45
Joined: Tue Dec 09, 2014 5:49 pm
Location: Germany

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Muessigb » Mon Jan 12, 2015 7:37 pm

Hey, I will also make a frontent for a converter, so that you can conveniantly convert all your music to gwave (nice name heh :lol: ) audio by just dragging it in a window.

EDIT: Converter is made and ready for download
User avatar
Muessigb
 
Posts: 45
Joined: Tue Dec 09, 2014 5:49 pm
Location: Germany

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Skyrunner65 » Tue Jan 13, 2015 3:24 pm

Well, since we are more or less merging, I guess I'll need your Github Username. (if you want to get to my repository [probably not, No additions have really been made other than incorporating the Gamebuino Library])\

Mine is Skyrunner65, btw.
Can we rename this by chance?
Everything else basically incorporates "Buino", so why not us?
This is probably my love for my old project, but what about "Buino Player" ?
If not, that's okay.
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Muessigb » Tue Jan 13, 2015 7:47 pm

Hey, I'm Muessigb on github.
No problems with that name at all.
What about PlayBuino? Just asking.
User avatar
Muessigb
 
Posts: 45
Joined: Tue Dec 09, 2014 5:49 pm
Location: Germany

Re: GW-Player (or: Your Gamebuino as a music player!)

Postby Skyrunner65 » Wed Jan 14, 2015 2:38 am

Sounds a bit better.
You can now access my "BuinoPlayer" repository.
Also, when I tried to use the menu, it froze.
Any luck on your part?
(your Github is quite interesting :) )

EDIT: Gave the repo a README.MD.
Let's support multiple file formats, starting with RAW (That's where it started, right?)
User avatar
Skyrunner65
 
Posts: 371
Joined: Thu Mar 20, 2014 5:37 pm
Location: NC,USA

Next

Return to Games Gallery

Who is online

Users browsing this forum: No registered users and 16 guests

cron