maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Development (https://talk.maemo.org/forumdisplay.php?f=13)
-   -   App Request: Metronome (https://talk.maemo.org/showthread.php?t=3809)

quingu 2006-12-30 08:56

App Request: Metronome
 
Hi!
Im a drummer and was looking forward to get a metronome when i thought of the n770.

would anybody mind to write a small metronome application for me?

all it needs would be an input field to enter the bpm and a start/stop button.

and perhaps a file selection dialog to choose the "click" soundfile to play.

here's a formula to convert bpm (beats per minute) to a milisecond duration (i guess thats what you will need to set up the loop)

1 / (bpm / 60000) = duration in ms


correct me if im wrong, i just woke up ;-)




well thanks in advance.

Hedgecore 2006-12-30 23:57

I'm a bassplayer... I'd love this too. A simple visual cue when a beat sounds (drum kits and bass amps are loud) would rock (like a flashing red square or something).

tayedrumma 2007-09-04 19:59

Re: App Request: Metronome
 
I'm also a drummer that owns a n770 running OS2006 i would love something that allows me to input a BPM and also had a simple visual cue as well... i will be going on tour soon and it would be great to have that before then

trevarthan 2007-09-04 20:44

Re: App Request: Metronome
 
GTick is probably the best candidate:
http://www.antcom.de/gtick/#screenshot

trevarthan 2007-09-04 21:43

Re: App Request: Metronome
 
Quote:

Originally Posted by trevarthan (Post 73188)
GTick is probably the best candidate:
http://www.antcom.de/gtick/#screenshot

I did a quick scratchbox compile here: http://www.guardiani.us/index.php/N8...packages#GTick

But it doesn't work. gtick requires /dev/dsp (i.e. OSS), so some porting would be required to either gstreamer or ALSA for the audio.

tayedrumma 2007-09-05 06:47

Re: App Request: Metronome
 
I'm still very new to the world of linux so if you could give me some help on how to get this up and running it would be very much appreciated! thank you so much for your quick reply

trevarthan 2007-09-05 13:41

Re: App Request: Metronome
 
Quote:

Originally Posted by tayedrumma (Post 73269)
I'm still very new to the world of linux so if you could give me some help on how to get this up and running it would be very much appreciated! thank you so much for your quick reply

Well, you can't right now. You can install it (as root using `dpkg -i`), and run it, and see the GUI. But that version of GTick is still using the Open Sound System (OSS). Maemo doesn't have OSS, so GTick will need to be converted to use either ALSA or gstreamer before it can be useful on maemo.

Sorry, I don't really have time to rewrite GTick's sound system right now. Maybe someone else will be willing to give it a try.

audioworld 2007-09-05 14:07

Re: App Request: Metronome
 
hi you musicians out there,

i am a sound engineer+electronic musician owning a N800, and besides this Metronome app (which would be great), I would really like to collect all the audio/music applications which work on the Maemo platform in one place. i have good webspace and CMS (I could install Wordpress, Joomla, Drupal or MODx) available, as well as some domain names. I you find any audio/music-related apps for the n770/n800, please drop me a line. if there is a sufficient number of tools to have some content, I would start a specific site for this purpose.

audioworld AT gmail DOT com

cheers, karl.

TA-t3 2007-09-05 14:53

Re: App Request: Metronome
 
I would also be interested in these kind of applications.

neiljerram 2007-09-05 22:42

Guile-Maemo Metronome
 
1 Attachment(s)
I've written a very simple, visual-only metronome application. It's written in Guile Scheme, so requires a few prior package installs, some of which can't be done using Application Manager. It also doesn't yet have Hildon desktop integration - which means it has to be started from the command line, in osso-xterm. But I've just checked that it runs correctly on the N800 - and it does. A screenshot is attached.

So, for anyone willing to brave the above caveats...

1. Make sure that your /etc/apt/sources.list includes all of the following.
deb http://repository.maemo.org bora free
deb http://repository.maemo.org/extras mistral free
deb http://repository.maemo.org/extras bora free

2. As root:
# apt-get update
# apt-get install libreadline4 guile g-wrap guile-maemo wget

3. As user, in a convenient directory:
$ wget http://www.ossau.uklinux.net/guile/metronome.scm
$ wget http://www.ossau.uklinux.net/guile/hildon.scm
$ wget http://www.ossau.uklinux.net/guile/ggobjs.scm
$ wget http://www.ossau.uklinux.net/guile/easygtk.scm

4. As user, in the same directory, to run the program:
$ guile -s metronome.scm

tayedrumma 2007-09-10 23:26

Re: App Request: Metronome
 
will this run on a n700??

neiljerram 2007-09-11 08:50

Re: App Request: Metronome
 
Quote:

Originally Posted by tayedrumma (Post 74661)
will this run on a n700??

Assuming you mean 770... Basically, yes; I originally wrote this app for an on my 770, and it definitely worked at that time. However, I haven't tested these precise instructions on my 770 in the last week, and they probably would need some tweaking (s/bora/mistral/).

I'll try it out in the next few days; if you want to try it yourself before that, please say what you find.

- Neil

tayedrumma 2007-09-19 20:25

Re: App Request: Metronome
 
it would be great if you could test these out and then maybe pm me some detailed instructions if you dont want to put them in the thread. I'm so lost on this linux thing

detlef 2007-10-17 06:18

Re: App Request: Metronome
 
We recompiled the gnome metronome GTick for maemo. Have a look at
http://maetronome.garage.maemo.org.

GWDavis28 2007-11-14 16:14

Re: App Request: Metronome
 
I downloaded the N800 DEB file, installed it and restarted. When I start the application (Gtick) it says loading and then nothing happens??? I have a N770.

crawdad 2007-12-12 23:45

Re: App Request: Metronome
 
Quote:

Originally Posted by GWDavis28 (Post 94701)
I downloaded the N800 DEB file, installed it and restarted. When I start the application (Gtick) it says loading and then nothing happens??? I have a N770.

Does the same on the 810.
The garage page says that the startup bug has been fixed, but...:(

XL1200c 2008-01-11 15:42

Re: App Request: Metronome
 
I can start it if I use the command line, but It will not play sound. I get and error, "Couldn't start metronome. Please check if specified sound device and sample file are accessible.". My sould device is set to /dev/dsp and the sound is set to default.

I have not had a chance to look into this any further. Does anyone know what the sound device on the N800/os2008 shoud be?

hgtablet 2008-02-26 15:04

Re: App Request: Metronome
 
A working metronome can be obtained as follows:

On the n810: (I guess it will work on others too)

1) Visit this web site: http://www.metronomeonline.com
2) Menu -> Web page -> Save as -> (Type = Complete web page)
3) Using the filemanager, visit the directory where you saved it.
4) Browse through the directory and you will find a Flash file called "metronome"
5) double-click on this Flash file and a web browser will open with a working metronome. (A warning will appear, just click OK).

(You can delete all the other files, only the Flash file is required).

Thesandlord 2008-02-27 05:40

Re: App Request: Metronome
 
thats smart hgtablet, why make a new application when flash works just as well. All u have to do is make a .desktop shortcut and you are done!

bexley 2008-02-27 06:22

Re: App Request: Metronome
 
Or this can be done easily with PDa (Puredata anywhere):

http://gige.xdv.org/pda/

mooler 2008-02-27 06:40

Re: App Request: Metronome
 
Quote:

thats smart hgtablet, why make a new application when flash works just as well. All u have to do is make a .desktop shortcut and you are done!
Exactly how does one do this?

new-maemo-user 2009-08-15 00:45

Re: App Request: Metronome
 
Sorry to bring back an old thread, but I wrote a GPL'ed one that doesn't require Flash. I didn't package it (never done that before) but it still functional. If you have any problems getting it installed, let me know. Take a look at:
http://bernsteinforpresident.com/software/mr-beat

wesgreen 2009-08-15 03:41

Re: App Request: Metronome
 
Quote:

Originally Posted by new-maemo-user (Post 311872)
Sorry to bring back an old thread, but I wrote a GPL'ed one that doesn't require Flash. I didn't package it (never done that before) but it still functional. If you have any problems getting it installed, let me know. Take a look at:
http://bernsteinforpresident.com/software/mr-beat

how would i install this on a os2oo8/n810?

new-maemo-user 2009-08-15 12:31

Re: App Request: Metronome
 
Quote:

Originally Posted by wesgreen (Post 311890)
how would i install this on a os2oo8/n810?

Well, download the directly, unzip it, and find some way to get it onto your tablet. If you have an ssh server running on your tablet, that would work. Otherwise, connect it to your computer and copy it over to the card. Then open up a terminal and "cd" to that directory, and run "python mrbeat.py".

wesgreen 2009-08-15 13:40

Re: App Request: Metronome
 
Quote:

Originally Posted by new-maemo-user (Post 311963)
Well, download the directly, unzip it, and find some way to get it onto your tablet. If you have an ssh server running on your tablet, that would work. Otherwise, connect it to your computer and copy it over to the card. Then open up a terminal and "cd" to that directory, and run "python mrbeat.py".

thanks for your reply. i've copied the file to mmc1. i haven't used xterminal before and am a linux novice. do i open xterminal next and then do what? thanks very much in advance!

tso 2009-08-15 13:47

Re: App Request: Metronome
 
running a program from a memory card will not work, as its mounted by maemo without executable privileges.

your best bet is /home/user or /home/user/MyDocs (note the caps).

new-maemo-user 2009-08-15 14:14

Re: App Request: Metronome
 
Sorry about all of that!!! I've got a package for Mr. Beat now. Download it at:
http://bernsteinforpresident.com/software/mr-beat

rocketscientist 2009-08-15 19:44

Re: App Request: Metronome
 
Thank you so much! Great app, have been looking for a metronome for quite while, and packaging makes it easy to install.

lkravovicz 2010-07-02 23:31

Re: App Request: Metronome
 
i don't think n900 has gtk.glade anymore since glade is deprecated so mr beat won't start up :(


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

vBulletin® Version 3.8.8