lyric-mode.el
  Home FAQ Contact Sign in
gnu.emacs.sources only
 
Advanced search
POPULAR GROUPS

more...

gnu.emacs.sources Profile…
 Up
lyric-mode.el         


Author: jcg.sturdy
Date: Aug 18, 2008 05:02

The following code implements a major mode for editing lyric (.lrc)
files, which are used by various music players to display lyrics in
synch with the playing of a song.

There are commands for starting and stopping an ogg123 process, and
the timing output from that process is captured, allowing you to enter
synchronization tags by pressing a key in time with the start of each
line of the song.

If the synchronization tags are already there, the mode uses a
highlighting overlay to show the timing as the song plays, allowing
you to check the tags. There are also commands for nudging tags
slightly earlier or later.

There are a couple of "todo"s still in the code, but it generally
works OK (at least for me!)

__John

;;; lyric-mode.el --- Major mode for editing lyric (.lrc) files

;; Copyright (C) 2008 John Sturdy

;; Author: John Sturdy
;; Keywords: multimedia, hypermedia
Show full article (17.02Kb)
1 Comment
Re: lyric-mode.el         


Author: jcg.sturdy
Date: Aug 18, 2008 07:09

Whoops, google groups wrapped lines. Here's a version squidged to
make it unlikelier to provoke wraps:
;;; lyric-mode.el --- Major mode for editing lyric (.lrc) files

;; Copyright (C) 2008 John Sturdy

;; Author: John Sturdy
;; Keywords: multimedia, hypermedia

;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published
;; by the Free Software Foundation; either version 3, or (at your
;; option) any later version.

;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs; see the file COPYING. If not, write to the
;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
;; Boston, MA 02110-1301, USA.

;;; Commentary:
Show full article (16.47Kb)
no comments

RELATED THREADS
SubjectArticles qty Group
lyrics to jesses girl concrete girl lyrics switchfoot beatiful girl lyricsfr.misc.depannage ·