maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] Take it away Marco, drum program (https://talk.maemo.org/showthread.php?t=73942)

tpd 2011-06-12 10:48

[ANNOUNCE] Take it away Marco, drum program
 
Ever felt the burning desire to rock out with a blazing drum solo on your phone???? Well now you can, so...... Take It Away Marco

currently early prealpha, can be played with the pad view or by enabling accelerometer (shake your phone and hey presto an instant drum solo)....

Sound engine written with GST and is mostly functional, beyond the app losing focus can be an issue. Really looking to get it out there to test the sound mixer engine (playing multiple sounds simultaneously and with low latency has been a long process of trial and mostly error)

ToDo: better groups of sounds, custom mappings, drumkit working, rewrite drumstick mode, move from pygame to qt for display and event inspection, fix sound engine issues. (like I said pre-alpha)

UPDATE

Move to Qt done

http://www.freeimagehosting.net/uploads/4719d0e391.png

tpd 2011-06-12 11:21

Re: [ANNOUNCE] Take it away Marco, drum program
 
Ooops almost forgot uploaded to extra-dev... version 0.0.2 (0.0.1 didn't run from desktop)... app takes a while to load (again needs optimisation), so be patient with the blank screen for 20 seconds or so

laasonen 2011-06-12 11:29

Re: [ANNOUNCE] Take it away Marco, drum program
 
Screenshots?

epitaph 2011-06-12 11:29

Re: [ANNOUNCE] Take it away Marco, drum program
 
Some screenshots would be nice!?

anthonie 2011-06-12 12:12

Re: [ANNOUNCE] Take it away Marco, drum program
 
Crashes to desktop. Typing takeitawaymarco on CL to see the output of the terminal didn't work. Too lazy to find the desktop file and discover what the name of the executable actually is. Not sure whether it's a game, but it's a bit odd looking for a multimedia product in that app category.

tpd 2011-06-12 13:27

Re: [ANNOUNCE] Take it away Marco, drum program
 
Crashing to desktop issue should be fixed.... (fingers crossed) with v 0.0.2 if an update doesn't work, can you try...

cd /opt/takeitawaymarco
python pydrum.py

package is miscategorised... (copy and not tweaked enough ;) ) will fix on next upload.

zurrain101 2011-06-12 13:43

Re: [ANNOUNCE] Take it away Marco, drum program
 
it doesnt open. not even with xterm

F2thaK 2011-06-12 13:49

Re: [ANNOUNCE] Take it away Marco, drum program
 
works for me, mite upload vid tomorrow

Alfred 2011-06-12 14:01

Re: [ANNOUNCE] Take it away Marco, drum program
 
Here is what says xterm:
Code:

python pydrum.py
PATH: /opt/takeitawaymarco
x11
<Surface(800x480x16 SW)>
Traceback (most recent call last):
  File "pydrum.py", line 202, in <module>
    main()
  File "pydrum.py", line 82, in main
    play(screen,mixer)
  File "pydrum.py", line 115, in play
    mixer.init_audio()
  File "/opt/takeitawaymarco/pymixer.py", line 109, in init_audio
    self.testwave = wave.open('/opt/inner-spin/sounds/1count.wav', 'r')
  File "/usr/lib/python2.5/wave.py", line 493, in open
    return Wave_read(f)
  File "/usr/lib/python2.5/wave.py", line 159, in __init__
    f = __builtin__.open(f, 'rb')
IOError: [Errno 2] No such file or directory: '/opt/inner-spin/sounds/1count.wav'


tpd 2011-06-12 14:28

Re: [ANNOUNCE] Take it away Marco, drum program
 
Ah.... Tony wins the idiot prize!!!! it still has a link to the initial test wav from the inner-spin dir!!! (if you have inner-spin installed it probably work)... Will fix after watching Kung-fu panda 2 with the kids (possibly during if it's really bad ;) )

epitaph 2011-06-12 14:36

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by laasonen (Post 1027516)
Screenshots?

Why is he thank and me not? He couldn't write a whole sentence tough. Should we guess what is he wanting?

laasonen 2011-06-12 15:19

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by epitaph (Post 1027617)
Why is he thank and me not? He couldn't write a whole sentence tough. Should we guess what is he wanting?

What is your problem?

AgogData 2011-06-12 15:28

Re: [ANNOUNCE] Take it away Marco, drum program
 
SS ? (screenshots)

anthonie 2011-06-12 15:59

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by epitaph (Post 1027617)
Why is he thank and me not?


I had no idea his name was thank, but than again, I didn't thank him either. But are you unhappy with the name epitaph?

tpd 2011-06-12 20:10

Re: [ANNOUNCE] Take it away Marco, drum program
 
Hopefully version 0.0.3 should work now??? Please let me know if not?

also package correctly categorised as multimedia, screenshot added at start of this thread (and thanks to everyone who suggested it :) )

zurrain101 2011-06-12 21:40

Re: [ANNOUNCE] Take it away Marco, drum program
 
it stars but doesnt play any sound

epitaph 2011-06-12 21:53

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by laasonen (Post 1027632)
What is your problem?

Do you think you are polite? This is a public forum. I simply ask a question and you answered with question? I suppose you aren't locking for screenshots.

tpd 2011-06-12 22:00

Re: [ANNOUNCE] Take it away Marco, drum program
 
:( not even the blue drumpads??? At the moment the sound is only triggered by the blue pads on the right.. which play random sounds of grouped wavs

1st column (in order):
Kick
HiHat
Snare
Symbal
Tom-Tom
BassDrum

2nd:
As 1st plus Kick

3rd
As 1st plus hi-hat

Accelerometer can be enabled by pressing the greyed text in which case all 3 axis of movement trigger different sounds on movement

handaxe 2011-06-13 00:36

Re: [ANNOUNCE] Take it away Marco, drum program
 
Installed latest - error given below.
Code:

/opt/takeitawaymarco $ python pydrum.py
PATH: /opt/takeitawaymarco
x11
<Surface(800x480x16 SW)>
Traceback (most recent call last):
  File "pydrum.py", line 202, in <module>
    main()
  File "pydrum.py", line 74, in main
    mixer.addwav(appdir + "/sounds/KickDrums1/kickdrum" +str(i ) + ".wav")
  File "/opt/takeitawaymarco/pymixer.py", line 158, in addwav
    self.soundbuffers.append(self.createbrokenarray(filename))
  File "/opt/takeitawaymarco/pymixer.py", line 83, in createbrokenarray
    fullarray = self.createsoundarray(file)
  File "/opt/takeitawaymarco/pymixer.py", line 73, in createsoundarray
    sound =pygame.mixer.Sound(file)
pygame.error: mixer system not initialized
/opt/takeitawaymarco $


F2thaK 2011-06-13 02:33

Re: [ANNOUNCE] Take it away Marco, drum program
 
http://i3.ytimg.com/vi/NP5MIB7snzQ/hqdefault.jpg
http://www.youtube.com/watch?v=NP5MIB7snzQ

AgogData 2011-06-13 04:46

Re: [ANNOUNCE] Take it away Marco, drum program
 
Its working only by xterm, looks nice for a primary version but it needs some working on.
Thanks for the app :)
N.B.: are you sure about your app name ?

lifenexus 2011-06-13 05:26

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by tpd (Post 1027762)
Hopefully version 0.0.3 should work now??? Please let me know if not?

also package correctly categorised as multimedia, screenshot added at start of this thread (and thanks to everyone who suggested it :) )

ive sent u a PM on various ideas i have. pls read and reply,
thanks.. :)

tpd 2011-06-13 07:26

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by AgogData (Post 1027941)
N.B.: are you sure about your app name ?

I like the app name, but agree it probably makes little sense if you don't know the context....

http://www.youtube.com/watch?v=nPGA3vjMLgE

phap 2011-06-13 07:30

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by AgogData (Post 1027941)
N.B.: are you sure about your app name ?

:)
I agree, the name is quite strange...

Edit: just saw the youtube link but I still don't see how it explains the name

Edit2: I just tested the last update, it's great!

generationally 2011-06-13 10:52

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by tpd (Post 1027762)
Hopefully version 0.0.3 should work now??? Please let me know if not?

also package correctly categorised as multimedia, screenshot added at start of this thread (and thanks to everyone who suggested it :) )

Still doesn't work for me.

Running python pydrum.py in /opt/takeitawaymarco/ gives me following error:

Code:

Traceback (most recent call last):
  File "pydrum.py", line 24, in <module>
    import numpy
ImportError: No module named numpy


tpd 2011-06-13 11:26

Re: [ANNOUNCE] Take it away Marco, drum program
 
Ah I thought numpy was part of the standard install but it appears not, I will remove the dependency and push out a new version with this fix this evening.

tpd 2011-06-13 23:41

Re: [ANNOUNCE] Take it away Marco, drum program
 
Version 0.0.4 should now be uploaded which should remove the numpy dependency..... Also this version maps the keys

QWERTY
ASDFGH
ZXCVBN

to the same drum sounds as the blue touch screen drum pad... (all other keys go straight to "kick")

I recommend an alternate grove between either Q and A and the buttons on the touchscreen...

F2thaK 2011-06-14 02:40

Re: [ANNOUNCE] Take it away Marco, drum program
 
cool, game still appears in games section for me

cfh11 2011-06-14 18:18

Re: [ANNOUNCE] Take it away Marco, drum program
 
awesome, i was going to make an app like this but i never found the time

handaxe 2011-06-14 22:33

Re: [ANNOUNCE] Take it away Marco, drum program
 
This still is my CLI error:
http://talk.maemo.org/showpost.php?p...1&postcount=19
Any clues?

tpd 2011-06-15 00:23

Re: [ANNOUNCE] Take it away Marco, drum program
 
I have been looking into that one handaxe... and I have good and bad news ;)

bad news it sounds like something in the pygame layer is teh busted and I am not sure what (beyond there are a few similar messages dotted about the forum for apps using pygame mixer - I have not seen any resolution though)

good news I can remove pygame.mixer out of the loop entirely (it's only used as a simple way to get the wav files in the right format) and hopefully this will remove this issue. I have tested the change here and it seems fine (but obviously having never reproduced the original issue that doesn't mean that much)...

However if you pm me your email, I can send you the changed unit tomorrow, which I will then integrate into the rest of the code if successful.

tpd 2011-06-15 07:40

Re: [ANNOUNCE] Take it away Marco, drum program
 
Version 0.0.5 now uploaded, load times should be considerably improved, and dependency on pygame.mixer is now totally removed which should fix errors mentioning that (maybe ;))

handaxe 2011-06-15 08:57

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by tpd (Post 1029318)
I have been looking into that one handaxe... and I have good and bad news ;)

bad news it sounds like something in the pygame layer is teh busted and I am not sure what (beyond there are a few similar messages dotted about the forum for apps using pygame mixer - I have not seen any resolution though)

good news I can remove pygame.mixer out of the loop entirely (it's only used as a simple way to get the wav files in the right format) and hopefully this will remove this issue. I have tested the change here and it seems fine (but obviously having never reproduced the original issue that doesn't mean that much)...

However if you pm me your email, I can send you the changed unit tomorrow, which I will then integrate into the rest of the code if successful.

Well, well, well, look what works with the ltest update.... :)

Nothing changed my side so well done! Assume testing of that unit unecessary now?

tpd 2011-06-15 09:07

Re: [ANNOUNCE] Take it away Marco, drum program
 
yeah No extra testing needed... the unit I was going to ask you to test is what I pushed in that release - since it seemed functional and is more optimised compared to what was there before.

tpd 2011-06-22 01:28

Re: [ANNOUNCE] Take it away Marco, drum program
 
Version 0.0.6 now uploaded... big change this one.... UI is now Qt based and a little nicer (even if the menu button currently does nothing - it will in v0.0.7, HONEST ). I am bound to have messed up the package somewhere, so feed back if it is in a non working state.

latency should (hopefully) be lower too.

Accelerometer drumming still just a noise generator at present.

tpd 2011-06-22 01:32

Re: [ANNOUNCE] Take it away Marco, drum program
 
and updated screenshot

http://www.freeimagehosting.net/uploads/4719d0e391.png

handaxe 2011-06-22 05:41

Re: [ANNOUNCE] Take it away Marco, drum program
 
Quote:

Originally Posted by tpd (Post 1035514)
Accelerometer drumming still just a noise generator at present.

...and my 2 year old thanks you for that :) tho that does cause me to fearf for my phone.

vetsin 2011-06-22 06:33

Re: [ANNOUNCE] Take it away Marco, drum program
 
wow! i'll be waiting for this to be stable enough for regular users. :) thanks for the effort!

tpd 2011-06-22 06:52

Re: [ANNOUNCE] Take it away Marco, drum program
 
Handaxe..... well if you need a reason to upgrade come the n9 hour , shake away :)

Thanks Vetsin, I hope when (if) it makes it to that stability level you enjoy :)

tpd 2011-07-07 11:12

Re: [ANNOUNCE] Take it away Marco, drum program
 
Take it away Marco 0.0.8 uploaded this adds rudimantary looping recording and queueing support (with ability to save and open but currently only to a predefined file....

Next on the list: tidy Interface (which is now a pretty cluttered mess), and help button does nothing...

Also if any moderators are about would it be possible to move this to multimedia


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

vBulletin® Version 3.8.8