maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   PyDrum (https://talk.maemo.org/showthread.php?t=22728)

Aisu 2008-08-11 04:29

PyDrum
 
I just couldn't stop myself...

Video: http://www.vimeo.com/1506237

I shoved a drum machine in PyAno and let it rip, basically. Maybe we could have a real drum machine out of this thing in the next few days. (This was done in five minutes.)

I actually made a deb already using the "outline" from PyAno.

Oh, and I missed an awesome oppurtunity :( After I made the video I got out my 770's stylus. I had drum sticks. They worked quite well :D

But, the reason for the poll is that I'm just not sure how it should be designed.

Please answer so that I can get a bearing on where to go with this thing.

Thanks a lot :)


*Edit: I gotta have more cowbell, baby!*

andreww 2008-08-11 04:50

Re: PyDrum
 
These are pretty cool apps you've been writing. Makes me even more sure that these things need to be multi touch. I'm used to playing the drums on my steering wheel, so it'd be cool to play them on the device that's also my mp3 player :)

I voted for icons, but I don't think it matters too much, write the stuff that keeps you interested in the project!

tj110158 2008-08-11 05:06

Re: PyDrum
 
Dude, really nice apps your making. Keep up the good work. I can just see it now a "Nokia N8?? Band"

pycage 2008-08-11 06:46

Re: PyDrum
 
About multitouch...

It can somewhat be detected to a certain degree.
When you multitouch, the mouse pointer position jumps to a place between the touch points.
It depends on the amount of pressure to which touch point it's nearer.

So, basically, if you are in a mouse-down state, and detect an abrupt skipping of the pointer (instead of smooth motion), you can assume that there has been a second touch. Depending on the new pointer position, you can compute the coordinates of the second touch point.

This at least works with two touch points. When having three or more, it will be impossible to compute all touch points. And it works on the 770, the N800, as well as the N810.

Maybe somebody will be able to put this information to use. :)
I find it quite interesting to see that multitouch detection is somewhat possible.

DeeJay_XB 2008-08-11 11:59

Re: PyDrum
 
leave the interface like this and put a row of tempo :) like an electronic piano :D

josiahg777 2008-08-11 15:12

Re: PyDrum
 
Hmm I'd suggest splitting it into two interfaces if possible?

A standard drum-kit with icons, and a drum-machine with more functions but simple square buttons with text :)

Aisu 2008-08-13 05:10

Re: PyDrum
 
Well...

I just wanted to let you guys see what you think before I go any further with it. Right now it's as minimalistic as possible. Two rows of four squares of alternating color, all with a different percussion piece attached to them.

Cymbal--Hat--Cowbell(!)--Metal
Snare--High Congo--Mid Congo--Low Congo

Get it HERE!

And, yes, since I used PyAno's backbone, you can up the frequency on each hit with the volume hardware buttons. It'll double the pitch, I believe.

And the N810's keyboard can control the drums, too. (z-m, a)

Right now bug reports are needed if you find something! And suggestions are very welcome. (The errors importing the cdrom and joystick modules are already known. These will not effect PyDrum at all.)

The next thing I really want to implement is a way to create custom sound packs for this, though. Then a nice GUI will be on the block.

Thanks a lot, guys.

Enjoy!

Sevanteri 2008-08-13 18:12

Re: PyDrum
 
Well first, a damn great app! I love it. :)
Second, I find Metal sound quite useless... You might want to change that to ex. to the sound of when you the drum sticks together. Of course if you make some sort of sound packs for this, you should make it so that everyone can choose what button gives the sound they want.
Also, the cymbal sound is quite dull. Maybe a bit more balls into it or something? :D

But, like I said, great app!

Aisu 2008-08-14 15:47

Re: PyDrum
 
Quote:

Originally Posted by Sevanteri (Post 213365)
Well first, a damn great app! I love it. :)
Second, I find Metal sound quite useless... You might want to change that to ex. to the sound of when you the drum sticks together. Of course if you make some sort of sound packs for this, you should make it so that everyone can choose what button gives the sound they want.
Also, the cymbal sound is quite dull. Maybe a bit more balls into it or something? :D

But, like I said, great app!

Thanks a lot :)

I'll take a look at the cymbal sound, and I think metal will be changed, but I'm not sure to what...

AND, if you'd like to tar eight different wavs together, then I could use that as one of the first sound packs. :D

timsamoff 2008-08-14 15:51

Re: PyDrum
 
Very cool... It'd be great if custom samples (mp3s?) could be assigned to each "pad."

-T.


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

vBulletin® Version 3.8.8