Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Page 1 of 6 1 2 3 4 5 6 >
Topic Options
#141340 - 09/02/2003 17:31 emphatic Lyrics Viewer v1.0 Released
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I am pleased to announce the release of emphatic v1.0, a lyrics viewer for your empeg. This program was based on elperepat's previous work, and I would like to again thank him for sharing his source with the community. I hope that I have improved on his work, and I hope you all enjoy the fruits of my labor.

Please read the README which is on my website and included in the archive for instructions on installation, etc. It should be straight-forward, providing you know how to use FTP and how to edit your config.ini to execute the program on startup.

I've also included a utility for tagging your MP3's with lyrics from LRC files. For Windows users, this is apparently the only game in town for adding lyrics in SYLT format. For *X users, I suggest using an XMMS plugin called SingIt which seems to write lyrics in ID3v2 SYLT format. Unix fans will take great amusement from the fact that they get a nice, pretty GUI to add lyrics in one step, while Windows users have to use a command-line utility, at least for the second step. I suggest that until someone writes a WinAMP plugin to do it, Windows users use one of the existing plugins which can write LRC format lyrics, and then use my utility to import those. Details are in the README file.

Anyway, head over to my empeg page at http://empeg.webhop.net/ and give it a whirl. Enjoy!
_________________________
- Tony C
my empeg stuff

Top
#141341 - 09/02/2003 19:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
elperepat
enthusiast

Registered: 11/01/2002
Posts: 211
Loc: Qc, Canada
BRAVO!!

Great success!! Works like a charm! Just got my first real id3v2 SYLT mp3 on my empeg (guess which? The Old Black Rum, of course ;-), and it's scrolling!

Vertical scrolling is also a great addition!

Menu is great too!


Wow.. a must have!

Now i just need pass through the code to understand how you did it !!


Thanks a lot for this!

Patrick
_________________________
Patrick

Top
#141342 - 09/02/2003 19:46 Re: emphatic Lyrics Viewer v1.0 Released [Re: elperepat]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Thanks, glad you like it!

Just as I was reading this post I already found the first post-release bug. When it's playing a song with no lyrics, the menu screen comes up blank. Oh well. I'll fix that soon, I suspect most people will just be trying this out for the next few days.
_________________________
- Tony C
my empeg stuff

Top
#141343 - 09/02/2003 20:19 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Hi Do you have any instructions for people(me) who dont know what this means:::::::?
" Installation:
Installation should be simple, there's only one file, a binary, which must be put somewhere on your empeg, and then executed when you want to run it.

The first part can be done via FTP. I have included a simple FTP install script which will do this for Windows users. You just need to edit the batch file "install-emphatic.bat" and change 192.168.0.1 to the IP address of your empeg, and edit the FTP install script "install-emphatic.ftp" changing the target directory (/usr/local/bin) to wherever you want the emphatic binary to live. Once that's done, run the batch file, and you should be all set.

After the binary is on your empeg, you can run it from a shell prompt, or add it to your Hijack menu by adding the following line to your config.ini:

;@EXEC /usr/local/bin/emphatic

Substituting /usr/local/bin with the path where you put your binary. That should be all you need."
I"d love to try this but I dont know what most of that means.How do i get this on my player please.
_________________________
MIKE 80Gb RIO

Top
#141344 - 09/02/2003 21:05 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Sorry about that, I guess I expected that the first few people who tried this out would be a little more experienced with program installations. This is the problem with having no easy install mechanism...

Okay. There are two files. One ends with .BAT and one ends with .FTP. The .BAT file has a line which says "cd /usr/local/bin" You need to have a directory somewhere on your empeg where you want this program to live. In my example, that place is /usr/local/bin, but there is no one place on the empeg where everyone's programs live, so I had to have users edit their own script.

The FTP file has an IP address in it, 192.168.0.1. Your empeg's IP address is probably different, so you need to open the FTP file in notepad and change that address to your IP empeg's address. Your IP address is in the "About" menu on the player, a few lines down.

Once you do these two steps, you just need to double-click the install-emphatic.bat file, and it *should* put the program on your player. The thing is, now that it's there, you need a mechanism to run it.

Recent version of the Hijack kernel (I'm assuming you have that installed) have a mechanism for launching programs. That mechanism is to add a line as I mentioned in the readme:

;@EXEC /usr/local/bin/emphatic

This tells Hijack to start up the program when your player starts up. I cannot write an install to automate this part.

Does this help? Or is it more technical jargon? Installing these apps is not an easy task, I tried to make it easy, but I guess I failed.
_________________________
- Tony C
my empeg stuff

Top
#141345 - 09/02/2003 21:26 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Hi No it doesnt help me much .That doesnt mean you didnt explain it good it just means i dont understand it.The unzipped folder has 2 files one named lyrics and one named lyrics.c but nothing with .ftp or.bat.Are these connected to the player via the serial cable?I do have Hijack installed so thats a plus!Well its getting late so ill work on this another time .thanks maybe in the meantime someone could translate this into an"Empatic Lyrics Viewer for Dummies" for me/us.
_________________________
MIKE 80Gb RIO

Top
#141346 - 09/02/2003 21:30 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Okay you're right, I'm stupid and forgot to include the batch files.

Fixing soon... Programmers can be "dummies" too!

Edit: v1.01 is up. Fixed the menu redraw bug and added the install stuff. Just goes to show you, don't run version X.0 of anything.


Edited by yn0t_ (09/02/2003 21:48)
_________________________
- Tony C
my empeg stuff

Top
#141347 - 09/02/2003 22:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Cool, looking forward to testing it out. Is there a unix command line program or maybe a perl module available that will add the SYLT tags? I am hoping there is something I can get to compile on OS X (and I assume the command line program you include is windows only). XMMS is a bit overkill if all you want to do is add a lyrics tag that somebody else created.

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141348 - 09/02/2003 22:23 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Bad assumption on the Windows-only part. I made lrc2sylt available for both Linux and Windows, and include the C source inside the distribution. I don't know enough about OS X to know whether it would compile, but my gut says it probably wouldn't.

There is a Perl module MP3::Tag I believe that might help you out, but because SYLT frames are binary data, it's not as simple as entering timestamps and lyrics.

Let me know how you fare in compiling my utility on OS X. Incidentally, I would caution you against using tags that someone else created though, a lot of the LRC files I've found on the net are pretty dodgy...
_________________________
- Tony C
my empeg stuff

Top
#141349 - 09/02/2003 22:31 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
<cartman>Schweeet</cartman>
Congrats on creating another program that's motivating me to bring my player up to date. It's serial port has been languishing ever since empacman came out. (Wait, thanks to Mark I don't even need a serial cable, do I? Maybe i'll download the new jemplode and feel really up to date.

Matthew

Top
#141350 - 09/02/2003 22:42 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I'm getting ready to try it now (excitement mounts!).

But it appears the lrc2sylt binary is only a Linux one, no .exe... guess I'll use it on Linux for now (don't have a Windows compiler installed).

[amigo@goofy temp]$ file lrc2sylt
lrc2sylt: ELF 32-bit LSB executable, Intel 80386, version 1, dynamically linked (uses shared libs), not stripped
_________________________
--The Amigo

Top
#141351 - 09/02/2003 22:50 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Um, download the "Windows support" ZIP file on my page. I distribute the Win32 utils as a separate file to reduce the size of the Linux archive... Was that a bad idea? : )
_________________________
- Tony C
my empeg stuff

Top
#141352 - 09/02/2003 22:50 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
But it appears the lrc2sylt binary is only a Linux one, no .exe...

The windows .exe version is a separate download from his site.
_________________________
Tony Fabris

Top
#141353 - 09/02/2003 22:51 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Jinx!
_________________________
Tony Fabris

Top
#141354 - 09/02/2003 22:51 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I tried running it on my Linux box, but I didn't have id3lib. I just downloaded it, but it doesn't compiile for me:

frame_impl.h:76: instantiated from here
In file included from frame.cpp:34:
../include/id3/id3lib_bitset:791: `__STL_THROW' undeclared (first use this function)
../include/id3/id3lib_bitset:791: (Each undeclared identifier is reported only once
../include/id3/id3lib_bitset:791: for each function it appears in.)
../include/id3/id3lib_bitset: In method `bool bitset<24,long unsigned int>::_Unchecked_test<24, long unsigned int>(unsigned int) const':
../include/id3/id3lib_bitset:793: instantiated from `bitset<24,long unsigned int>::test<24, long unsigned int>(unsigned int) const'

I guess I'll have to wait until tomorrow to try lyrics as I don't yet have any tagged songs. I'd run XMMS, but my Linux box is just a file server, no X libs.
_________________________
--The Amigo

Top
#141355 - 09/02/2003 22:54 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Eeep. Compiling ID3lib is yucky. If you want me to attach an ID3lib .so for x86 Linux I can do that.
_________________________
- Tony C
my empeg stuff

Top
#141356 - 09/02/2003 22:55 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Damn you, you're even stealing my thunder in my own thread! Get out of here!
_________________________
- Tony C
my empeg stuff

Top
#141357 - 09/02/2003 22:55 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
bertrandom
new poster

Registered: 13/01/2002
Posts: 22
For some reason I can't get this to work. I mean, it runs, but it doesn't display the lyrics, and I've tagged it with the windows program and reupdated it on my empeg. Can someone link to an mp3 that actually works with this program? Or try this one out : http://bertrand.servemp3.com/mp3/brown.mp3

Top
#141358 - 09/02/2003 22:57 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Maybe tomorrow I'll practice on my reading skills
_________________________
--The Amigo

Top
#141359 - 09/02/2003 23:00 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Checking it out now.. You're my first guinea pig for the Windows utility -- I built it and tested it with the id3info program, but never did actually send one of those MP3's over to my Empeg. Though if id3info says it's valid, I can't see why it wouldn't be valid...
_________________________
- Tony C
my empeg stuff

Top
#141360 - 09/02/2003 23:03 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Works for me...



You did select "emphatic" from the Hijack menu, didn't you? Sorry if you did, but it's my duty to ask...


Attachments
139748-brown.gif (414 downloads)



Edited by yn0t_ (09/02/2003 23:05)
_________________________
- Tony C
my empeg stuff

Top
#141361 - 09/02/2003 23:06 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Windows utility worked great for me, too!

My head has officially exploded, I'm now looking at "It's the End of the World as We Know It" scrolling by on my player. WOOOOOOOT!!!!

Now, I did do one particular thing which was: I made sure the file had a valid, good ID3V2 tag before running the Windows utility to merge the text file with the MP3.

Will the Windows utiliy add a V2 tag if one doesn't exist?
_________________________
Tony Fabris

Top
#141362 - 09/02/2003 23:09 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Bad assumption on the Windows-only part. I made lrc2sylt available for both Linux and Windows

Ahh, sweet. I should know better than to assume. Unfortunately I am getting link errors tryiing to link it against id3lib. I think I just need to figure out how to add the libraries id3lib installed to my linker path. Never had to do that for anything before. Gonna have to wait till tomorrow to do that unless someone has a quick tip. Don't you just need an environment variable name LD_LIBRARY or something like that?

-Mike
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141363 - 09/02/2003 23:10 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Will the Windows utiliy add a V2 tag if one doesn't exist?

Wow, I'm really not sure because none of my MP3's are without ID3v2 tags. The details of what it does to add that frame are kinda hidden behind id3lib API's. Would be interesting to find out, though...
_________________________
- Tony C
my empeg stuff

Top
#141364 - 09/02/2003 23:11 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Um, if you did id3lib installation then it should have put them in /usr/local/lib by default. It's LD_LIBRARY_PATH. Add /usr/local/lib to that and see if that helps you out.

Edit: I'm truly earning my forum rank tonight...


Edited by yn0t_ (09/02/2003 23:11)
_________________________
- Tony C
my empeg stuff

Top
#141365 - 09/02/2003 23:11 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
Tony, I have had tried multiple times to add SYLT format lyrics to multiple MP3's in WinXP.

I first tried with a LRC file from the internet. Nothing. I also tired by adding the lyrics into WinAmp Lyrics like you recommended, then clicking to add the time codes. Exported to LRC and again tried running lrc2sylt. Each file I tried I got the same results, the empty menu which you have discovered. Using my tag editor (Dr. Tag) in the other tab, it shows that there is SYLT added to the tag, however I cannot see what it contains. So I believe the SYLT lyrics are being added to the MP3's, but after uploading them to my empeg, and playing them with emphatic running, they are not showing up. Any ideas?
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#141366 - 09/02/2003 23:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
First, I fixed the empty menu thing in v1.01. But if you're getting that in 1.0, then it doesn't like your MP3 or the tags for some reason. Can you send me a short example MP3? my email addy is in my sig.
_________________________
- Tony C
my empeg stuff

Top
#141367 - 09/02/2003 23:34 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
mcomb
pooh-bah

Registered: 31/08/1999
Posts: 1649
Loc: San Carlos, CA
Um, if you did id3lib installation then it should have put them in /usr/local/lib by default. It's LD_LIBRARY_PATH. Add /usr/local/lib to that and see if that helps you out.

Huh, I tried that (and DYLD_LIBRARY_PATH which I think may be needed for OS X) and it didn't seem to make any difference. I definitely have id3lib installed in that location (I just compiled and installed it) but I am still getting the error below. Anything else I could be missing?

gcc lrc2sylt.c
ld: Undefined symbols:
_ID3Field_SetASCII
_ID3Field_SetBINARY
_ID3Field_SetINT
_ID3Field_Size
_ID3Frame_GetField
_ID3Frame_NewID
_ID3Tag_AddFrame
_ID3Tag_FindFrameWithID
_ID3Tag_Link
_ID3Tag_New
_ID3Tag_RemoveFrame
_ID3Tag_Update
_________________________
EmpMenuX - ext3 filesystem - Empeg iTunes integration

Top
#141368 - 09/02/2003 23:37 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
gcc -lid3 -lz lrc2sylt.c

You need -lid3 and -lz. ID3lib has a dependency on ZLib (libz.so) if you don't already have that...
_________________________
- Tony C
my empeg stuff

Top
#141369 - 09/02/2003 23:41 Re: emphatic Lyrics Viewer v1.0 Released [Re: mcomb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hmm I guess I misspoke about XMMS. The XMMS plugin READS SYLT tags, but doesn't WRITE them.

Looks like my utilities are the only game in town.. for now... (*hint* *hint* to any budding WinAMP plugin developers out there...)
_________________________
- Tony C
my empeg stuff

Top
#141370 - 09/02/2003 23:43 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
Really quick, I downloaded bertrandom's Brown Eyed Girl, and couldn't get that to show up. So there is something some of us are doing wrong.

Emphatic does show up on the hijack menu, I did chmod 755 the binary. In fact it still says ver 1.00 in 1.01...

So I have it running. I installed it in /drive0/var/emphatic.
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#141371 - 09/02/2003 23:46 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Well it did say 1.00 in 1.01 for about 3 minutes, which must have been the 3 minutes you downloaded 1.01 during..

I don't know what you could be doing wrong... Not passing any arguments in are you? You get the menu to pop up, right? Have you tried to switch fonts or display modes?


Edit: No, I'm an idiot, it still says 1.00. Fixing... Fixed.


Edited by yn0t_ (09/02/2003 23:52)
_________________________
- Tony C
my empeg stuff

Top
#141372 - 09/02/2003 23:52 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
I put the emphatic file in /usr and I added the line ;@EXEC /usr/emphatic to the end of my config.ini show emphatic show up in the hijack menu or do I need to do something else.

And thanks to both of you guys for making this.
_________________________

Matt

Top
#141373 - 09/02/2003 23:53 Re: emphatic Lyrics Viewer v1.0 Released [Re: msaeger]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Once you reboot I think that should work. If not, take a look at your serial console output and look for any error messages...

If you didn't use my script, then you also need to make the file executable with:


chmod 755 /usr/emphatic

from a shell prompt
_________________________
- Tony C
my empeg stuff

Top
#141374 - 10/02/2003 00:01 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
I'm not passing any arguments in my call in the config.ini. I have tried it both with and without the ;@DC before ;@EXEC /drive0/var/emphatic/emphatic. I get the menu to pop up now with v1.01, It shows me switching fonts, and display modes. But no text. Hijack v309 installed. Anything else special I should have installed?
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#141375 - 10/02/2003 00:02 Re: emphatic Lyrics Viewer v1.0 Released [Re: msaeger]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I added the line ;@EXEC /usr/emphatic to the end of my config.ini

Point of precision: It needs to specifically be in the [hijack] section of config.ini, not at the end of the config.ini (unless the hijack section happens to be at the end of your config.ini).
_________________________
Tony Fabris

Top
#141376 - 10/02/2003 00:03 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Nah, that should work... Argh. Are you able to run the program from a shell prompt so I can see any kind of error messages that come out on the console?

Edit: Just thought of something. emphatic depends on /proc/empeg_notify being available. Can you check your config.ini to see if the following is in it:

[output]
notify=1



Edited by yn0t_ (10/02/2003 00:05)
_________________________
- Tony C
my empeg stuff

Top
#141377 - 10/02/2003 00:04 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Anything else special I should have installed?

You did replace the tune on the player with the lyric-tagged version, right? And you don't have more than one copy of the same tune on the player (one lyric-tagged and one not)?

And doesn't notify=1 have to be on in order for this to work?
_________________________
Tony Fabris

Top
#141378 - 10/02/2003 00:04 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
I couldn't get the script to work so I just uploaded the file. I tried setting the permissions to 755 but it still doesn't show up.


here's the log I don't see anything that sounds like it would be related to this but I am an expert by no means.


empeg-car bootstrap v1.02 20001106 ([email protected])
If there is anyone present who wants to upgrade the flash, let them speak now,
or forever hold their peace...it seems not. Let fly the Penguins of Linux!

e000 v1.04
Copying kernel...
Calling linux kernel...
Uncompressing Linux..................................... done, booting the kerne
l.
Linux version 2.2.17-rmk5-np17-empeg52-hijack-v312 (root@ibbm) (gcc version 2.95
.3 20010315 (release)) #2 Tue Feb 4 20:03:25 EST 2003
Processor: Intel StrongARM-1100 revisi
NetWinder Floating Point Emulator V0.94.1 (c) 1998 Corel Computer Corp.
empeg-car player (hardware revision 9, serial number 10101230)
Command line: mem=16m
Calibrating delay loop... 207.67 BogoMIPS
Memory: 14996k/16M available (992k code, 20k reserved, 372k data, 4k init)
Dentry hash table entries: 2048 (order 2, 16k)
Buffer cache hash table entries: 16384 (order 4, 64k)
Page cache hash table entries: 4096 (order 2, 16k)
POSIX conformance testing by UNIFIX
Linux NET4.0 for Linux 2.2
Based upon Swansea Universit
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
TCP: Hash tables configured (ehash 16384 bhash 16384)
IrDA (tm) Protocols for Linux-2.2 (Dag Brattli)
IrCOMM protocol (Dag Brattli)
Starting kswapd v 1.5
SA1100 serial driver version 4.27 with no serial options enabled
ttyS00 at 0xf8010000 (irq = 15) is a SA1100 UART
ttyS01 at 0xf8050000 (irq = 17) is a SA1100 UART
ttyS02 at 0xf8030000 (irq = 16) is a SA1100 UART
Signature is 20706d65 'emp '
Found custom animation at offset 0x99b78
empeg display initi
empeg dsp audio initialised
empeg dsp mixer initialised
empeg dsp initialised
empeg audio-in initialised, CS4231A revision a0
empeg remote control/panel button initialised.
empeg usb initialised, PDIUSBD12 id 1012
empeg state support initialised 0089/88c1 (save to d0005180).
empeg RDS driver initialised
empeg power-pic driver initialised (first boot)
RAM disk driver initialized: 16 RAM disks of 4096K size
empeg single channel IDE
Probing primary interface...
hda: IBM-DJSA-220, ATA DISK drive
ide0 at 0x000-0x007,0
hda: IBM-DJSA-220, 19077MB w/1874kB Cache, CHS=38760/16/63
empeg-flash driver initialized
smc chip id/revision 0x3349
smc9194.c:v0.12 03/06/96 by Erik Stahlman ([email protected])

SMC9194: SMC91C94(r:9) at 0x4008000 IRQ:7 INTF:TP MEM:6144b MAC 00:02:d7:22:04:c
e
Partition check:
hda: hda1 < hda5 hda6 > hda2 hda3 hda4
RAMDISK: ext2 filesystem found at block 0
RAMDISK: Loading 320 blocks [1 disk] into ram disk... done.
VFS: Mounted root (ext2 filesystem).
empeg-pump v0.03 (19980601)
Press Ctrl-A to enter pump...hange_root: old root has d_count=1
Trying to unmount old root ... okay
Freeing unused kernel memory: 4k initempeg init 0.8
I see this is a developer image!
Mounting proc
Mounting first music partition
Tried to mount /dev/hda4 as reiserfs but got error 19
Mounting second music partition
Tried to mount /dev/hdc4 but got error 6
Error mounting partitions (possibly already mounted)
Remounting first music partition read-only
Remounting second music partition read-only
No secondary hard disk
Press 'q' now to go into development mode. You Have Zero Seconds To CompìStartin
g player

khttpd: listening on port 80
kftpd: listening on port 21
player.cpp : 385:empeg-car 2.00-beta13 2002/07/24.
Prolux 4 empeg car - 2.1434 Jul 24 2002
Vcb: 0x4086d000
_________________________

Matt

Top
#141379 - 10/02/2003 00:07 Re: emphatic Lyrics Viewer v1.0 Released [Re: msaeger]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
emphatic prints a bunch of stuff on startup so I don't think it's being executed. Check the post by "Evil Tony" above.. Make sure the @EXEC line is in the [hijack] section of config.ini. Also, your Hijack kernel needs to be recent, the ;@EXEC stuff is new.

This stuff is all great material for an emphatic FAQ.


Edited by yn0t_ (10/02/2003 00:08)
_________________________
- Tony C
my empeg stuff

Top
#141380 - 10/02/2003 00:08 Re: emphatic Lyrics Viewer v1.0 Released [Re: msaeger]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
did you rw before you chmod and ro after?

Top
#141381 - 10/02/2003 00:10 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
msaeger
carpal tunnel

Registered: 23/09/2000
Posts: 3608
Loc: Minnetonka, MN
That was it. I didn't know there was a hijack section oops.

Thanks

Now I need to figure out how to add the lyrics.
_________________________

Matt

Top
#141382 - 10/02/2003 00:13 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
Waterman981
old hand

Registered: 14/02/2002
Posts: 804
Loc: Salt Lake City, UT
Yup that was it... I didn't have the notify=1 in my config.ini. Works great now! Good work!
_________________________
-Michael

#040103696 on a shelf
Mk2a - 90 GB - Red - Illuminated buttons

Top
#141383 - 10/02/2003 00:15 Re: emphatic Lyrics Viewer v1.0 Released [Re: Waterman981]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Cool, I bet that's the problem with bertrandom too. I'll have to include this stuff in the README. Thanks for your patience in debugging my documentation, guys.

Sleepy time for me tonight... Hope everyone has better luck installing now that these common problems have been identified.
_________________________
- Tony C
my empeg stuff

Top
#141384 - 10/02/2003 00:56 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
as im too lazy to repost, see here (url should work), yn0t_

Top
#141385 - 10/02/2003 00:59 Re: emphatic Lyrics Viewer v1.0 Released [Re: RobotCaleb]
bertrandom
new poster

Registered: 13/01/2002
Posts: 22
Wow.. talk about support. Yup, it was the notify=1 for me, awesome program. Now I've just got to sit here and tag lyrics all day, we really need to get that lyrics database up and running. By the way, is there any way to get rid of the | character before the lyrics in that sample mp3 I linked to when viewing it in vertical mode?

Top
#141386 - 10/02/2003 05:27 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
COOL!, im still working on the lyrics site, so dont toss your lyrics keep them so we can get them posted. I would expect it to be almost done in a week or so, ive been kinda busy with real job.
_________________________
---- Justin Larsen

Top
#141387 - 10/02/2003 07:07 Re: emphatic Lyrics Viewer v1.0 Released [Re: bertrandom]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hmm.. the | character is actually a feature. I wanted to be able to tell when two or more lines on the screen were part of a single line of lyrics. So when that happens, there's a solid bar connecting them. I can add an option to turn that off for the next release.
_________________________
- Tony C
my empeg stuff

Top
#141388 - 10/02/2003 07:08 Re: emphatic Lyrics Viewer v1.0 Released [Re: RobotCaleb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Actually that URL isn't working for me...

But I think I figured out what post you were trying to link to... You're not seeing lyrics? Can you make sure that

[output]
notify=1

is in your config.ini? I neglected to mention that.


Edited by yn0t_ (10/02/2003 08:29)
_________________________
- Tony C
my empeg stuff

Top
#141389 - 10/02/2003 08:39 Re: emphatic Lyrics Viewer v1.0 Released [Re: justinlarsen]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Glad to hear you're still on top of the lyrics site thing. If possible, make sure there's a mechanism to update or suggest corrections to existing lyrics. Also, in the database, make sure there's a field for "version" or "remix" or something so that a song with a given artist and title can have multiple versions, since there are extended mixes, etc. The lyrics might be the same, but the time tags would be different.

Until that's up, we can all build up our own personal library of tags... But creating them would be a lot easier with a nice WinAMP plugin. Anyone have experience writing one of those?
_________________________
- Tony C
my empeg stuff

Top
#141390 - 10/02/2003 09:53 Gauging Interest -- Custom Info Modes? [Re: elperepat]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Because emphatic seems to run well in the background, even when there are no lyrics, I got to thinking that it might be neat to make it more than just a lyrics scroller. I have access to everything in /proc/empeg_notify, which includes the artist, title, genre, track number, etc. Furthermore, since I'm already reading from the ID3v2 tag, I could probably pull out the contents of *ANY* ID3v2 field you have in your MP3's, regardless of whether the player supports it.

I could then theoretically display these in some kind of configurable format, in kind of a special info mode. One of the sections of this could be the lyrics in a horizontal scroll area, but others could be the artist, title, track time, etc. This would almost be like a "skin" which would replace the Track Info screen.

Would anyone find this useful? Is anyone using non-standard ID3v2 fields and would want to view them? This kind of feature would take some time, and I'm not promising anything, but it's something I think might be kinda cool. I've seen posts in the past requesting user-definable fields on the Track Info screen, this might be the next best thing.

Thoughts?
_________________________
- Tony C
my empeg stuff

Top
#141391 - 10/02/2003 09:54 Re: emphatic Lyrics Viewer v1.0 Released [Re: justinlarsen]
ricin
veteran

Registered: 19/06/2000
Posts: 1495
Loc: US: CA
Hmm... I was just about to register lrcdb.com (maybe a few others as well) and get started on coding a site. Since you're already working on a site, I'll be happy to still register the domain and host it, and help out with any coding as well.
_________________________
Donato
MkII/080000565
MkIIa/010101253
ricin.us

Top
#141392 - 10/02/2003 10:01 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
BryanR
member

Registered: 29/08/2000
Posts: 153
Loc: Berkshire, UK
What a great idea!

I've got quite a few tracks with stuff in the comments field, just for completeness rather than for any particular use, but it would be cool if we could display this information.

Bryan.
_________________________
Bryan.

Top
#141393 - 10/02/2003 10:26 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
753
member

Registered: 25/10/1999
Posts: 149
I've always wanted direct access to the id3v2 comments field tag to work around the 255 character limitation when that tag is importeted into the database. There was a thread about it some time ago. I store AMG review in the comment tag which can be quite long, so scrolling vertically through the file by rotating the knob (AboutBox like) would do the trick for me.

Great job you've done on the lyrics viewer btw. Simply awesome.
I think I might have found a bug: Going into standby (key sense) and back, while emphatic is active seems to confuse it a bit. Lyric scrolling is stopped, and the knob is bound to Popup0 again. The attempt to access the hijack menu results in the lyrics showing up, altough the menu seems to be active in the background allowing me to start breakout with a lyric-postered background. Quite cool, actually. Could be a feature.
_________________________
_______ Thomas

Top
#141394 - 10/02/2003 10:47 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
....uh-oh, you asked for it...

Can you check for embedded cover-art, and then convert that to a 4bpp format and pass it to empan?
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141395 - 10/02/2003 10:48 Re: Gauging Interest -- Custom Info Modes? [Re: 753]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I think I might have found a bug: Going into standby (key sense) and back, while emphatic is active seems to confuse it a bit.
...
Quite cool, actually. Could be a feature.


Yeah, that's a feature of Hijack, nothing I can do about that. When mlord is freed up from making docking stations, I have a batch of Hijack improvements I would like to put into his queue, including fixing that particular problem, if possible (it may be a limitation we can't work around, who knows.) There are others that would make emphatic a little more elegant when running in the background, including the ability for user apps to bring up the PopUp0 menu on behalf of the user, and the ability for them to run completely in the background, perhaps updating a section of the display from the background.

For right now, the obvious workaround is to not go into standby, or if you do, first select "close" from the emphatic menu. Then you can go into standby and select it from the Hijack menu when you want it back

Interesting idea with scrolling long comment fields. I currently pass the knob left/right to the player so you can change volume, but I suppose I could let you select a menu option to scroll a particular field... Might take a little more work though.
_________________________
- Tony C
my empeg stuff

Top
#141396 - 10/02/2003 10:52 Re: Gauging Interest -- Custom Info Modes? [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I did think about doing covert art. Wouldn't be too hard. I wouldn't use empan because empan uses the old GD library. I'd just pan the bitmap around myself inside emphatic using vfdlib. There's an example of this built into emphatic, but it's a bit of an easter egg (not hard to find if you read the source code.)
_________________________
- Tony C
my empeg stuff

Top
#141397 - 10/02/2003 10:56 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
heh, yeah but to really understand the joke you gotta read the post under the one you found. meh, its a dumb joke anyway.

Top
#141398 - 10/02/2003 10:56 Re: emphatic Lyrics Viewer v1.0 Released [Re: RobotCaleb]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Oh, the part about your VFD being broken... Sorry 'bout that. Maybe in a future version of emphatic I'll add support for broken VFD's.
_________________________
- Tony C
my empeg stuff

Top
#141399 - 10/02/2003 10:59 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
RobotCaleb
pooh-bah

Registered: 15/01/2002
Posts: 1866
Loc: Austin
heh, yeah. code in a universal fix, so even when im not viewing lyrics it affects it.

thanks

Top
#141400 - 10/02/2003 11:05 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
753
member

Registered: 25/10/1999
Posts: 149
If hijack supports it someday, taking control of the Knob when entering the Scroll mode, and giving it back on exit would be cool. In the meantime you could just let it scroll at a fixed rate or steal the remote's volume buttons.
_________________________
_______ Thomas

Top
#141401 - 10/02/2003 11:15 Re: Gauging Interest -- Custom Info Modes? [Re: 753]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
If hijack supports it someday, taking control of the Knob when entering the Scroll mode, and giving it back on exit would be cool.

I think I can do that, no Hijack improvements necessary. I'm already binding the knob press, knob left, and knob right buttons, and also the front-panel left and right buttons (so I can detect rewinds/fast-forwards.) When I want them to go to the player, I just use the INJECTBUTTONS call and the player acts just as if the user had pressed the buttons with the player active. Quite handy.

So, I'd have to tweak the menu a little, but I could have a menu option to do scrolling, and when that's selected, the left/right buttons would scroll a particular field. Then you'd have to go back and switch out of that mode somehow. Or, yes, I could have other remote buttons do it, but I'm not sure how useful that is unless I then allow user-definiable buttons, which opens up another can of worms...

Really, I think automatic scrolling might be a better solution, at least in the first incarnation. I see the interface for scrolling fields getting ugly, especially if one wants to be able to scroll two different fields.

BTW all of this stuff takes a back seat to getting the program's primary purpose (lyrics scrolling) perfected.
_________________________
- Tony C
my empeg stuff

Top
#141402 - 10/02/2003 11:23 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
utna
new poster

Registered: 21/08/2002
Posts: 28
Loc: LA, CA
Awesomeness.
_________________________
riocar Mk2A 030102357 - 60 Gb

Top
#141403 - 10/02/2003 11:24 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Pull out RVA2 tags and use them to adjust volume?

Top
#141404 - 10/02/2003 11:33 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Nice idea! In my opinion, per-song volume adjustment is better than dynamic compression because it preserves the volumes within each song. But a few obstacles come to mind:

1) Getting the info into the tag. Do commonly used rippers/taggers add this info? If not, could I forego the ID3v2 thing altogether and maybe leverage the data Toby uses in the Info:Seek tool somehow? Maybe that's a better approach since it's automatically done by the player anyway? We'd just need to know how to glean the peak volume from his data, if that's possible.

2) Setting the volume. I can send VolUp and VolDown IR codes, but that's yucky. There might be an ioctl() somewhere for me to set it, but I'd have to set it as a percentage of the current volume, or relative to some baseline volume or something... Maybe re-use something that was provided with the volume boost stuff? Not sure if there were userland hooks to that stuff or not.

Otherwise, this might be doable!
_________________________
- Tony C
my empeg stuff

Top
#141405 - 10/02/2003 11:52 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Getting the info into the tag. Do commonly used rippers/taggers add this info?

The normalize package will calculate them afterward and add them to tracks. I have no idea if an equivalent exists for Windows.

Of course, this isn't "really" what we want either. Really, we want an ioctl to tweak voladj, and to do true dynamic range compression (or expansion as needed) based on the true intent of the RVA2 tag.

Top
#141406 - 10/02/2003 11:58 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Of course, this isn't "really" what we want either. Really, we want an ioctl to tweak voladj, and to do true dynamic range compression (or expansion as needed) based on the true intent of the RVA2 tag.

Okay. either I'm misled on my definition of "dynamic range compression," I'm not understanding the RVA2 tag's purpose in life, or both.

My definition of "dynamic range compression" is that the amount of volume boost/cut changes as the music changes. This is what voladj does.

The other approach is finding the peak of a given track and normalizing to that peak. Thus, two tracks which each peak at different decibel levels could be normalized such that their peak volumes (not their average volumes) match.

The ID3v2 reference states that RVA2 frames contain nothing but a channel number (front left, front right, etc.) and a 16-bit number which specifies how much to boost/cut the volume. It mentions "identification strings" which I guess could be hacked to represent certain points in the song, but that's kind confusing, and the spec doesn't really tell you how to use them. I'd be interested to see how this normalize package writes these frames, and how it magically decides where to boost/lower volume. Could you enlighten me what you're going after here?

Edit: Okay, Google led me to the Normalize web page, and the readme:
Version 0.7 and up can operate directly on MPEG audio files. An mp3 file is decoded (using Robert Leslie's MAD library) and analyzed on the fly, without the need for large temporary WAV files. The mp3 file is then "adjusted" by setting its relative volume adjustment information (technically, an "RVA2" frame is set in its ID3v2 tag). The advantage of this method is that the audio data doesn't need to be touched, and you don't incur the cost of re-encoding. The disadvantage is that your mp3 player needs to read and use relative volume adjustment ID3 frames. The normalize distribution now includes a plugin for xmms that honors volume adjustment frames. If you use an mp3 player other than xmms, you'll have to bug the author to support RVA2 frames in ID3 tags.

I see nothing about dynamic compression in there, really, it seems like raising/lowering the volume per-song... Not really Voladj-like, but more of a fixed +/- factor per song.. or am I reading that wrong?


Edited by yn0t_ (10/02/2003 12:02)
_________________________
- Tony C
my empeg stuff

Top
#141407 - 10/02/2003 12:42 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
I see nothing about dynamic compression in there, really, it seems like raising/lowering the volume per-song... Not really Voladj-like, but more of a fixed +/- factor per song.. or am I reading that wrong?

Unless the tag somehow contains moment-to-moment volume data for the song (instead of a single field representing a single relative volume number), then your assesment is correct. It's a single volume adjustment, not dynamic compression.

However, some would argue that this is better than dynamic compression.

The two things solve two different (but similar) problems. I'd like to see both implemented, and choose between the two.

My only problem with doing relative volume adjustment on the empeg is that if a song gets played at much more than +5db beyond where I've set the volume control, I'll start to clip it because of where my amp gains are set. Dunno how the relative volume offset handles that, does it always attenuate or sometimes boost?
_________________________
Tony Fabris

Top
#141408 - 10/02/2003 12:47 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411


2) Setting the volume. I can send VolUp and VolDown IR codes, but that's yucky. There might be an ioctl() somewhere for me to set it, but I'd have to set it as a percentage of the current volume, or relative to some baseline volume or something... Maybe re-use something that was provided with the volume boost stuff? Not sure if there were userland hooks to that stuff or not.


arch/arm/special/empeg_mixer.c contains the volume ioctls (both read and write) that the player uses. If you use these, then the volume_boost code will continue to work transparently in the kernel.

The big question is really whether you try to attempt absolute or relative volumes...
Absolute values can be found by looking at volume_entry volume_table[101] in empeg_mixer.c. Notice that 0dB corresponds to the 90th row. But I can't see how to make absolute values work - people would want to change their volumes anyway.

Relative values would suffer from the same issue that the volboost code suffers from - the volume steps aren't a consistent size across the whole volume range. In practice I think that this gives acceptable results though since most people will use their empegs in the linear region.

You will obviously need to do something similar to the volboost code and keep tabs on what adjustment you are making at any time, and removing the current adjustment before re-reading the volume (in case the user changed it mid-song) and applying the new one. This keeping tabs is made harder by the fact that any adjustment you make has to be kept within the hard limits of 0 <= adj <= 100. You'll have to detect when this happens and calculate what adjustment you *really* make in order to be able to undo it;

Assuming that you'd call this after reading the ID3 tags for a new track...sorry about the lazy syntax;


int current_adjust =0; // initialised globally

volume_change() {
// remove previous adjustment first.
vol = read_vol();
vol = vol - current_adjust; //current_adjust = 0 first time.
write_vol(vol);

if (ID3_vol_tag) {
vol = vol + ID3_vol_tag;
if (vol > 100) {
// Hit limit - have to calculate real adjusment.
current_adjust = vol - 100;
vol = 100;
}
else
if (vol < 0) {
// hit the other limit...
current_adjust = ( 0 - ( vol - ID3_vol_tag));
vol = 0;
}
else {
current_adjust = ID3_vol_tag; }

write_vol(vol);
}


The other thing you want to consider is whether to cap at 90 (0dB) or not. You could read the users current cap setting in config.ini.
On the one hand, capping at 90 will still leave headroom for the volboost code, although this isn't really a factor since most people don't boost in mp3 playback (although they *could* if they really wanted!). On the other hand, if people are listening at a loud level then the ID3 based tag could run out of headroom. I suspect that the best thing to do is to cap at 100.




_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141409 - 10/02/2003 12:57 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
The other approach is finding the peak of a given track and normalizing to that peak. Thus, two tracks which each peak at different decibel levels could be normalized such that their peak volumes (not their average volumes) match. [/i[

Which is crappy IMO, and has been beaten to death here before.

I see nothing about dynamic compression in there, really, it seems like raising/lowering the volume per-song... Not really Voladj-like, but more of a fixed +/- factor per song.. or am I reading that wrong?

Perhaps I am wrong. I can tell you that:
1) the normalize package is misnamed; It does dynamic range compression by default as of several versions ago.
2) my recollection (and here's where we may be losing) is that the normalize plugin for xmms provided which does rva2 does range compression and not peak matching.


Top
#141410 - 10/02/2003 13:02 Re: Gauging Interest -- Custom Info Modes? [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
You will obviously need to do something similar to the volboost code and keep tabs on what adjustment you are making at any time, and removing the current adjustment before re-reading the volume (in case the user changed it mid-song) and applying the new one. This keeping tabs is made harder by the fact that any adjustment you make has to be kept within the hard limits of 0 <= adj <= 100. You'll have to detect when this happens and calculate what adjustment you *really* make in order to be able to undo it;

Hmm... The strategy sounds like it would work. I may play around with this some in the coming days and weeks.
_________________________
- Tony C
my empeg stuff

Top
#141411 - 10/02/2003 13:02 Re: Gauging Interest -- Custom Info Modes? [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Unless the tag somehow contains moment-to-moment volume data for the song (instead of a single field representing a single relative volume number), then your assesment is correct. It's a single volume adjustment, not dynamic compression.

It doesn't need to. You only need to know:
1) the volume of what you're playing now. A volume adjuster inline in the kernel already does (e.g. voladj).
2) the maximum and minimum present in the track, e.g. the current range
3) the target range (at which point you can calculate an adjustment factor)

The range compression can be dynamic: you need only to plug the necessary factor into whatever equation you're running on the gain in the real time play path, and update said value on a song switch.

Top
#141412 - 10/02/2003 13:04 Re: Gauging Interest -- Custom Info Modes? [Re: tfabris]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411

My only problem with doing relative volume adjustment on the empeg is that if a song gets played at much more than +5db beyond where I've set the volume control, I'll start to clip it because of where my amp gains are set. Dunno how the relative volume offset handles that, does it always attenuate or sometimes boost?


Shouldn't be a problem - if the track needs +5dB to change it's level to that of the rest of your collection, then it shouldn't clip unless the rest of your collection clips.... Of course, if it were tagged as needing +5dB when it didn't, that's another matter!

Hopefully this code and the voladj code would work well *together*, with no need to choose between one and the other. This code would in effect normalise between differing tracks, while voladj would compress the dynamic range raising softer passages within a track.

The real question is whether voladj achieves it's compression without affecting the overall level of the track - ie by attenuating loud passages as well as raising softer passages. If if does, then the 2 methods should coexist perfectly.

If voldadj only raises softer passages, then in effect it would be raising the overall level of a track - and this would mean that in a normalised collection, tracks with the widest dynamic range would appear loudest.

Whichever way, I'm confident that the 2 can be tweaked to get the best of both. Maybe by tweaking the voladj parameters a bit, and maybe by manually lowering (in the tag) tracks that then end up too loud.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141413 - 10/02/2003 13:06 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hmm. Well I don't see myself bothering to do this unless there's some more understanding of how the adjustments are to be used. I don't really like dynamic compression because passages in a song that were meant to be quiet end up being raised up. If this were some kind of factor which just specified a fixed adjustment per song ("this song is X decibels too quiet on average, this other song is X decibels too loud on average") then I might be more inclined to try it out. I don't really want my program raising and lowering the volume hundreds of times per song.
_________________________
- Tony C
my empeg stuff

Top
#141414 - 10/02/2003 13:06 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
2) the maximum and minimum present in the track, e.g. the current range

And I will repeat the thing I've already repeated until I was blue in the face:

The vast majority of tracks in your collection will have the same minimums and maximums (0% and nearly-100%) even though they sound like they're at different volumes.
_________________________
Tony Fabris

Top
#141415 - 10/02/2003 13:08 Re: Gauging Interest -- Custom Info Modes? [Re: tfabris]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
The vast majority of tracks in your collection will have the same minimums and maximums (0% and nearly-100%) even though they sound like they're at different volumes.

Yeah. So if the ripper/tagger could pick out the *average* volume (RMS?) and provide a single adjustment per song so that the *averages* are constant, that might be more along the lines of what I would want...
_________________________
- Tony C
my empeg stuff

Top
#141416 - 10/02/2003 13:14 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Your program wouldn't be in the kernel itself, it would poke one value into the kernel, and let the kernel do the volume adjustment, like voladj does now, but essentially providing the upper and lower bound instead of the limited lookahead of the current voladj.

On the other hand a reread of http://www.unixgods.org/~tilo/ID3/docs/id3v2.4.0-frames.html#RVA2 suggests I'm wrong anyway.

Top
#141417 - 10/02/2003 13:20 Re: Gauging Interest -- Custom Info Modes? [Re: tfabris]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
You need an avatar where you're blue in the face.

I mis-summarized, you need also a mean volume precomputed. Your point stands on the data I just posted, but doing dynamic range compression by simply having a small number of precomputed values is possible. You just need different data than what I shared.

Top
#141418 - 10/02/2003 13:26 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Rereading suggests if you just pull the RVA2 tag data out and do a fixed adjust once per track based on it, it will do what you want assuming you place the RVA2 tags with (the) normalize (package).

Never mind all the complicated stuff I suggested. I was wrong.

Top
#141419 - 10/02/2003 13:32 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Not sure what gave you the idea that I wanted to do anything extra in the kernel. We'd just need kernel calls to set the volume, and per genixia's volboost stuff, we've apparently got that.
_________________________
- Tony C
my empeg stuff

Top
#141420 - 10/02/2003 13:33 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Rereading suggests if you just pull the RVA2 tag data out and do a fixed adjust once per track based on it, it will do what you want assuming you place the RVA2 tags with (the) normalize (package).

In that case, I will probably investigate this soon. I've been meaning to do a re-rip and encode session anyway... Might as well look into this first.
_________________________
- Tony C
my empeg stuff

Top
#141421 - 10/02/2003 13:53 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411

and per genixia's volboost stuff, we've apparently got that.


I wish I could claim all the credit...but the ioctls already exist in the stock kernel, I just hacked them around a little.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141422 - 10/02/2003 13:59 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
You suggested an ioctl. Nothing said *you* needed to be the one to write whatever was on the other end of it.

Top
#141423 - 10/02/2003 14:14 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
loren
carpal tunnel

Registered: 23/08/2000
Posts: 3826
Loc: SLC, UT, USA
for dbrashear:




Attachments
139930-blue_tony.jpg (223 downloads)

_________________________
|| loren ||

Top
#141424 - 10/02/2003 14:15 Re: Gauging Interest -- Custom Info Modes? [Re: loren]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
Now we just need to get him to use it for his posts....

Top
#141425 - 10/02/2003 14:30 Re: Gauging Interest -- Custom Info Modes? [Re: loren]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
Heh, I look like Violet Beauregard. Feel like it, too, I've been over-eating this last weekend. Ick...

I've got to put up a new avatar sometime soon, I need a better pic of me. That one's a few years and about 30 pounds ago.
_________________________
Tony Fabris

Top
#141426 - 10/02/2003 14:43 Re: Gauging Interest -- Custom Info Modes? [Re: tonyc]
bertrandom
new poster

Registered: 13/01/2002
Posts: 22
I think a pan of cover art would be awesome, I've had that idea for a while now but didn't want to code it.

Top
#141427 - 10/02/2003 15:25 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
revlmwest
addict

Registered: 05/06/2002
Posts: 497
Loc: Hartsville, South Carolina for...
In reply to:

You need an avatar where you're blue in the face.



ROFL... I've often thought you needed an animated avatar of you turning red for FAQ posts.
_________________________
Michael West

Top
#141428 - 10/02/2003 16:23 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
Hi Tony,
Wow, this is excellent! Works great, had to enable notify=1 in my config. Now a few things i've ran into while using emphatic.

I have rows set to 17, and when i turn on the large font, the top of my screen gets scrambled up.

If you don't set the end time of the track, the program will instantly hide itself right after the last time stamp, hiding that lyric line.

And i guess the last thing would be, what do we have to get the empeg guys to get this into 2.0? It would be really neat to add the lyrics right in the song properties in emplode! It would remove alot of steps that are needed to get the lyrics perfect
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141429 - 10/02/2003 16:41 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
revlmwest
addict

Registered: 05/06/2002
Posts: 497
Loc: Hartsville, South Carolina for...
Adding this feature to Emplode would be awesome. Especially for those of us that are a little over our heads technically. NOTHING is worse than knowing just enough to realize something is really cool but having no clue how to implement it.
_________________________
Michael West

Top
#141430 - 10/02/2003 16:41 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I have rows set to 17, and when i turn on the large font, the top of my screen gets scrambled up.

Checking....

Ah ha. Interesting... I am setting the Hijack screen geometry based on what font you've chosen, and at line 17, the large font extends past the bottom... Hijack complains about the geometry being too big, so the call fails, and the results on the screen are, well, unpredictable.

Temporary workaround if you REALLY want it on line 17 and REALLY want the large font is to start emphatic up with the following options:

emphatic -r 17 -f 2

This starts it off with the large font, which avoids me having to recalculate the screen geometry. I will add a check of the geometry for the next release, but this should get you by.

And i guess the last thing would be, what do we have to get the empeg guys to get this into 2.0? It would be really neat to add the lyrics right in the song properties in emplode! It would remove alot of steps that are needed to get the lyrics perfect

You're kidding, right? It'd take several kegs of beer, a crowbar, and a lifetime carte blanche at The Wrestlers. There's no way they'd hold up 2.0 (which is already in alpha.) Besides, my code is really specific to the Hijack API, which the player software obviously doesn't use. As much as it'd be nice to be able to contribute new things to the player software, there's no way it can happen.

Edit: Ouch, okay, I misread the original post... You were talking about just the tag editting aspect of it... Hmm. That's a little closer to reality than changing the player software... But I wouldn't hold my breath, unless Roger falls in love with this program for some reason.


Edited by yn0t_ (10/02/2003 16:46)
_________________________
- Tony C
my empeg stuff

Top
#141431 - 10/02/2003 18:17 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
The font size large i don't use, i like the small one. but i was just checking out the font sizes and saw that problem. I think i will move it up to line 16 and see if that fixes it, i just wanted the text under the track line.

As for the emplode software, i hidden registry tweak that enables id3 lyrics tag editing in emplode. That would be T&A!

Anyways, I have 2 beastie boys cds tagged up, working on getting all their songs done. Love this program, but I don’t really see myself using it that much. But the passengers in my car will probably like it quite a bit! Thanks!
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141432 - 10/02/2003 18:25 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Anyways, I have 2 beastie boys cds tagged up, working on getting all their songs done. Love this program, but I don’t really see myself using it that much. But the passengers in my car will probably like it quite a bit! Thanks!

Glad to hear it, I love the Beastie Boys, that'd be 2 less CD's I'd have to tag. As of right now I'm probably going to start off by adding lyrics to my entire Pink Floyd and Tori Amos collections, that's a good 30 or so CD's. It'll definitely be a long journey to get to where a large portion of my music library is tagged.. But I hope the online lyrics DB thingie will help us all out in that regard.

Yeah, I'd love a hidden option for tag editing, though the thing to keep in mind is you really want the lyrics editor to be a WinAMP plugin, or something that has access to the current track time in your MP3 player, so you can automatically insert the current time. Otherwise it's a pretty manual process, even if emplode lets you do it. Unless emplode gets an integrated mp3 player, and I just don't see that happening.

As for "I don't see myself using it much," stay tuned, once I can clean the code up a little bit, I think this could be a lot more than just a lyrics viewer, people have suggested some great ideas, and they all seem doable (at this early stage.)
_________________________
- Tony C
my empeg stuff

Top
#141433 - 10/02/2003 18:36 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
Its not that i don't find it useful, But most of the time when i'm listening to music, i'm not staring directly at the empeg. Most of the time i'm driving in and out of traffic, and looking at the empeg trying to read the lyrics would probably get me killed.

Edit: I guess to solve this, we need to get going on the HUD project!

as for the emplode software, i guess then maybe get your "lrc2sylt.exe" program integrated into the hidden display the empeg guys could create, which just asks for the location of that tracks ".lrc" file, and on sync it would add those lyrics into the fids on the empeg! Now that doesn't sound too bad
I'd chip in on a keg or two if required


Edited by oliver (10/02/2003 18:36)
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141434 - 10/02/2003 18:49 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Its not that i don't find it useful, But most of the time when i'm listening to music, i'm not staring directly at the empeg. Most of the time i'm driving in and out of traffic, and looking at the empeg trying to read the lyrics would probably get me killed.

Nah, I gotcha. I was thinking about including a disclaimer against any damages if you're reading the words and get in an accident. Wouldn't want this little project to land me in a "federal pound-me-in-the-ass prison." Yeah, a HUD would be pretty damn sweet.
_________________________
- Tony C
my empeg stuff

Top
#141435 - 10/02/2003 18:55 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
LMAO
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141436 - 10/02/2003 18:59 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
That actually gives me a great idea for an avatar, since I have been without one for nearly 4 years of being on this BBS...



Eeeeeexcelent.


Attachments
140012-peter.jpg (227 downloads)



Edited by yn0t_ (10/02/2003 19:00)
_________________________
- Tony C
my empeg stuff

Top
#141437 - 10/02/2003 21:07 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
justinlarsen
old hand

Registered: 31/12/2001
Posts: 1109
Loc: Petaluma, CA
ive got the 4 weezer albums all tagged up. will be ont he site when its up.
_________________________
---- Justin Larsen

Top
#141438 - 10/02/2003 22:22 Re: emphatic Lyrics Viewer v1.0 Released [Re: justinlarsen]
jheathco
enthusiast

Registered: 21/12/2001
Posts: 326
Loc: Mission Viejo, California
Who's gonna tag all those electronic mixes? Oh I'm so funny!
_________________________
John Heathco - 30gig MKIIa w/ tuner module

Top
#141439 - 10/02/2003 23:14 Re: Gauging Interest -- Custom Info Modes? [Re: genixia]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
vol = vol + ID3_vol_tag;
if (vol > 100) {
// Hit limit - have to calculate real adjusment.
current_adjust = vol - 100;


I'd expect that last line to read:
current_adjust = 100 + ID3_vol_tag - vol;
_________________________
--The Amigo

Top
#141440 - 10/02/2003 23:26 Re: Gauging Interest -- Custom Info Modes? [Re: TheAmigo]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Oops....You're right

I paid a little bit *too* much attention to my volboost code when writing that example, and forgot to adapt that line properly.

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141441 - 11/02/2003 05:36 New style Fids organization? [Re: tonyc]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Hey Tony,

Does emphatic support the new directory structure for fids? My guess (based on my experience so far), is that it doesn't...
_________________________
-Aaron

Top
#141442 - 11/02/2003 06:06 Re: New style Fids organization? [Re: adavidw]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Does emphatic support the new directory structure for fids? My guess (based on my experience so far), is that it doesn't...

And you would be correct... Since 99% of the empegs out there don't have that structure yet, I haven't really gotten to supporting it. I'll work that in for the next release though.
_________________________
- Tony C
my empeg stuff

Top
#141443 - 11/02/2003 06:32 Re: New style Fids organization? [Re: tonyc]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Wow, nice avatar!

I moved the fids of my songs with lyrics back to play with it. I only had them in the new structure in the first place to practice my shell scripting.


In my testing, I noticed one definite bug: The "--mode" command line option doesn't work. "-m" works fine. I've attached a diff that I think fixes it, but I didn't recompile to check. It's a simple little thing that I'm sure you'd find yourself anyway.


Another thing that I've noticed is that I can't get -o or --offset to have any apparent effect. Can you verify that it's working right? The readme seems to imply that the values entered are in seconds, but I noticed in the code that the default gets set to 250000. I didn't read further to see what that really meant. Is the value for the option microseconds? And if so, is the default not really one second like in the readme? (I haven't actually tried super high values for offset to see what happens.)


Attachments
140128-emphatic.diff.txt (191 downloads)

_________________________
-Aaron

Top
#141444 - 11/02/2003 06:36 Re: New style Fids organization? [Re: adavidw]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
By the way, I haven't even started trying to figure out why synchronisation usually fails when emphatic is running.
_________________________
-Aaron

Top
#141445 - 11/02/2003 08:25 Re: New style Fids organization? [Re: adavidw]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Yeah thanks for the heads-up on the --mode thing, FITNR. Probably wouldn't have noticed it if you hadn't told me, but as soon as you explained the behavior, I knew it was the no_argument thing.

The offset thing... Yeah it's in microseconds. I changed the default at some point during testing because I was getting more accurate results. I will change the readme to reflect the fact that it's actually in microseconds. If you change it to like 5000000 you should definitely notice a difference.
_________________________
- Tony C
my empeg stuff

Top
#141446 - 11/02/2003 08:26 Re: New style Fids organization? [Re: adavidw]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Are you running it off of your music partition? I *believe* there's a known issue where if you have programs running on your music partition, fsck complains, or something else during the synchroni[sz]ation process fails.
_________________________
- Tony C
my empeg stuff

Top
#141447 - 11/02/2003 08:42 Re: emphatic Lyrics Viewer v1.0 Released [Re: oliver]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
Anyways, I have 2 beastie boys cds tagged up, [

I tagged this one John Cage tune:
_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top
#141448 - 11/02/2003 08:56 Re: New style Fids organization? [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Yeah, the sync issue definitely exists if it (or anything else) is running from the music partition. You can work around it by selecting emphatic in the hijack menu, and then telling emphatic to Quit. (Obviously 'Close' doesn't help).

[Edit]... and if you used EXEC (as suggested) rather than EXEC_ONCE, after you sync, emphatic will be running again which will mean that you will need to repeat the above for every sync.


Edited by genixia (11/02/2003 09:01)
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141449 - 11/02/2003 09:10 Re: emphatic Lyrics Viewer v1.0 Released [Re: jimhogan]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Thanks, Jim, we appreciate your hard work!
_________________________
- Tony C
my empeg stuff

Top
#141450 - 11/02/2003 09:10 Re: New style Fids organization? [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Hmm maybe I should tell people to use EXEC_ONCE instead of EXEC in my install instructions.

Edit: Holy cow, I just hit 3,000 posts! I need a life!


Edited by yn0t_ (11/02/2003 09:13)
_________________________
- Tony C
my empeg stuff

Top
#141451 - 11/02/2003 09:51 bug [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
Also, if emphatic is running and the empeg goes into standby, on resume, everything is all messed up and need to remove power and replace.
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141452 - 11/02/2003 09:54 Re: bug [Re: oliver]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Known bug, mentioned earlier in this thread, in fact. Nothing I can do about it. I think Hijack could change the way it restores from a standby, but from my code, I can't fix this one. Workaround is to close out of emphatic before you go to standby. You don't need to actually quit, just close it and leave it in the background.


Edited by yn0t_ (11/02/2003 09:54)
_________________________
- Tony C
my empeg stuff

Top
#141453 - 11/02/2003 10:14 Re: bug [Re: tonyc]
oliver
addict

Registered: 02/04/2002
Posts: 691
ok cool, just figured i would mention it, i didn't remember seeing anyone else say anything about it, but i missed the early part of the thread i think

I also just tagged up D12
_________________________
Oliver mk1 30gb: 129 | mk2a 30gb: 040104126

Top
#141454 - 11/02/2003 10:34 Re: New style Fids organization? [Re: tonyc]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA

Are you running it off of your music partition? I *believe* there's a known issue where if you have programs running on your music partition, fsck complains, or something else during the synchroni[sz]ation process fails.


Aha. I got into the habit of keeping things in my music partition, because I was shuffling some pretty big files in and out for a while. Now that it's settled down, I'll move everything over to /usr/bin/local, or something. Thanks!
_________________________
-Aaron

Top
#141455 - 11/02/2003 11:32 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
sirmanson
journeyman

Registered: 06/03/2002
Posts: 70
Loc: Tucson, AZ USA
Ok, so I downloaded the 1.01 version of emphatic. I am running B13 and Hijack 312. I followed all of the install steps (ran the FTP batch file successfully, modified my config.ini [hijack] and [output] sections) ... Rebooted the player and don't see emphatic on my hijack menu. Any ideas as to what I should check next??

---- I forgot to note that I didn't modify the directories in the FTP batch file at all ----


Edited by sirmanson (11/02/2003 11:33)
_________________________
----- RioCar 60gb

Top
#141456 - 11/02/2003 11:40 Re: emphatic Lyrics Viewer v1.0 Released [Re: sirmanson]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
---- I forgot to note that I didn't modify the directories in the FTP batch file at all ----

Well, that could be a problem because most people don't have a directory named /usr/local/bin on their player. This is the frustration with having no standard install process/setup... The thing is, if I chose a path which already exists on peoples' players (/bin, /usr/bin, etc) those tend to get overwritten by an empeg software upgrade.

Anyway, best thing for you to do is probably to create a main directory off of the root directory. Fire up Hyperterminal or whatever terminal program you might have, quit out of the empeg player software with 'q' and then type the following:

rw
mkdir /programs
ro

.

Then you will have a /programs directory which won't get overwritten during an upgrade. Edit the FTP script, changing /usr/local/bin to /programs, then re-run it. You should be okay then, assuming you added the ;@EXEC entry properly. If not, start up the player with your terminal program logging the startup messages and post them here.

HTH.


Edited by yn0t_ (11/02/2003 11:40)
_________________________
- Tony C
my empeg stuff

Top
#141457 - 11/02/2003 13:01 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
sirmanson
journeyman

Registered: 06/03/2002
Posts: 70
Loc: Tucson, AZ USA
That did the trick. Very nice work guys!!!
_________________________
----- RioCar 60gb

Top
#141458 - 11/02/2003 14:57 Re: emphatic Lyrics Viewer v1.0 Released [Re: sirmanson]
MadDog
new poster

Registered: 07/01/2002
Posts: 20
Since I've ben lurking for about the last year, I'll give a little intro on myself. I'm a Linux user. I hate booting into windows. I can move my way around in perl, and some C, C++..

With that outta the way, my problem is that SingIt doesn't seem to write any frames to the mp3 file, and lrc2sylt looks to be written to convert lrc files, so it wouldn't do any good trying to mind meld the sylt tag info into the mp3. Am I wrong? Is anyone else working on this? Will I need to hack together my own program? >:)

Top
#141459 - 11/02/2003 16:20 Re: emphatic Lyrics Viewer v1.0 Released [Re: MadDog]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Yeah, I found out after I wrote the README that SingIT doesn't write SYLT lyrics.

If I'm understanding your second point there, I think you're saying that lrc2sylt just converts one format to another. That's not correct. I think I tried to mention in the README that lrc2sylt reads in LRC files and writes SYLT lyric frames *to the MP3 file.* So no "mind melding" of the SYLT tag into the MP3 is necessary -- id3lib takes care of that.

The thing is, it's just a command-line util, we'd all love something prettier. Oliver PM'ed me saying he's going to cut his teeth on a GUI-based tool to do the job, but he plans on using .NET technology to do it, so I'm afraid that won't help a Linux snob like yourself. That is, unless one of these .NET frameworks like Ximian or dotGNU actually work, which I doubt...

Anyway, the ideal situation for me would be having both WinAMP 2.x and XMMS plugins to do the job. I see myself focusing on emphatic development for now, so any kind of taggers/plugins/GUI's are going to have to be someone else's bag. I can get into those in the future, but I see emphatic doing other things in addition to just the lyrics, and I wanna develop that stuff first. That, and I'm woefully behind on grad school projects.

Anyway, just wanted to clear up the fact that lrc2sylt does indeed write tags to the MP3.
_________________________
- Tony C
my empeg stuff

Top
#141460 - 11/02/2003 16:31 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
MadDog
new poster

Registered: 07/01/2002
Posts: 20
Hmmm, paint me confused.. I got's two questions now

1) Does Singit spit out LRC lyrics or SYLT lyrics?

2) if SingIt does spit out SYLT lyrics, will lrc2sylt understand those SYLT lyrics? It looked like you were grepping for specific things in lrc2sylt.c

I just haven't been able to tag anything yet. I don't mind it being command line, I like it command line, I can script with command line

Thanks for these cool tools yn0t_!

Top
#141461 - 11/02/2003 16:45 Re: emphatic Lyrics Viewer v1.0 Released [Re: MadDog]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
SingIt's lyrics editor (you open it from one of the plugin Config tabs) saves LRC lyrics, but it can READ ID3v2 SYLT lyrics. I made the incorrect assumption that because they claim ID3v2 synced lyrics support, that the editor would actually WRITE those tags. Well, it don't.

So you could generate the lyrics in SingIT, save them as LRC format text files, and convert them with my command-line util. I haven't tried it, but if SingIT's LRC format isn't significantly different than the 10 or 12 LRC files I used in testing my program, then it will work.

Clear things up?
_________________________
- Tony C
my empeg stuff

Top
#141462 - 11/02/2003 19:40 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
Thanks, Jim, we appreciate your hard work!

Well, thanks! I gotta say, it was a complete *bitch* trying to make out the words!!

Now that I have that under my belt, I'm thinking I may move on to something more substantial . I gotta say, though, I have been on a bit of an Ogg bender, and I have to wonder....what's the chances that Ogg support could magically (meaning it is not dependent on my ignoramus-level relationship with programming!) materialize? I was looking at GetID3() to see if there is a way to smoothly combine that with EasyTag and Grip, but I don't figure that will matter much if ultimately they are not viewable.

Anyhow, what you have done is great -- too cool. I look forward to exploding a few passengers' heads even *IF* I have to keep a few lowly MP3 files around.

(dang, though, I wish more liner notes were legible in a way that they would submit to OCR!!)
_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top
#141463 - 11/02/2003 20:00 Re: Gauging Interest -- Custom Info Modes? [Re: Daria]
Daria
carpal tunnel

Registered: 24/01/2002
Posts: 3937
Loc: Providence, RI
In the "bad ideas" department, is there a "from here to the end of the track is silence" tag? You could do "silence killing" by noticing one and skipping to the next track.

Top
#141464 - 11/02/2003 20:13 Re: emphatic Lyrics Viewer v1.0 Released [Re: jimhogan]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Thanks for the kind words, Jim. I don't know much about Ogg, don't they have their own non-ID3 tag format or something?

BTW, that has got to be the first circular dependency I've ever seen between two BBS posts...
_________________________
- Tony C
my empeg stuff

Top
#141465 - 11/02/2003 21:21 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
jimhogan
carpal tunnel

Registered: 06/10/1999
Posts: 2591
Loc: Seattle, WA, U.S.A.
. I don't know much about Ogg, don't they have their own non-ID3 tag format or something?

Yes, the Ogg "comment" format is (for both better and worse) more open-ended with no strict definitions as in ID3. In practice, though, with softwares like EasyTag, what I see is Ogg comment/tag support implemented in a way that mimics MP3/ID3. I do not know if there are any tools out there to build/read/write a custom Ogg comment format, but if there are, I don't think they have made it into any Tag editors. The notion appeals to me, though...dream up your own tags....multiple subgenres, mood fields, whatever. I was also thinking of things like all credited musicians on a track with instruments, recording studio, songwriter, etc. Perhaps these are getting into ID3 and I haven't been paying attention.

Anyhow, open-ended possibilities, but short on implementation for now. That GetID3() lib says it will write to Ogg, so when I get home in a few weeks and get some time I may have to add lyrics to an MP3, write its tags to Ogg and see what happens...see if that is a starting point.
_________________________
Jim


'Tis the exceptional fellow who lies awake at night thinking of his successes.

Top
#141466 - 11/02/2003 23:38 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Ok, I've been playing with this quite a bit today...Firstly, Wow...this is great.


Some usability observations;

1) ReseveCache=2 seems to work for me. At some point I'd somehow removed it, and emphatic wasn't very happy. Lot's of disk churning, and high CPU usage (ISTR that disk I/O is CPU bound on the empeg), resulting in a rather unresponsive empeg. I tried ReserveCache=4 too, but this seemed to have equally bad results - I guess that the player was being starved at this point.

2) Yes, the horizontal scrolling definately still needs some work - it goes in fits and spurts too much. This is most obvious with the large font. My test track appears to be good - the timings work well in vertical mode. I wonder whether horizontal scrolling will ever be as smooth as we like, give that we are bound by the 40Hz screen rate anyway. I also wonder whether looking another line into the future might help with timing.

3) emphatic needs to be better behaved with buttons. It really shouldn't keep the buttons bound during general use, and I have seen some quirkyness with the left and right buttons when lyrics have been active. (Typically a short press being translated as a long press). I know that you've mentioned wanting to make emphatic sit back more in the background. I think that the ideal solution would be to separate out the lyrics display and UI functions into 2 processes, ie emphaticd and emphatic_control. Then bind emphatic_control to the hijack menu, and bind all the buttons for menu use only. When you exit the menu (ie, emphatic_control), unbind all the buttons, and wait for selection from hijack again. I'm hoping that future versions of hijack will enable userland apps to be assigned to the Popup menus.
The question is whether hijack supports a process binding the screen *only* (as emphaticd would need to). Not sure.
Oh, I'm also trying to promote the idea that a long knob press should always quit back to the hijack menu (without making any changes)

4) Slightly modified Menu options; On (exits menu leaving lyrics on), Off (exits with lyrics off), Mode, Font, Quit. Functionally I think it's identical to what you already have, but I think that it's marginally clearer - putting 'On' and 'Off' next to each other would help people to grasp the real effect that they have.


Now I just need to add lyric tags to all my music and I've got a ready made Karaoke-Business-in-a-Box.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141467 - 11/02/2003 23:47 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Oh, a bugette.

Bottom Left. A block of 4hx2v pixels are sometimes artifacted.
When in horizontal, small font, Pixels 34hx9v and 34hx10v (measured from top left) are nearly always artifacted.
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141468 - 11/02/2003 23:49 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
Oh, FFWDing to a track without lyric tags results in the last displayed line of lyrics being redisplayed. (Repeatedly for every FFWD)
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141469 - 12/02/2003 00:04 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
1) ReseveCache=2 seems to work for me. At some point I'd somehow removed it, and emphatic wasn't very happy. Lot's of disk churning, and high CPU usage (ISTR that disk I/O is CPU bound on the empeg), resulting in a rather unresponsive empeg. I tried ReserveCache=4 too, but this seemed to have equally bad results - I guess that the player was being starved at this point.

ReserveCache=2??? I have my ReserveCache set to 64. Last I heard the player has 180 * 32k cache blocks, so I can't see how ReserveCache=2 or ReserveCache=4 does much for us. ReserveCache=64 Still seems to leave the player with enough to play with. Maybe this is your sluggishness problem? Let me know if it is so I can recommend that end users set their ReserveCache a little higher.

I do notice a little sluggishness when it first reads the lyrics, but after that things are fine on my player. In the future I may try out that libmad tag library, that might be a little less taxing than id3lib.


2) Yes, the horizontal scrolling definately still needs some work - it goes in fits and spurts too much. This is most obvious with the large font. My test track appears to be good - the timings work well in vertical mode. I wonder whether horizontal scrolling will ever be as smooth as we like, give that we are bound by the 40Hz screen rate anyway. I also wonder whether looking another line into the future might help with timing.

I think I know why you're seeing this one. There is an increment factor which gets calculated based on how long our calculated sleep time is. If it's really low, it means we need to cover a lot of screen real estate in a short amount of time. The only solution is to skip pixels, instead of moving one pixel at a time, move 2, or even 3 at a time. This only happens when things are REALLY tight, with fast lyrics or, as you mentioned, the large font. Basically, if our calculated sleep time is under 15000 microseconds, we're in trouble, so we skip two pixels per update. If the calculated sleep time is under 10000 microseconds, we skip 3.

Now, there IS a bug that I've fixed (but can't release right at this moment because I'm working on other things in the program) where that increment wasn't being reset when it should be. The result was (I think) as soon as one line in a song needed that correction, the rest of them were getting it because I wasn't resetting that increment. Well, that will be fixed in the next version. I'd be interested in hearing your subjective analysis of if this bug fix solves the problem you're seeing. (Patrick G found the bug, by the way. I need to invite him to my code reviews at work.)

emphatic needs to be better behaved with buttons. It really shouldn't keep the buttons bound during general use, and I have seen some quirkyness with the left and right buttons when lyrics have been active. (Typically a short press being translated as a long press). I know that you've mentioned wanting to make emphatic sit back more in the background. I think that the ideal solution would be to separate out the lyrics display and UI functions into 2 processes, ie emphaticd and emphatic_control. Then bind emphatic_control to the hijack menu, and bind all the buttons for menu use only. When you exit the menu (ie, emphatic_control), unbind all the buttons, and wait for selection from hijack again. I'm hoping that future versions of hijack will enable userland apps to be assigned to the Popup menus.

No can do. Reason? Fast forwards and rewinds. I need to detect them, and there's no other way except trapping the buttons. To be honest, unless I FF/REW at the very beginning of the song when disk activity is high and CPU is being taxed, I don't see too many of those short press being translated into long press problems.

If you can come up with a better way to detect FF/REW, I would be HAPPY to not bind to the player left/right buttons.

4) Slightly modified Menu options; On (exits menu leaving lyrics on), Off (exits with lyrics off), Mode, Font, Quit. Functionally I think it's identical to what you already have, but I think that it's marginally clearer - putting 'On' and 'Off' next to each other would help people to grasp the real effect that they have.

I'll put that feature request in the queue.
_________________________
- Tony C
my empeg stuff

Top
#141470 - 12/02/2003 00:07 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Eh? Artifacted? What's that mean?

That's *around* the area I bind to when no lyrics are available for a song. There's no way to truely unbind from the display, so I take up a small portion of it with this:

hijack_geom_t corner_geom = { 30, 31, 0, 2 };

and just don't write anything to it. Or if I am, that would be a bug.

No idea where the other one with the horizontal/small font thing comes from... Can you post a screengrab?
_________________________
- Tony C
my empeg stuff

Top
#141471 - 12/02/2003 00:08 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Oh, FFWDing to a track without lyric tags results in the last displayed line of lyrics being redisplayed. (Repeatedly for every FFWD)

Found that one earlier this evening. It's in the queue!
_________________________
- Tony C
my empeg stuff

Top
#141472 - 12/02/2003 00:43 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
If you can come up with a better way to detect FF/REW, I would be HAPPY to not bind to the player left/right buttons.


Don't bother detecting FF/REW. You're constantly playing catchup and as soon as someone decides to FF through 5 tracks at once, the game is over - the empeg grinds to a halt. It's even worse with RWD (I can kill emphatic..) It's probably better to watch the notify information to discover when the track changes, and to be a little late with the lyrics for the songs that have 'instant' lyrics. (How do you detect when the track changes usually?).

_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141473 - 12/02/2003 00:59 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
MadDog
new poster

Registered: 07/01/2002
Posts: 20
Well, I found out what I was doing wrong. I grabed the Devel version of SingIt, and it's changed the syntax from [05:05] to {05:05:456] , I just changed the regexp in lrc2sylt.c fto re2 = pcre_compile("\\s*\\[(\\d+):(\\d+):(\\d+)\\]\\s*", 0, &error2, &erroffset2, NULL); All works well now..

Thanks again! Sorry for being such a bonehead

Top
#141474 - 12/02/2003 02:11 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
matthew_k
pooh-bah

Registered: 12/02/2002
Posts: 2298
Loc: Berkeley, California
Well, I got my first song to play, and I'm very impressed. I had to start with Barenaked Ladies one week, figuring that everyone else was starting with It's the End of the World as We Know It. Overall, it works great, and 90% of the lryics are readable. the 10% are no fault of emphatic. Great program, lots of fun.

There's got to be a better way to tag song. As it is now, it's going to remain a novelty for me. Is there any hope of being able to right click on a file in Jemplode and give it a lyrics file to associate with it? (download, rehash, upload is fine by me) I guess in the future lyrics can just be added to my ripping/uploaded process.

Matthew

Top
#141475 - 12/02/2003 07:59 Re: emphatic Lyrics Viewer v1.0 Released [Re: MadDog]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Ahhh... Yeah, I guess SingIt uses milliseconds. I meant to support those in lrc2sylt but I forgot to throw that in... I will change the regexp in lrc2sylt for the next release.
_________________________
- Tony C
my empeg stuff

Top
#141476 - 12/02/2003 08:00 Re: emphatic Lyrics Viewer v1.0 Released [Re: matthew_k]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
There's got to be a better way to tag song. As it is now, it's going to remain a novelty for me. Is there any hope of being able to right click on a file in Jemplode and give it a lyrics file to associate with it? (download, rehash, upload is fine by me) I guess in the future lyrics can just be added to my ripping/uploaded process.


You know... I can't believe I didn't think of that... Mike? You around?
_________________________
- Tony C
my empeg stuff

Top
#141477 - 12/02/2003 08:08 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Don't bother detecting FF/REW. You're constantly playing catchup and as soon as someone decides to FF through 5 tracks at once, the game is over - the empeg grinds to a halt. It's even worse with RWD (I can kill emphatic..) It's probably better to watch the notify information to discover when the track changes, and to be a little late with the lyrics for the songs that have 'instant' lyrics. (How do you detect when the track changes usually?).

Okay, first, you didn't answer any of my other questions regarding ReserveCache... I think that might be your problem. Do you mean SKIP 5 tracks at once or FFWD through 5 tracks at once? Who fast forwards through 5 tracks? If you want to skip 5 tracks, you use the track skip, no?

Second, I AM using /proc/empeg_notify to detect track changes, and to tell track times. I'm only trapping the left/right buttons to detect rewinds and fast forwards. But I can't simply look at track times to know whether the user has fast-forwarded or rewound, I need to know that there's been an event (rewind/ff) and I need to re-calculate what line of the song I'm on, and when the next one is coming up.

These decisions were made for a reason, you know, I didn't just throw this thing together...

For what it's worth, this works fine on my player, and I've received no comments that peoples' players are grinding to a halt. Things *are* a little sluggish during the first few seconds of a track when it first tries to read the lyrics out of the ID3 tag, and as I've said, I'm going to look into an alternate ID3 library. But even with that, I'm not having any kind of behavior where my empeg grinds to a halt, and if I am, it has nothing to do with the fact that I'm trapping the left/right buttons.

Folks, if you're seeing the same behavior, with your empeg grinding to a halt, please share your experience. And if you don't mind, check the value of ReserveCache in your config.ini (if present) and try again after adding ReserveCache=32 or ReserveCache=64. I'd like to know more about this supposed "grinding to a halt."


Edited by yn0t_ (12/02/2003 08:09)
_________________________
- Tony C
my empeg stuff

Top
#141478 - 12/02/2003 10:04 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
Did everyone know about the Lyrics3 editor for Windows? It works fine for me and seems to put the lyric information right into the MP3 file no command line utility needed. I couldn't find Lyrics3 in the search.. so please no duhs..

Top
#141479 - 12/02/2003 10:23 Re: emphatic Lyrics Viewer v1.0 Released [Re: siberia37]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
It uses an awful specification called, oddly, Lyrics3, which is, at the risk of being redundant, awful. It doesn't put them in the much nicer SYLT form.


Edited by wfaulk (12/02/2003 12:33)
_________________________
Bitt Faulk

Top
#141480 - 12/02/2003 10:26 Re: emphatic Lyrics Viewer v1.0 Released [Re: wfaulk]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
oh I see.. it does allow you to export to LRC files though and it's a very nice editor. That does explains why I was having so much trouble getting empathic to work last night. Eventually when I put notify=1 and used the command line to apply the LRC file to the mp3 it worked.

Top
#141481 - 12/02/2003 11:14 Re: emphatic Lyrics Viewer v1.0 Released [Re: wfaulk]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Incidentally, rumor has it that id3lib actually will read Lyrics3 tag and report it back to my software when I go to get the SYLT tag. I haven't verified this, nor will I bother to. But for the truly lazy who don't care about messing up playback of their MP3's (I assume that's nobody) it's been told to me that Lyrics3 tags are supported by my program as well. That's not guaranteed for the future, especially if I decide to ditch id3lib in favor of another ID3 tag library.

I'm almost hesitant to mention this, but someone will try it and figure it out eventually anyway.
_________________________
- Tony C
my empeg stuff

Top
#141482 - 12/02/2003 12:26 Re: emphatic Lyrics Viewer v1.0 Released [Re: wfaulk]
JBjorgen
carpal tunnel

Registered: 19/01/2002
Posts: 3582
Loc: Columbus, OH
EDIT: DELETED...Everyone should have a second chance at perfection.


Edited by Meatballman (12/02/2003 13:04)
_________________________
~ John

Top
#141483 - 12/02/2003 12:31 Re: emphatic Lyrics Viewer v1.0 Released [Re: JBjorgen]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Damn, it.

Edit: Fixed.


Edited by wfaulk (12/02/2003 12:33)
_________________________
Bitt Faulk

Top
#141484 - 12/02/2003 12:45 Re: emphatic Lyrics Viewer v1.0 Released [Re: wfaulk]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Oh, how the mighty have fallen! Say it ain't so!
_________________________
- Tony C
my empeg stuff

Top
#141485 - 12/02/2003 14:37 WMP 9 does SYLT tags [Re: tonyc]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Guess what? There is indeed a program out there that writes synchronized lyrics using the ID3V2 SYLT frames. It was right under my nose the whole time. Which program, you may ask? Why Windows Media Player 9, of course. I never noticed what features it had because I try not to open it. It's a bigger piece of bloat than WinAmp 3, even.


Either way, it's got an Advanced Tag Editor, which, among other things, lets you add lyrics to a file. It can add unsynchronized lyrics using whatever that unsynchronized lyrics frame is. Plus, it's got a very unintuitive, complicated interface for taking those lyrics and synchronizing them to time points.


It definitely uses the SYLT frame, as I can verify in MP3/Tag Studio. But, it's files don't work in emphatic. And, files I've processed using lrc2sylt don't work in WMP. So, even though they're both using the same frame, someone's not doing it right.


Tony, any chance that lrc2sylt is writing the frame in some broken way that emphatic is also broken to expect? Or does your use of id3lib pretty much preclude that possibility? If so, I guess it comes down to either id3lib being broken, or Microsoft. It's too bad there's so little software using this spec, so that it would be easier to test for interoperability.


Here's an interesting observation: If I save the SYLT frames as raw data to a file (using that handy new feature of MP3/Tag Studio 3.05), the Microsoft one has the first byte as $01, meaning Unicode, and appears to be structured as such. The lrc2sylt file is $00 (not Unicode). Does emphatic (or id3lib) not handle Unicode? That wouldn't explain why WMP couldn't handle the non-unicode file...


Any thoughts?
_________________________
-Aaron

Top
#141486 - 12/02/2003 14:44 Re: WMP 9 does SYLT tags [Re: adavidw]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Interesting observations. I do have WMP9 installed on my system. Where's the tag editor? I looked into it because when I googled for synchronized lyrics, WMP9 came up... But I couldn't find the thing. There was some 3rd party plugin tag editor that they told me only worked on Windows XP, and since I'm on 2K, I gave up on trying to track it down. Is there a tag editor built into it? I'm using the "compact" skin so maybe they're hiding it from me?

Umm, as for who's following the spec... Microsoft's record speaks for itself in that regard. Actually I bet it is just the text encoding that is different. I was trying to avoid dealing with things like unicode. If the WMP interface for adding time tags to lyrics is that unintuitive, then I won't bother with it. But I'll check it out... I guess.

ID3lib DOES handle unicode. My program is writting the data itself properly. But lrc2sylt is not using unicode text encoding in the data itself. So if it's just a matter of lrc2sylt and WMP9 using different text encodings, then we're both following the spec, yet still incompatible because we're using the frame differently. Or in other words, the great thing about standards is that there are so many to choose from.
_________________________
- Tony C
my empeg stuff

Top
#141487 - 12/02/2003 14:58 Re: emphatic Lyrics Viewer v1.0 Released [Re: siberia37]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I was having so much trouble getting empathic to work last night.

I didn't know anyone wrote empathic yet... isn't that the app that automatically picks a playlist to match your mood?
_________________________
--The Amigo

Top
#141488 - 12/02/2003 15:09 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
siberia37
old hand

Registered: 09/01/2002
Posts: 702
Loc: Tacoma,WA
Well I was beginning to think emphatic only worked if I was in the right mood....

Top
#141489 - 12/02/2003 15:12 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
I didn't know anyone wrote empathic yet... isn't that the app that automatically picks a playlist to match your mood?


LOL. Yeah I could implement it the way the Office Assistant window works in Windows... You select a Marvin Gaye tune followed by a Sade tune and it pops up a little dialog:

"It looks like you're trying to get laid tonight!"
What should I do?
(a) build a playlist of your favorite "in the mood" songs
(b) start GPSapp to guide you to the nearest unpopulated parking lot
(c) dim the display so you won't disturb your neighbors in the next car
(d) nevermind, I'm not trying to get laid, the wife is in control of the music selection tonight

An interesting concept...
_________________________
- Tony C
my empeg stuff

Top
#141490 - 12/02/2003 15:20 Re: WMP 9 does SYLT tags [Re: tonyc]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
WMP9 has a built in "Advanced Tag Editor" which is accessible by right clicking a track in the Media Library. However, I think the synchronized lyrics stuff is only on XP.


I don't know if it's worth all the effort to get everything working every possible way. However, since WMP and lrc2sylt are apparently the only two programs that write the sylt frame, it would be nice if they both worked together. Even if we can't get it all working together, I'm the kind of person that always likes to know what's going wrong.


I think I'll try to get xmms running on OS X so that I can see how that plugin sees the lyrics. Besides that, what else might I do to test things? I haven't read through the ID3v2 spec yet. Can I just start editing things willy-nilly with a hex editor, or are the tag frames some fixed length that would break if I did that?
_________________________
-Aaron

Top
#141491 - 12/02/2003 15:20 Re: WMP 9 does SYLT tags [Re: tonyc]
KoS
stranger

Registered: 01/07/1999
Posts: 40
Loc: Switzerland
i've found the tag editor: if you are playing a song and right click on the visualization you can choose "info center view" and then "always show".... .it the new window displayed, you can choose the lyrics button and then you see the lyrics. in my case, there is only shown one line of the lyrics at a time.

hmm.... i've downloaded the brown eyed girl song that somebody posted here on the bbs and for me it works with empathic & wmp9 ?

Top
#141492 - 12/02/2003 18:19 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
utna
new poster

Registered: 21/08/2002
Posts: 28
Loc: LA, CA
I tried it out and it was pretty impressive. However, the area behind where the lyrics displayed, or would have displayed was black. Obviously this isn't a problem, and would be beneficial for not getting confused with the visuals. However, when you bring up a menu, and you can only see the bottom fifth (of the top rung), it is kindof annoying. Any thoughts?
_________________________
riocar Mk2A 030102357 - 60 Gb

Top
#141493 - 12/02/2003 20:53 Re: emphatic Lyrics Viewer v1.0 Released [Re: utna]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Not sure what you're asking here... I'm assuming by "bring up the menu" you mean the player's menu, not mine.... And are asking me if I can somehow hide the lyrics display while the player menu is up. Well... I can't detect when that menu is up, unfortunately. That's in the player software. I think mlord has some screen-scraping taking place in the kernel that *might* let me know if the player menu is up, but I don't know if that information is available from user land.

I'll look into it....
_________________________
- Tony C
my empeg stuff

Top
#141494 - 13/02/2003 04:25 Re: WMP 9 does SYLT tags [Re: KoS]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
hmm.... i've downloaded the brown eyed girl song that somebody posted here on the bbs and for me it works with empathic & wmp9 ?



Yeah, I downloaded that it and it kind of works for me on both as well. I tried a couple of my other files, and they appear to kind of work for both also. The file that I was using for testing (The Piña Colada Song) wasn't working before, and was leading me to some erroneous conclusions, I guess.


After more testing, here are the conclusions I've come to:


1. Synchronized Lyrics created in WMP will not show in emphatic. WMP uses Unicode, and emphatic won't deal with it. This wouldn't be fixed unless emphatic gets fixed to deal with Unicode, or someone can figure out how to get WMP to do ISO-8859-1 for lyrics instead.


2. MP3 files processed with lrc2sylt may or may not show their lyrics in WMP. My test case (The Piña Colada Song) didn't work, but when I removed the ID3v2 tag and tried again, it did work. Everything else I tried worked as well. So, this seems to be purely dependent on the phase of the moon and your standing in the universe. It SHOULD work, though.


3. Mp3 files processed in lrc2sylt have problems when you try to edit their lyrics in WMP. Specifically, when you bring them up in the lyric editor, only the first line appears to be there, although all the time stamps are there. If you actually click on one of the lines and click "Edit", the text for that line reappears. What's actually happening is that there's a newline character ($0A) at the beginning of every line, and that's confusing the editor. If you go through each and every line, though, and redo the first letter, the newline character goes away with it, and the line displays correctly.


4. Files edited in WMP will be saved as Unicode, and will not show in emphatic. Refer to #1.


So, for full interoperability, emphatic would have to support Unicode. I think the Lyrics Editor in WMP is a PITA, but maybe some people find it preferable to the lrc2sylt dance. I have no idea how hard this would be, Tony, but it seems worthwhile for the future. Also, to edit the lrc2sylt processed files in WMP, something's got to happen about the newline's saved in the SYLT frame. Tony, what's you're reading of the spec as to whether or not those are requred? The way I read it, they're explicitly allowed, and the WMP editor shouldn't choke on them, but they're not required except in content type 3 and 4. Will emphatic work without them? If so, maybe lrc2sylt should strip them before writing. (edit: or is it more correct to change them to $20? Is the whitespace before the content chunk required?)


By the way, these ID3 specs are wonderfully vague in their non-specificity.


Edited by adavidw (13/02/2003 05:28)
_________________________
-Aaron

Top
#141495 - 13/02/2003 05:41 Re: WMP 9 does SYLT tags [Re: adavidw]
adavidw
addict

Registered: 10/11/2000
Posts: 497
Loc: Utah, USA
Followup: emphatic appears to require white space before each line. If I take the Piña Colada Song and run it through a hex editor, removing all of the $0A and padding out the rest of the tag, emphatic plays it, but cuts off the first letter of every line. WMP plays it fine, and shows the lyrics fine as well. If I replace all the $0A in the frame with $20, emphatic plays it perfectly. WMP does too, but the lyrics editor has an extraneous space in front of every line but the first.


This may be all obvious to you Tony, but since I've never even looked inside an MP3 file, or glanced at the tag format, it's fun for me.


Edited by adavidw (13/02/2003 06:05)
_________________________
-Aaron

Top
#141496 - 18/02/2003 01:46 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
I just happened to run a ps when emphatic was running and noticed something odd. It looks like it's loaded twice. Is that something with emphatic or is that how Hijack launches programs?

sh-2.03# ps auxw
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND

#0 28 1.4 4.7 2052 696 ? S 02:24 0:14 emphatic
#0 29 0.0 4.7 2052 696 ? S 02:24 0:00 emphatic
#0 30 0.4 4.7 2052 696 ? S 02:24 0:04 emphatic

#0 68 0.0 1.9 1916 284 ? S 02:24 0:00 emphatic
#0 69 0.0 1.9 1916 284 ? S 02:24 0:00 emphatic
#0 70 0.5 1.9 1916 284 ? S 02:24 0:04 emphatic

The reason I ask is that I'm trying to conserve on RAM. I've got other things sucking my RAM too:

#0 46 0.0 0.8 1888 128 ? S 02:24 0:00 bash /usr/local/bin/ttsd
#0 51 0.0 0.3 1048 52 ? S 02:24 0:00 irattach /dev/ttyS2 -s
#0 52 0.1 0.5 6996 84 ? S 02:24 0:01 flite -l /usr/local/ttsd stdout
#0 74 0.0 0.5 1100 80 ? S 02:25 0:00 irobex_palm3

and hopefully, that bash will be going away soon.

P.S. Is it just me (Mozilla) or does the pre tag double-space the lines? I sacrificed fixed-width for this post and used q2.
_________________________
--The Amigo

Top
#141497 - 18/02/2003 01:56 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Feature request: I was tagging the lyrics to the Animaniacs' Yakko's World and encountered a problem... there's some quick lines, specifically at the end:
[01:40]Crete, Mauritania
[01:41]Then Transylviania,
[01:41]Monaco, Liechtenstein
[01:42]Malta, and Palestine,
[01:43]Fiji, Australia, Sudan.

The WinAMP plugin didn't know what to do about two lines with the same time, and emphatic just blanked at that point and then scrolled several lines at the beginning of the next song.

Ok, so what I should have done was combine those two lines, but I didn't notice they were within the same second until it was already uploaded to the empeg.

How difficult would it be to add a workaround in emphatic that multiple lines with the same timing info should be appended and treated as a single line? Or is it so rare that I should just fix the lyrics for this one song and shut up?
_________________________
--The Amigo

Top
#141498 - 18/02/2003 06:45 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
genixia
Carpal Tunnel

Registered: 08/02/2002
Posts: 3411
or does the pre tag double-space the lines?


Yes.

So
does
the
[\code]
tag.


annoyingly.


Edited by genixia (18/02/2003 06:46)
_________________________
Mk2a 60GB Blue. Serial 030102962 sig.mp3: File Format not Valid.

Top
#141499 - 18/02/2003 07:45 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Umm... That's weird. Check to see you didn't run it twice?

I know of nothing that would make it show twice in a ps listing. On my system it's just there once (well, once for each thread.)

Edit: Just thought of something.. Did you try changing EXEC to EXEC_ONCE in config.ini?
_________________________
- Tony C
my empeg stuff

Top
#141500 - 18/02/2003 07:50 Re: emphatic Lyrics Viewer v1.0 Released [Re: TheAmigo]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
How difficult would it be to add a workaround in emphatic that multiple lines with the same timing info should be appended and treated as a single line? Or is it so rare that I should just fix the lyrics for this one song and shut up?

Pretty rare occurrence there. If those lines are really that fast, and you REALLY wanted them separate, you could add milliseconds to the timestamps, and the *next* version of emphatic will support milliseconds. That'd be a manual process though, unless someone writes that mystical GUI program that we all want.

Incidentally, since emphatic uses a sorted linked list with unique keys to store the lyrics, the second line (and all subsequent lines) with the same timestamp will just be ignored.
_________________________
- Tony C
my empeg stuff

Top
#141501 - 18/02/2003 08:01 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
If those lines are really that fast

They are. Haven't you heard that song? We thought the perfect torture-test song was "It's the end of the world as we know it", but after seeing the Animaniacs song mentioned, I realize it's an even better one.
_________________________
Tony Fabris

Top
#141502 - 18/02/2003 10:54 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
TheAmigo
enthusiast

Registered: 14/09/2000
Posts: 363
Found it. I'd added emphatic to B10tts (for TTS Clock). While I was playing around, I'd also turned on my M10ttsd which brings out a bug in preinit.

Did I miss a patch to preinit that fixes the problem of B scripts running a second time when an M is present?
_________________________
--The Amigo

Top
#141503 - 18/02/2003 17:24 Re: emphatic Lyrics Viewer v1.0 Released [Re: tonyc]
newguy1
enthusiast

Registered: 26/01/2002
Posts: 278
Loc: Massachusetts,USA
Hi i tried installing this but this is the error i get while ftping ------ Installing emphatic...

C:\Documents and Settings\maistomeadows1\Local Settings\Temp>ftp -s:install-emph
atic.ftp xxxxxxxxx
Connected to xxxxxxxxxx
220 Connected.
User (xxxxxxxxxxxxx:(none)):
230 Login okay.
ftp> quote site rw
200 Okay.
ftp> cd /programs
250 "/programs" directory changed
ftp> bin
200 Okay.
ftp> put emphatic
emphatic: File not found
ftp> quote site chmod 755 emphatic
550 Failed.
ftp> quote site ro
200 Okay.
ftp> quit
221 Happy Fishing.

C:\Documents and Settings\maistomeadows1\Local Settings\Temp>pause
Press any key to continue . . .
_________________________
MIKE 80Gb RIO

Top
#141504 - 18/02/2003 17:35 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tfabris
carpal tunnel

Registered: 20/12/1999
Posts: 31565
Loc: Seattle, WA
C:\Documents and Settings\maistomeadows1\Local Settings\Temp>

ftp> put emphatic
emphatic: File not found
Is the file "emphatic" in that folder?
_________________________
Tony Fabris

Top
#141505 - 18/02/2003 18:31 Re: emphatic Lyrics Viewer v1.0 Released [Re: newguy1]
tonyc
carpal tunnel

Registered: 27/06/1999
Posts: 7058
Loc: Pittsburgh, PA
Yeah, as tfabris says, I think the emphatic binary isn't in the folder you're using...
_________________________
- Tony C
my empeg stuff

Top
#141506 - 18/02/2003 21:04 Re: emphatic Lyrics Viewer v1.0 Released [Re: genixia]
drakino
carpal tunnel

Registered: 08/06/1999
Posts: 7868
or does the pre tag double-space the lines?
So does the [\code] tag.

The internals of the BBS treats both the same. The issue is that it parses line breaks and adds the <BR> tags manually, then your browser gets the <PRE> tags and doublespaces since the <BR> is there. More then a simple hack job to fix unfortunatly, hopefully 6.2 tries to address it.

Top
#141507 - 19/02/2003 07:40 Re: emphatic Lyrics Viewer v1.0 Released [Re: tfabris]
ShadowMan
addict

Registered: 09/06/1999
Posts: 558
Loc: Newfoundland, Canada
Perfect Torture Test = Rattlin Bog by the Irish Descendants.

Check it out!

5 more points to the first person to get it tagged correctly!

(Or maybe a bag of Canadian Oreos for the unprivledged out there!)

Rene
_________________________
12 gig empeg Mark II, SN: 080000101
30 gig RioCar SN: 30103114
My blog

Top
#141508 - 19/02/2003 08:08 Re: emphatic Lyrics Viewer v1.0 Released [Re: ShadowMan]
Dearing
addict

Registered: 22/07/1999
Posts: 453
Loc: Florida
What about Johnny Saucep'n by Moxy Fruvous?
This is getting fun...
_________________________
_~= Dearing =~_
Gettin' back into it thanks to slimrio!

Top
Page 1 of 6 1 2 3 4 5 6 >