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
| | |-+  sncviewer plugin
« previous next »
  • Print
Pages: [1] 2 3 ... 13

Author Topic: sncviewer plugin  (Read 114204 times)

(:@)

  • Guest
sncviewer plugin
« on: January 12, 2006, 02:04:22 AM »
the plugin reads from a lrc/snc file and displays the lyrics.

screenshots and precompiled .rock files

History:
...
update 17.3.06
- added: lrc support

update 20.4.2006
- added: a-b menu (clear/save/load/remove)
- added: button mapping for ipod (no a-b, because there are not enough buttons)
- changed: characters replaced by bitmaps in statusbar

update 23.4.2006
- added: edit a line (text edit)
- fixed: load utf-16 (be/le) encoded lrc files will be converted to utf8

update 13.8.2006
- added: button definitions for iaudio x5
- added: lrc time format: [m.ss.xxx] (www.lrcdb.org)
- fixed: problems with audio_ff_rew() (delay, ab-repeat)
- some other changes

update 26/28.9.2006
- changed: lyrics centered, time position, ..
- updated to the new button interface

update 12.2006
- changed: display of next playing artist/title for non-ascii chars (don't use sysfont)
- added: keymapping for toshiba gigabeat
- updated: sncviewer.txt

update 27.1.2007
- added: turn off/on backlight (unplugged)
- added: settings saved (backlight, album art on/off)
- changed: show album art and lyrics

update 3.2007
- added: display peakmeter if no lyrics can be found
- changed: replace old with the new menu api
- fixed: splash calls according to api changes, endless loop if next song is null

update 4.2007
- added: support for id3v2 SYLT embedded in a mp3 file
- updated: sncviewer.txt

update 7.2007
see
http://www.rockbox.org/tracker/task/7432
« Last Edit: September 24, 2007, 06:22:43 AM by (:@) »
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #1 on: January 12, 2006, 06:04:03 AM »
This is great. I was wanting to write a lyrics display plugin myself, but then got stuck when i noticed that replaygain obliberated the lyrics data. Your approach should work better. I'll try it out as soon as possible.

Cheers
Logged

Offline kenshin

  • Member
  • *
  • Posts: 366
  • IRC Nick: kenshin
Re: new plugin: sncviewer
« Reply #2 on: January 12, 2006, 11:15:28 AM »
I haven't tried it yet but considering the lyrics are external can we assume they might work with non-mp3 files (i.e. ogg and flac)?
Logged
kenshin/kawika/sithia

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: new plugin: sncviewer
« Reply #3 on: January 12, 2006, 12:07:32 PM »
don´t work for me:
"incompatible model"

i have a h140... with bleeding edge build
haven´t compiled it for myself

can you give some more informations please?
do i have to put the plugin in the rocks folder or does it work as viewer?
i assume the mp3 has to play...?

 

« Last Edit: January 12, 2006, 12:34:23 PM by perfectdrug »
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline kenshin

  • Member
  • *
  • Posts: 366
  • IRC Nick: kenshin
Re: new plugin: sncviewer
« Reply #4 on: January 12, 2006, 01:26:27 PM »
Same here with my 120. Yesterday's daily. What model is this built for?
Logged
kenshin/kawika/sithia

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #5 on: January 12, 2006, 04:03:55 PM »
I just had a play with it (compiled it with the latest CVS) and what can I say:

It is awesome!

This doesn't just display the lyrics in sync, but provides all sorts of related functionality such as a-b repeat, volume control, skip, list of all the lyrics, offset adjustment and others I might have overlooked.

Just a few comments/questions:

- is there a way to display accented characters (convert the file to utf-8 perhaps?)
- how do I quit a-b repeat without exiting the plugin completely
- save time offset (record button) doesn't seem to work
- some of my lyrics result in a "buffer has not enough rows" error - could the size be increased?
- what is the value in % in the status bar? how full the buffer is?
- the jump to the right for the current bit of lyrics is a little irritating - maybe something could be done with background colour?

Keep up the good work. I would love to see this integrated into rockbox.

Now I got to find some more snc files....

Thanks
  Roolku
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #6 on: January 12, 2006, 04:08:31 PM »
couple of screenshots

[attachment deleted by admin, too old]
Logged

Offline perfectdrug

  • Artist
  • Member
  • *
  • Posts: 103
Re: new plugin: sncviewer
« Reply #7 on: January 12, 2006, 04:10:58 PM »
sounds good  :)
hey can you provide the *.rock file please?
would be great...:)
Logged
uʍop ǝpısdn < sbuıʇʇǝs pɔ1 < ʎɐ1dsıp < sbuıʇʇǝs 1ɐɹǝuǝb

Offline kenshin

  • Member
  • *
  • Posts: 366
  • IRC Nick: kenshin
Re: new plugin: sncviewer
« Reply #8 on: January 12, 2006, 05:14:38 PM »
Doesn't seem to work with FLAC files. It's working with an MP3, though. Is it possible to make the screen width match the player? It's only using half of my screen real estate and "long" lines are wrapped right in the middle of the screen.

I too see the same "buffer" error message.
Logged
kenshin/kawika/sithia

Offline Shebb

  • Member
  • *
  • Posts: 42
Re: new plugin: sncviewer
« Reply #9 on: January 12, 2006, 06:40:22 PM »
Great plugin. 

Is there any plans for AB repeat to be added to the audio codec becuase it would be nice to have seemless transition from the end to the start which could only be done through buffering I guess.
Logged
Why is the dove the symbol of peace?  The pillow has just as many feathers but no nasty beak.

(:@)

  • Guest
Re: new plugin: sncviewer
« Reply #10 on: January 13, 2006, 04:16:05 AM »
Quote
- how do I quit a-b repeat without exiting the plugin completely
- save time offset (record button) doesn't seem to work
- some of my lyrics result in a "buffer has not enough rows" error - could the size be increased?
- what is the value in % in the status bar? how full the buffer is?
- the jump to the right for the current bit of lyrics is a little irritating - maybe something could be done with background colour?


- to quit a-b repeat you just have to press and hold a-b button
- save time offset just saves the filename and the offset into a file named offset.txt in the rootdirectory (hold recordbutton)
- "buffer has not enough rows" -> to increase the buffer you have to modify BUFFERSIZE and MAX_ROWS
« Last Edit: January 14, 2006, 07:11:09 AM by (:@) »
Logged

Offline linuxstb

  • Developer
  • Member
  • *
  • Posts: 1163
Re: new plugin: sncviewer
« Reply #11 on: January 13, 2006, 04:36:17 AM »
Quote from: kenshin on January 12, 2006, 05:14:38 PM
Doesn't seem to work with FLAC files. It's working with an MP3, though.

After looking at the code, that bug seems to be because the plugin is simply replacing the last three characters of the filename with "snc" to find the lyrics file.  So if you rename your lyrics file to ".fsnc" it should work.

The plugin should be using rb->strrchr(filename,'.') to find the last "." in the filename, rather than assuming the extension is three characters - which as you found fails for flac, and will also fail for wavpack (.wv).

Logged

Offline MoAv

  • Member
  • *
  • Posts: 96
Re: new plugin: sncviewer
« Reply #12 on: January 13, 2006, 05:15:56 AM »
What is the best way to find mass SNC files for entire albums ?
Logged

Offline roolku

  • Developer
  • Member
  • *
  • Posts: 350
Re: new plugin: sncviewer
« Reply #13 on: January 13, 2006, 06:33:04 AM »
Quote from: MoAv on January 13, 2006, 05:15:56 AM
What is the best way to find mass SNC files for entire albums ?


I don't think "mass SNC files for entire albums" exist. http://www.ilyrics.net/ is a good source. Also Ilyrics pro http://guino.home.insightbb.com/ilyricspro.html  can download/import different formats, some of which you will need to re-format and time sync yourself.
Logged

Offline MoAv

  • Member
  • *
  • Posts: 96
Re: new plugin: sncviewer
« Reply #14 on: January 13, 2006, 07:39:19 AM »
There isn't too much SNC or karaoke type files , only if it's popular .
Any chance you could add record mode in this plugin so I can change standart lyrics files that are SNC without the karaoke , into SNC while hearing the song . like Evillyrics does .
hmmm , was that clear ?
Logged

  • Print
Pages: [1] 2 3 ... 13
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Plugins/Viewers
| | |-+  sncviewer plugin
 

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

Page created in 0.101 seconds with 14 queries.