Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Metronome on sansa clip
« previous next »
  • Print
Pages: [1]

Author Topic: Metronome on sansa clip  (Read 4735 times)

Offline Artursk

  • Member
  • *
  • Posts: 19
Metronome on sansa clip
« on: April 20, 2010, 04:19:24 AM »
it's impossible to use metronome on sansa(v1) because the Start/Stop key isn't defined.
it could be home button - the only button witch is not used in that plungin.

is there some way I can set that button?

Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Metronome on sansa clip
« Reply #1 on: April 21, 2010, 03:06:15 AM »
Hi.  You will need to check out the source and change the key map.  I think the key map should probably be changed anyway, so that the volume rocker controls volume.  This would free up the play/pause button to start/stop the metronome (a logical choice, I think).

If you feel up to it, a patch to improve the key map would be welcomed.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #2 on: April 22, 2010, 11:15:34 AM »
Hi,is there some Program I can edit .rock files??
 
cause my knowledge in programming stuff is pretty poor and I wont be able to make a patch if it's a difficult thing to do :-\
Logged

Offline Eric Einem

  • Member
  • *
  • Posts: 7
Re: Metronome on sansa clip
« Reply #3 on: April 22, 2010, 05:50:22 PM »
You find can what you need here:
http://www.rockbox.org/wiki/HowtoWritePlugins
« Last Edit: April 23, 2010, 02:01:06 PM by Eric Einem »
Logged

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #4 on: April 23, 2010, 06:43:58 AM »
thats what is said on manual is understandable. the problem is -how can i view the plungin code as a text?

p.s. sory for asking so meny questions.
Logged

Offline Eric Einem

  • Member
  • *
  • Posts: 7
Re: Metronome on sansa clip
« Reply #5 on: April 23, 2010, 12:46:13 PM »
Did you follow the Development Guide instructions for setting up the development environment and getting the source code using SVN?

The metronome source code is in rockbox\apps\plugins\metronome.c

« Last Edit: April 23, 2010, 02:00:49 PM by Eric Einem »
Logged

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #6 on: July 04, 2010, 12:54:18 PM »
so i got the code and added key map for sansa clip - how can I apply to my player and see if it works?
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Metronome on sansa clip
« Reply #7 on: July 05, 2010, 01:53:03 PM »
You need to build the source as described in the docs index.  Check the SimpleGuideToCompiling for instructions on compiling Rockbox in Windows.  After that, you can consult the WorkingWithPatches page for instructions on creating a patch for submission to Flyspray.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #8 on: July 12, 2010, 08:09:24 AM »
Ok -im givinng up on that  :-[

i spent 2 hours trying understand it ,but it seems to be a bit too hard for me.

Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Metronome on sansa clip
« Reply #9 on: July 12, 2010, 01:27:41 PM »
If you take things step by step it shouldn't be too bad.  Is there a particular step that confuses you?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #10 on: July 16, 2010, 02:23:49 PM »
My problem is -when I tipe ''make'' it says -premission denied,bad interpreter
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Metronome on sansa clip
« Reply #11 on: July 16, 2010, 06:21:10 PM »
Which build environment are you using?
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline Artursk

  • Member
  • *
  • Posts: 19
Re: Metronome on sansa clip
« Reply #12 on: July 17, 2010, 06:14:54 AM »
cygwin -I tryed to reinstall it , but  installer still coudn't download some parts from rockbox mirror so I did download them manually and then install using cygwin setup



I just downloaded newest RB and the metronome seems to be fixed 
 (TY guys :) )
« Last Edit: July 17, 2010, 01:17:59 PM by Artursk »
Logged

Offline Chronon

  • Rockbox Expert
  • Member
  • *
  • Posts: 4379
Re: Metronome on sansa clip
« Reply #13 on: July 17, 2010, 01:16:00 PM »
Rockbox is now set up to use a different cross compiler.  Did the configure script complain about arm-elf-eabi-gcc not being on your path?  If this is the source of your problem you can run the rockboxdev.sh script to build it.
Logged
Sansa e280, Gigabeat F40, Gigabeat S60, Sansa Clip+, iPod Mini 2g

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Metronome on sansa clip
« Reply #14 on: July 24, 2010, 03:41:02 PM »
Quote from: Chronon on July 17, 2010, 01:16:00 PM
Rockbox is now set up to use a different cross compiler.  Did the configure script complain about arm-elf-eabi-gcc not being on your path?  If this is the source of your problem you can run the rockboxdev.sh script to build it.

Which like most things on Cygwin will take many moons :)
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  Metronome on sansa clip
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.083 seconds with 14 queries.