GTick

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m
(Installation)
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[Image:gtick.png|right|thumb|Gtick on shr|150px]]
+
[[Image:gtick.png|right|thumb|Gtick on shr|200px]]
 +
 
  
 
== About Gtick ==
 
== About Gtick ==
Line 29: 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>
<code>modprobe snd-pcm-oss</code>
+
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 start compatility mode there.
+
  
I had this problem:[http://lists.openmoko.org/nabble.html#nabble-td2175057  speech-dispatcher blocking /dev/dsp] .
+
Please test it and give me some feedback on this page.
For now just stop speech-dispatcher with <code>/etc/init.d/speech-dispatcher stop</code>
+
  
  
 +
For alsa-oss compatility, use
 +
<pre>modprobe snd-pcm-oss</pre>
  
I have created a [http://www.file-upload.eu/download-1421594/gtick-0.4.2_0.1_armv4t.ipk.html package] for testing. It's my first package, and I haven't checked it for dependences yet, and you won't get a Icon on your desktop yet. Feel free to test it or make you own package and share it here (You'll find a nice icon on Gtick's homepage).
+
You can add this in the GTick's preferences by editing the "execute on startup" field.
  
mssing dependencies:
+
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.
  
* libsndfile <code>opkg install libsndfile</code>
+
==== Problems ====
  
== usage ==
+
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] .
Start it from the command line: <code>gtick</code>
+
A quick solution is just to stop speech-dispatcher with <pre>/etc/init.d/speech-dispatcher stop</pre>
  
or with ssh: <code>DISPLAY=:0 gtick</code>
+
==== Source code ====
  
 +
You can get the source code from [http://www.antcom.de/gtick/download/].
  
Tip: Use the app in landscape mode.
+
== 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.
+
 
[[Image:Example.jpg]]
+
* 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
Gtick on shr

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 start compatility mode there.

I had this problem:speech-dispatcher blocking /dev/dsp . For now just stop speech-dispatcher with /etc/init.d/speech-dispatcher stop


I have created a package for testing. It's my first package, and I haven't checked it for dependences yet, and you won't get a Icon on your desktop yet. Feel free to test it or make you own package and share it here (You'll find a nice icon on Gtick's homepage).

mssing dependencies:

  • libsndfile opkg install libsndfile

usage

Start it from the command line: gtick

or with ssh: DISPLAY=:0 gtick


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. File:Example.jpg