Notices


Reply
Thread Tools
Posts: 129 | Thanked: 14 times | Joined on Dec 2009 @ Mboro - UK
#1
I'm looking for an app for my son to learn from.
Like Moo box you pick your item eg a cow and tilt the device and it makes the sound of a cow mooing.
I'd like this but just have to tap the screen for the sound.
Does this exist?
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#2
You could probably do this without an app.

If you can get hold of a bunch of sounds you want to play. Then install Queen Beecon and mplayer and create a series of icons your desktop for each sound.

So for cow, you might have a sound file called "cow.wav"

So your command in queen beecon would be
Code:
  mplayer cow.wav
Then use a picture of a cow as the icon image.
 
Posts: 129 | Thanked: 14 times | Joined on Dec 2009 @ Mboro - UK
#3
Wouldn't this just add a load of widgets to a desktop though?

I'm after a full screen app/program
 
Posts: 422 | Thanked: 244 times | Joined on Feb 2008
#4
Sure, I was offering a workaround in the absence of an app.

A desktop is almost full screen and a widget is a picture you can tap, and attaching a sound to the widget achieves what you described. You can have 9 desktops so sacrificing one for this approach doesn't seem much of a loss.

You want an app though, and there are plenty of people here trying out qt, so perhaps someone will knock one up for you as the idea is pretty straightforward.

Any takers?
 

The Following User Says Thank You to paulkoan For This Useful Post:
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#5
Such a specific program probably doesn't exist, but the good thing is that it's a simple program and not hard at all to program. It would make a great beginner app and if you're up for the task here's how you might do it.

If you check the links in my sig, I have a tutorial on how to create an app that makes a slightly less pleasant sound than moo'ing. It's a great start and it contains all the code you need.

The tutorial shows how to use a button to play a sound. With Qt you can assign a background image to a button. Therefore add a cow image to button, replace soundfile with "moo.wav", and you got your first animal sorted. Repeat for as many animals as you'd like.

If nobody comes back with a ready made solution I hope you might give creating your own a try. Don't be afraid to ask any questions on the "Development" section of the forum if you get stuck along the way. The best part about creating it yourself is that you can tailor it exactly how your son would enjoy it
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun
 

The Following 2 Users Say Thank You to kojacker For This Useful Post:
Posts: 129 | Thanked: 14 times | Joined on Dec 2009 @ Mboro - UK
#6
Cheers guys. I'll have a go at trying out Qt creator, I've already had a go but couldn't find any decent tuts. I'll check the one in your sig later.

Last edited by Keir; 2010-10-13 at 13:59.
 
Posts: 129 | Thanked: 14 times | Joined on Dec 2009 @ Mboro - UK
#7
ugh had many goes at this and still don't understand the code so I can't make my own.
I've got the GUI sorted, just the code now..
 
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#8
Ah not to worry, from the Dev thread it sounds like u got the buttons done which is a good start

I replied back to you in that thread for more info/code, if no-one sorts it in the meantime I can have a look over it and get something moo'ing for you later tonight or tomorrow morning.
__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun
 
Posts: 1,086 | Thanked: 2,964 times | Joined on Jan 2010
#9
I've created a small project and zipped the code for you, attached it to the Development thread. i hope it helps you get started

__________________
Follow me on my neglected twitter @kojacker

Cybot950 - Control a robot with your N9/N950
SMSPetFeeder - Build a Bluetooth/SMS dog feeder with Qt, N950, and arduino
Nerf950 - Use your N9/N950 to fire a Nerf gun
 
Reply


 
Forum Jump


All times are GMT. The time now is 09:58.