|
Rockbox mail archiveSubject: Re: plugin dev on clip+Re: plugin dev on clip+
From: Dave Hooper <dave_at_beermex.com>
Date: Thu, 14 Jun 2012 17:50:15 +0100 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 > clip+ > > i would like to write a morse decoder (i do not know if anyone tried doing > this) > 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 ! > > Alban > Hi Alban, 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 template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |