Rockbox mail archive
Subject: Re: plugin dev on clip+
On 14 June 2012 16:06, alban.meffre_at_laposte.net <alban.meffre_at_laposte.net>wrote:
> hello !
> i would like to know how to develop my own application running on sansa
> i would like to write a morse decoder (i do not know if anyone tried doing
> it would use the microphone input as a sensor,
> then narrow filter the audio (few tens of hertz bandwith),
> and then decode morse and write decoded words onto the screen
> (with adaptive "word per minute" (wpm) rate detection)
> i have enough theorical background for carrying out experiments,
> but i don't know nothing about any dev platform for rockbox plugins
> any idea ?
> help !
This sounds relatively straightfoward - if I were you I would start by
reading the Dev Guide link (on the front page of www.rockbox.org on the far
left-hand-side), followed by the documentation in the wiki, for how to
setup the environment for rockbox development (it's the same environment
whether you want to 'change rockbox itself' or 'write an app that you run
within rockbox'). In summary, rockbox uses a git repository for source
code management, and the toolchain consists of (mostly) standard GNU tools
(gcc, make, etc) with a few customized scripts to handle the whole
top-level build process. The language for implementation is C.
Once you've pulled the rockbox source onto your PC (Windows or Mac or Linux
box etc), and setup your development environment, I would then suggest
exploring the source code residing in the "apps/plugins" tree , in
particular things like "apps/plugins/pitchdetector.c" which detects
frequencies on the recording input of the device (e.g. microphone) and
sounds like a good starting point for your project.
Finally, in an ideal world anything you develop would work on all devices
supported by rockbox, not just Clip+ - if you stick to roughly how the
pitchdetector app works, you'll probably get this behaviour, but if unsure
just visit us on irc (#rockbox on freenode). In fact, just do that anyway
and say hi! :-)
Received on 2012-06-14
Page was last modified "Jan 10 2012" The Rockbox Crew