GTick

From Openmoko

(Difference between revisions)
Jump to: navigation, search
(Installation)
 
(37 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Image:gtick.png|right|thumb|Gtick on shr|200px]]
 +
 +
 
== About Gtick ==
 
== About Gtick ==
 
From [http://www.antcom.de/gtick/ Gtick's homepage]:
 
From [http://www.antcom.de/gtick/ Gtick's homepage]:
Line 27: Line 30:
  
  
== installation ==
+
== Installation ==
Get source from [http://www.antcom.de/gtick/] and compile it.
+
  
It worked well for me on my SHR.
+
==== Package ====
 +
I created a new [opkg install http://www.opkg.org/packages/0_gtick_0.1_armv4t.ipk] that checks for libsndfile1 and now you get a nice desktop icon.
  
Use
+
<pre>
modprobe snd-pcm-oss
+
opkg install http://www.opkg.org/packages/gtick_0.1_armv4t.ipk
to get /dev/dsp .
+
</pre>
Gtick has an option for executing commands on startup, so you can use that for executing modprobe snd-pcm-oss.
+
  
I had this problem:[http://lists.openmoko.org/nabble.html#nabble-td2175057  speech-dispatcher blocking /dev/dsp] . Killing the speech-dispatcher process helped.
+
Please test it and give me some feedback on this page.
  
== usage ==
 
  
Tip: Use the app in landscape mode.
+
For alsa-oss compatility, use
 +
<pre>modprobe snd-pcm-oss</pre>
 +
 
 +
You can add this in the GTick's preferences by editing the "execute on startup" field.
 +
 
 +
Apparently there is a problem that after every reboot I have to click the start button twice to get it working. On the first click, an error message about a missing sound device appears.
 +
 
 +
==== Problems ====
 +
 
 +
If you have the speech-dispatcher installed (e.g. navit uses it) you may come upon this problem: [http://lists.openmoko.org/nabble.html#nabble-td2175057  speech-dispatcher blocking /dev/dsp] .
 +
A quick solution is just to stop speech-dispatcher with <pre>/etc/init.d/speech-dispatcher stop</pre>
 +
 
 +
==== Source code ====
 +
 
 +
You can get the source code from [http://www.antcom.de/gtick/download/].
 +
 
 +
== Usage ==
 +
To make the sound louder either use the gui control for volume or increase the "Headphone" and the "PCM" setting with alsamixer.
 +
 
 +
 
 +
Start it from the command line: <pre>gtick</pre>
 +
or with ssh: <pre>DISPLAY=:0 gtick</pre>
 +
 
 +
 
 +
Hint: Use the app in landscape mode.
  
 
== ToDo ==
 
== ToDo ==
 
feel free to make it better :)
 
feel free to make it better :)
  
* create package
+
* make the interface more finger friendly
  
 
== Testing , Feedback , Bugs ==
 
== Testing , Feedback , Bugs ==
Please add anything you come upon on this page.
+
 
 +
* works on shr
 +
* works on om 2008.12
 +
 
 +
Please feel free to add comments, give a little feedback and post bugs that are in the program.
 +
 
 +
[[Category:Audio Applications]]

Latest revision as of 12:44, 25 April 2009

Gtick on shr


Contents

[edit] About Gtick

From Gtick's homepage:

"GTick is a metronome application written for GNU/Linux and other UN*X-like operting systems supporting different meters (Even, 2/4, 3/4, 4/4 and more) and speeds ranging from 10 to 1000 bpm. It utilizes GTK+ and OSS (ALSA compatible). It is part of the GNU Project.

This program has been originally written by Alex Roberts, but since he didn't have the time to develop and maintain it further, I (Roland Stigge) took it over (initially to package it for Debian, but there were too many "upstream" issues, so I decided to maintain the whole package). Since then, the program has been mainly rewritten (new DSP core, GTK+2 port, added features). "


[edit] Features

From Gtick's homepage:

  • Very easy handling
  • Reliable timing
  • Volume control
  • Different meters (Even, 2/4, 3/4, 4/4, more)
  • Configurable speed (10 to 1000 BPM)
  • Manual tapping input
  • Customizable ticking sound
  • Native language support for 20 languages: Afrikaans, Basque, Catalan, Chinese, Czech, Dutch, English, Finnish, French, German, Irish, Italian, Korean, Brazilian Portuguese, Romanian, Russian, Spanish, Swedish, Ukrainian and Vietnamese
  • Separate audio thread for better realtime performance
  • Customizable commands for metronome start / stop, e.g. for switching off the screensaver
  • Options saved to rc file
  • Customizable sound device
  • Visual Tick
  • Accent Attack Padding
  • Configurable Accent Table


[edit] Installation

[edit] Package

I created a new [opkg install http://www.opkg.org/packages/0_gtick_0.1_armv4t.ipk] that checks for libsndfile1 and now you get a nice desktop icon.

opkg install http://www.opkg.org/packages/gtick_0.1_armv4t.ipk

Please test it and give me some feedback on this page.


For alsa-oss compatility, use

modprobe snd-pcm-oss

You can add this in the GTick's preferences by editing the "execute on startup" field.

Apparently there is a problem that after every reboot I have to click the start button twice to get it working. On the first click, an error message about a missing sound device appears.

[edit] Problems

If you have the speech-dispatcher installed (e.g. navit uses it) you may come upon this problem: speech-dispatcher blocking /dev/dsp .

A quick solution is just to stop speech-dispatcher with
/etc/init.d/speech-dispatcher stop

[edit] Source code

You can get the source code from [1].

[edit] Usage

To make the sound louder either use the gui control for volume or increase the "Headphone" and the "PCM" setting with alsamixer.


Start it from the command line:
gtick
or with ssh:
DISPLAY=:0 gtick


Hint: Use the app in landscape mode.

[edit] ToDo

feel free to make it better :)

  • make the interface more finger friendly

[edit] Testing , Feedback , Bugs

  • works on shr
  • works on om 2008.12

Please feel free to add comments, give a little feedback and post bugs that are in the program.

Personal tools

About Gtick

From Gtick's homepage:

"GTick is a metronome application written for GNU/Linux and other UN*X-like operting systems supporting different meters (Even, 2/4, 3/4, 4/4 and more) and speeds ranging from 10 to 1000 bpm. It utilizes GTK+ and OSS (ALSA compatible). It is part of the GNU Project.

This program has been originally written by Alex Roberts, but since he didn't have the time to develop and maintain it further, I (Roland Stigge) took it over (initially to package it for Debian, but there were too many "upstream" issues, so I decided to maintain the whole package). Since then, the program has been mainly rewritten (new DSP core, GTK+2 port, added features). "


Features

From Gtick's homepage:

  • Very easy handling
  • Reliable timing
  • Volume control
  • Different meters (Even, 2/4, 3/4, 4/4, more)
  • Configurable speed (10 to 1000 BPM)
  • Manual tapping input
  • Customizable ticking sound
  • Native language support for 20 languages: Afrikaans, Basque, Catalan, Chinese, Czech, Dutch, English, Finnish, French, German, Irish, Italian, Korean, Brazilian Portuguese, Romanian, Russian, Spanish, Swedish, Ukrainian and Vietnamese
  • Separate audio thread for better realtime performance
  • Customizable commands for metronome start / stop, e.g. for switching off the screensaver
  • Options saved to rc file
  • Customizable sound device
  • Visual Tick
  • Accent Attack Padding
  • Configurable Accent Table


installation

Get source from [1] and compile it.

It worked well for me on my SHR.

Use modprobe snd-pcm-oss to get /dev/dsp . Gtick has an option for executing commands on startup, so you can use that for executing modprobe snd-pcm-oss.

I had this problem:speech-dispatcher blocking /dev/dsp . Killing the speech-dispatcher process helped.

usage

Tip: Use the app in landscape mode.

ToDo

feel free to make it better :)

  • create package

Testing , Feedback , Bugs

Please add anything you come upon on this page.