maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] Drummer: a Drumset App (https://talk.maemo.org/showthread.php?t=75376)

skykooler 2011-07-31 21:33

[Announce] Drummer: a Drumset App
 
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:

http://skykool.com/images/drummer-screen.png

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

SHARP66 2011-07-31 22:07

Re: [Announce] Drummer: a Drumset App
 
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?

skykooler 2011-07-31 22:12

Re: [Announce] Drummer: a Drumset App
 
Quote:

Originally Posted by SHARP66 (Post 1061908)
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?

SHARP66 2011-07-31 22:22

Re: [Announce] Drummer: a Drumset App
 
sorry,my mistke ...I didn't put it in MyDocs,

anapospastos 2011-07-31 22:23

Re: [Announce] Drummer: a Drumset App
 
Nice:) If anyone has problems with clutter module run in xterm

Code:

apt-get install python-clutter

skykooler 2011-07-31 22:32

Re: [Announce] Drummer: a Drumset App
 
Quote:

Originally Posted by anapospastos (Post 1061914)
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).

TomppaS 2011-07-31 22:56

Re: [Announce] Drummer: a Drumset App
 
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!

SHARP66 2011-07-31 23:09

Re: [Announce] Drummer: a Drumset App
 
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?

skykooler 2011-07-31 23:17

Re: [Announce] Drummer: a Drumset App
 
Quote:

Originally Posted by TomppaS (Post 1061923)
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!

Quote:

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.

SHARP66 2011-07-31 23:49

Re: [Announce] Drummer: a Drumset App
 
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.

skykooler 2011-07-31 23:53

Re: [Announce] Drummer: a Drumset App
 
I have made the recorder, I am just fixing some bugs before I upload it. I will add some other features before long.

anthonie 2011-08-01 00:07

Re: [Announce] Drummer: a Drumset App
 
Is there a features list available for this program? I'd like to know if I can do basic things like changing measure and such.

skykooler 2011-08-01 00:18

Re: [Announce] Drummer: a Drumset App
 
Quote:

Originally Posted by anthonie (Post 1061947)
Is there a features list available for this program? I'd like to know if I can do basic things like changing measure and such.

Haven't made a features list yet, but no you cannot because it does not yet have any concept of a "timeline". Here is the features list as it currently stands:

Implemented (in .zip in first post):
  • Play a drum by hitting it
  • 6 drums (crash cymbal, snare, bass drum and three toms)
In progress (I have done, but haven't yet uploaded):
  • Recording/playback
  • Quit button
  • Metronome
Planned:
  • Timeline
  • Record over (multi-track recording)
  • Adjustable Volume with tap intensity (it should be possible, we shall see)
  • Timing correction (so two rapidly-played drums can be seen as simultaneous, getting around the lack of multitouch)
  • Editing of created tracks
  • Save and open
  • Possibly other instruments?

skykooler 2011-08-01 00:46

Re: [Announce] Drummer: a Drumset App
 
Updated file in first post. Now recording/playback, metronome and quit have been implemented.

tpd 2011-08-03 15:50

Re: [Announce] Drummer: a Drumset App
 
awesome.... this shares similarities with Take It Away Marco which is a fairly similar program I have been working on (though this has a better name :)) -

while that is still ongoing, feel free to look at the code which has low(ish) latency multiphonic playback via gstreamer.

skykooler 2012-09-25 18:47

Re: [Announce] Drummer: a Drumset App
 
Update: after over a year with the sources missing, drummer is finally in extras-devel!

marmistrz 2012-11-06 17:39

Re: [Announce] Drummer: a Drumset App
 
Please modify the deps because extras-devel version of python-clutter is needed.
btw. i have a pop for every drum. why is it so?

bozoid 2013-01-08 17:12

Re: [Announce] Drummer: a Drumset App
 
Quote:

Originally Posted by skykooler (Post 1272160)
Update: after over a year with the sources missing, drummer is finally in extras-devel!

I installed this app only to find that it had incorrect paths.
It was trying to load its wav files from /home/user/MyDocs/Drummer.
However, wav files are in /opt/drummer.
Hope this can get corrected.

I'm using N900 PR1.3 with CSSU stable btw.

kh


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

vBulletin® Version 3.8.8