FYI, you can add a <DefaultCharacter>?</DefaultCharacter> element to your .spritefont file in order to automatically replace characters without corresponding glyphs in the spritefont with question marks. This should eliminate any possibility of crashing due to missing characters and obviate the need for a script to remove such characters (which are in no way "invalid") in advance.
I was looking at the "Future Versions" section on the website that this is hosted on. Changing the volume does indeed change the device volume directly. They fixed this in the XNA 3.0 final release or 3.1, I can't remember.
I was looking at the "Future Versions" section on the website that this is hosted on. Changing the volume does indeed change the device volume directly. They fixed this in the XNA 3.0 final release or 3.1, I can't remember.
Ah, they fixed it in 3.0 final. I remember reading about it
Really? I was sure I had the latest XNA version (3.1). I also have the Zune HD extensions. I'm using MediaPlayer.Volume and it's just "relative" to the current device volume. Is there another setting I can change to affect the device volume directly? Thanks!
Edit : Oh, wow! Just found the Guide.Show() function for the Zune which allows you to change the device volume, choose a playlist, etc. I'm going to add this right now to XNA Lyrics!
Edit2 : Alright, v.1.7 is out. I fixed a problem where the app would start playing random songs when pressing left/right while paused (even if a playlist was currently playing). I added the DefaultCharacter failsafe, and also added the Guide.Show() function (Up on the dpad for the Zune SD, and touch the bottom of the screen for the Zune HD).
However, I could not find on the Internet if the Zune HD supports/requires the Guide. If anyone can give it a try and let me know if it works (by touching the bottom of the screen while XNA lyrics is running), that'd be great! Thank you!
Really? I was sure I had the latest XNA version (3.1). I also have the Zune HD extensions. I'm using MediaPlayer.Volume and it's just "relative" to the current device volume. Is there another setting I can change to affect the device volume directly? Thanks!
Edit : Oh, wow! Just found the Guide.Show() function for the Zune which allows you to change the device volume, choose a playlist, etc. I'm going to add this right now to XNA Lyrics!
Edit2 : Alright, v.1.7 is out. I fixed a problem where the app would start playing random songs when pressing left/right while paused (even if a playlist was currently playing). I added the DefaultCharacter failsafe, and also added the Guide.Show() function (Up on the dpad for the Zune SD, and touch the bottom of the screen for the Zune HD).
However, I could not find on the Internet if the Zune HD supports/requires the Guide. If anyone can give it a try and let me know if it works (by touching the bottom of the screen while XNA lyrics is running), that'd be great! Thank you!
Guide.Show is pointless on the HD as the side button is hardwired to that very screen, though it is of utility on the SD, which lacks such a feature.
FYI, you can add a <DefaultCharacter>?</DefaultCharacter> element to your .spritefont file in order to automatically replace characters without corresponding glyphs in the spritefont with question marks. This should eliminate any possibility of crashing due to missing characters and obviate the need for a script to remove such characters (which are in no way "invalid") in advance.
It is possible for characters to crash filestream.ReadToEnd() (regardless of DefaultCharacter), as I discovered when working on the Book Reader, but I only discovered that issue in one text file, so it is likely extremely rare. All of the other text files that I tested worked fine with DefaultCharacter.
Thanks, I will remove the Guide.Show() from the Zune HD version.
Edit : v.1.8 is now available. I removed the Guide.Show() on the Zune HD, improved lrc file support (special characters, long filenames, etc.), and added scrolling song title.
I signed up on these boards just to follow you development on this great, app? game? ... and also to comment. It is amazing to watch your development process, you certainly move fast.
One thing I wanted to comment on was the disk access on the Zune 30/80/120. My Zune 80 seems to access the disk every few seconds. That can't be good for battery life I think. Is there any way in XNA to cache the audio and lrc file into memory so that this does not happen? It's probably not that much of an issue on the solid state players I would imagine.
Also in the requirements page, you should add the XNA 3.1 Zune Extensions as they are required to build your application. I kept getting the "could not build because this has files that can not be trusted" error untilI installed the Zune extensions.
Anyway, great work so far. The final result is quite impressive once the lrc files are added and you have it running showing your favorite song.
Hi Namco, thanks for your feedback, I really appreciate it!
I'm surprised about the disk access every few seconds. The lrc file is only read when the song changes, after that it is cached in memory. Also, audio is completely handled by the Zune, so there's nothing I can do on my side.
I will update the requirements page with the Zune Extensions.
Hmmm, just wondering how exactly am I supposed to name the lrc files? I tried multiple ways, but none of them worked.
I tried:
Artist Title
Title Artist
Title - Artist
Artist - Title
Artist, Title
Title, Artist (Cleans up the commas though when it deploys)
And I also tried to do about 600 at one time(not renaming all, this was the 1st, 2nd, and 3rd time I tried. I did the renaming with only 5) my Zune says 'Deployment Complete' While the XNA Game Studio stops about half way(the loading bar thing) and pops up saying: "Error 2300: Unknown error during method invoke"
Hmmm, just wondering how exactly am I supposed to name the lrc files? I tried multiple ways, but none of them worked.
I tried:
Artist Title
Title Artist
Title - Artist
Artist - Title
Artist, Title
Title, Artist (Cleans up the commas though when it deploys)
And I also tried to do about 600 at one time(not renaming all, this was the 1st, 2nd, and 3rd time I tried. I did the renaming with only 1) my Zune says 'Deployment Complete' While the XNA Game Studio stops about half way(the loading bar thing) and pops up saying: "Error 2300: Unknown error during method invoke"
Thanks!
Edit: Ah, I see now.
Quote:
The "[ti:" and "[ar:" lines are now used instead of the filename whenever available in lrc files.
But I still would like to know about that error code. Thanks again!
Edit again: Sorry about that double post, I tried to edit the first one, but it posted it separate...I don't know how to delete the other one, so if someone could that would be great, thanks!
Last edited by aaricchavez; 08-17-2010 at 12:11 AM.
Reason: More info
I love the concept, but I tried adding a single lrc file to test it out and can't seem to figure out how to navigate to that song. All I'm able to do is play songs at random and with hundreds (thousands?) of songs it's a crap shoot. I can't imagine using this app if it really does only support random play of all songs. Hopefully I'm just missing something.
I love the concept, but I tried adding a single lrc file to test it out and can't seem to figure out how to navigate to that song. All I'm able to do is play songs at random and with hundreds (thousands?) of songs it's a crap shoot. I can't imagine using this app if it really does only support random play of all songs. Hopefully I'm just missing something.
Make a playlist. Or play the song that has the lyrics before you start the app....or you could put in lrc files for all of your songs. Manually it would be kinda hard to do. But if you use a program to help you it makes it alot easier. Use Minilyrics, it automatically downloads a lrc for the song playing(works for a whole bunch of players, including Zune and WMP). It saves them on your hard drive and then you can copy them from there to the deployment folder for the app.
[QUOTE=aaricchavez;524203]Make a playlist. Or play the song that has the lyrics before you start the app..../QUOTE]
The first time I tried the app that's how I thought it worked so I started the song then went and launched the app, but as soon as the app launched the music cut out.
Hmm, interesting, i've never had any issues with it. I actually just let my music play through all day and night and so i have lrc's for about every one of my songs.
i have a zune sd 120 gb and i just put this app on my zuine after deploying everything to get it to work and everytime i select play it shuts my zune down and restarts it...wat do i do?