Active Topics

 



Notices


Reply
Thread Tools
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#1
So, I started work on a drumming app for the N900. Very simple at the moment, tap the drums to hear them. I plan to add record/playback functionality in the near future. It uses clutter for rendering, and pygame for the sound.

To run, extract into MyDocs (must be there at the moment) and run in a terminal:

Code:
python /home/user/MyDocs/Drummer/drums.py
To exit, hit control+back.

And here is a screenshot:



The .zip is at http://www.skykool.com/images/Drummer.zip
 

The Following 13 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#2
Good to have you back
The pictures on.
Every drums plays only some-kind of click sound.
what i missed?
And what about an exit button?
 

The Following 2 Users Say Thank You to SHARP66 For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#3
Originally Posted by SHARP66 View Post
Good to have you back
The pictures on.
Every drums plays only some-kind of click sound.
what i missed?
And what about an exit button?
Working on an exit button. As for the rest, do you have any errors in your terminal? If so, what are they?
 

The Following User Says Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#4
sorry,my mistke ...I didn't put it in MyDocs,
 

The Following User Says Thank You to SHARP66 For This Useful Post:
anapospastos's Avatar
Posts: 552 | Thanked: 183 times | Joined on Oct 2009 @ Not decided
#5
Nice If anyone has problems with clutter module run in xterm

Code:
apt-get install python-clutter
__________________
My name was Maemo, then it became Meego and now I'm getting a third one. I am Sailfish.
 
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#6
Originally Posted by anapospastos View Post
Nice If anyone has problems with clutter module run in xterm

Code:
apt-get install python-clutter
ah, yes. Please let me know if there are any other missing dependencies (I have a lot of stuff installed that isn't installed by default).
 
Posts: 37 | Thanked: 191 times | Joined on Nov 2009 @ Finland
#7
Why use clutter with pygame? I would use gstreamer for audio because both clutter and gstreamer are GNOME technologies. But anyway it's nice. It's allways nice to see new maemo applications!
__________________
My applications:
gTranslate
Battery widget
Guitar Chords
 

The Following User Says Thank You to TomppaS For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#8
I don't no nothing about music, but is there a lag between the hit and the sound from the speaker. I think there is no way to improve that responsiveness, or is?
 

The Following User Says Thank You to SHARP66 For This Useful Post:
Posts: 482 | Thanked: 550 times | Joined on Oct 2010
#9
Originally Posted by TomppaS View Post
Why use clutter with pygame? I would use gstreamer for audio because both clutter and gstreamer are GNOME technologies. But anyway it's nice. It's allways nice to see new maemo applications!
I don't no nothing about music, but is there a lag between the hit and the sound from the speaker. I think there is no way to improve that responsiveness, or is?
To answer both of these: This is the system I have found with the least lag. I was originally using GStreamer, and the lag was almost half a second (although imperceptible on a PC). It was even longer with mplayer. So I used pygame. If anyone knows a way to reduce latency in gstreamer, I would be happy to use that instead.
 

The Following 2 Users Say Thank You to skykooler For This Useful Post:
Posts: 291 | Thanked: 435 times | Joined on Apr 2011 @ RO
#10
than if you make that recorder capability, would be good if records the actual button hits... adjustable recording time...making loops for recorded sound. Recording on top of that loop sounds new hits....or maybe you put some other instruments in other stage.
 

The Following User Says Thank You to SHARP66 For This Useful Post:
Reply


 
Forum Jump


All times are GMT. The time now is 19:08.