Go Back   Zuneboards > Zune Discussions > Zune Games and Applications > Download XNA Applications

Download XNA Applications XNA Applications

Reply
 
LinkBack Thread Tools
Old 02-27-2010, 03:44 PM   #1 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default <GPL3> [AS] Metronome 1.2

This is a simple metronome app. The tempo is can be adjusted by sliding your finger up or down on the slider, or by pressing the "+" or "-" buttons. It also has a tuner that can play all notes in an octave and a "tempo finder" where the program calculates the tempo of the beat you tap out.

Update to version 1.1 -(3/1/10)- New graphics (although they still are not the best.), The maximum tempo is now 260 instead of 240. There are also some minor changes to the code. (the tempo finder will now take the average of the last 6 taps instead of 5.)

Update to version 1.2 -(6/23/10)- The metronome should now be more accurate. There are new graphics made by OfficerHalf. Also, In previous versions, there was a different sound file for each note in the tuner. Now there is only one, and the pitch is changed within the program. This makes the app much smaller (from 3.8 MB to 269 KB). The length that the note plays for is doubled, so there will be less of the note starting and stopping.

Here is a screenshot:


Downloads:

ccgame:
http://gideos.zoomshare.com/files/Metronome.ccgame

source:
http://gideos.zoomshare.com/files/Metronome.zip
__________________
-




Last edited by dooglehead; 06-23-2010 at 05:31 PM. Reason: New Screenshot




dooglehead is offline   Reply With Quote

Advertisement [Remove Advertisement]
Old 02-28-2010, 01:13 AM   #2 (permalink)
Jr. Member
 
ducktape's Avatar
 
Join Date: Jan 2010
Posts: 477
ducktape has a spectacular aura aboutducktape has a spectacular aura about
Send a message via MSN to ducktape
Default

Sweet, don't find it useful. But I'm sure musicians will. Will download it just in case thou.
__________________



ducktape is offline   Reply With Quote
Old 02-28-2010, 03:24 AM   #3 (permalink)
Experienced Zuner
 
Moocow146's Avatar
 
Join Date: Sep 2008
Location: Michigan
Posts: 198
Moocow146 is on a distinguished road
Send a message via AIM to Moocow146
Default

YES!!!!! Thank you for this!!!!
__________________
16,671/ 20,000 Plays [updated 4/07/10]






Moocow146 is offline   Reply With Quote
Old 02-28-2010, 07:03 AM   #4 (permalink)
Expert Zuner
 
SteppingSplash's Avatar
 
Join Date: Nov 2008
Location: Well wouldn't you like to know?
Posts: 2,621
SteppingSplash will become famous soon enough
Default

Looks like a cool app.
A graphics update would be better though :]
__________________

I could be your dad. Actually, I probly am.




SteppingSplash is offline   Reply With Quote
Old 02-28-2010, 08:27 AM   #5 (permalink)
Squirt
 
Join Date: Sep 2009
Posts: 10
Haxasaurus is on a distinguished road
Default

Thanks so much. I play guitar and have been waiting for a metronome app for a while.



Haxasaurus is offline   Reply With Quote
Old 03-01-2010, 04:44 PM   #6 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default

Version 1.1 is now available.
__________________
-




Last edited by dooglehead; 03-02-2010 at 03:09 PM.




dooglehead is offline   Reply With Quote
Old 03-01-2010, 04:51 PM   #7 (permalink)
Expert Zuner
 
SteppingSplash's Avatar
 
Join Date: Nov 2008
Location: Well wouldn't you like to know?
Posts: 2,621
SteppingSplash will become famous soon enough
Default

Here's a pic I made for a (possible) change in graphics

Edit: Screw that. My pics suck...
__________________

I could be your dad. Actually, I probly am.

Last edited by SteppingSplash; 03-02-2010 at 01:01 PM.




SteppingSplash is offline   Reply With Quote
Old 03-02-2010, 12:44 PM   #8 (permalink)
Posting Disabled
Experienced Zuner
 
Join Date: Jan 2010
Location: Sector 88
Posts: 152
thedarkestzune is on a distinguished road
Default

You should talk to Husker91 about putting this on zhdapps.com




thedarkestzune is offline   Reply With Quote
Old 03-02-2010, 01:00 PM   #9 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default

Quote:
Originally Posted by SteppingSplash View Post
Here's a pic I made for a (possible) change in graphics


I don't know why it's all fuzzy...
It's just fine on my computer.
It looks good. If you make new graphics for the three backgrounds. I will put them in the next update.

Quote:
Originally Posted by jon s View Post
You should talk to Husker91 about putting this on zhdapps.com
I am currently trying to get a dev account on zhdapps. This is already posted in the zhdapps forums. Zhdapps.com &bull; View topic - METRONOME APP!
__________________
-




Last edited by dooglehead; 03-02-2010 at 03:08 PM.




dooglehead is offline   Reply With Quote
Old 06-01-2010, 12:50 PM   #10 (permalink)
Zewbie
 
Join Date: Jun 2008
Posts: 1
Jammingthejelly is on a distinguished road
Default

I just downloaded this app. As a musician, I noticed something strange. The metronome can't keep time. haha. I showed a few other musicians and they noticed it too.



Jammingthejelly is offline   Reply With Quote
Old 06-01-2010, 04:29 PM   #11 (permalink)
Jr. Member
 
autopilot's Avatar
 
Join Date: Dec 2009
Location: LA, US
Posts: 293
autopilot is on a distinguished road
Default

Two metronome apps released on the same day? What are the odds?




autopilot is offline   Reply With Quote
Old 06-01-2010, 04:31 PM   #12 (permalink)
Expert Zuner
 
SteppingSplash's Avatar
 
Join Date: Nov 2008
Location: Well wouldn't you like to know?
Posts: 2,621
SteppingSplash will become famous soon enough
Default

Quote:
Originally Posted by autopilot View Post
Two metronome apps released on the same day? What are the odds?
The same day?
This one has been out for a while!
__________________

I could be your dad. Actually, I probly am.




SteppingSplash is offline   Reply With Quote
Old 06-01-2010, 04:46 PM   #13 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default

Quote:
Originally Posted by Jammingthejelly View Post
I just downloaded this app. As a musician, I noticed something strange. The metronome can't keep time. haha. I showed a few other musicians and they noticed it too.
please explain.
__________________
-







dooglehead is offline   Reply With Quote
Old 06-01-2010, 05:06 PM   #14 (permalink)
Jr. Member
 
Redwing's Avatar
 
Join Date: Feb 2010
Posts: 384
Redwing is on a distinguished road
Default

Quote:
Originally Posted by dooglehead View Post
please explain.
I think he's implying that the rhythm isn't consistent. This could be due to efficiency problems. If the program gets a bit bogged down, then it will skip or stutter.
__________________
[2.0]AlarmHD




Redwing is offline   Reply With Quote
Old 06-01-2010, 05:17 PM   #15 (permalink)
Jr. Member
 
autopilot's Avatar
 
Join Date: Dec 2009
Location: LA, US
Posts: 293
autopilot is on a distinguished road
Default

Quote:
Originally Posted by SteppingSplash View Post
The same day?
This one has been out for a while!
Has it ever. Is there anyway I can retract my dumb comment gracefully?




autopilot is offline   Reply With Quote
Old 06-02-2010, 11:14 PM   #16 (permalink)
Experienced Member
 
DiNoGames's Avatar
 
Join Date: May 2008
Location: Bremen, germany
Posts: 936
DiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to allDiNoGames is a name known to all
Send a message via Skype™ to DiNoGames
Awards Showcase
Most helpful 
Total Awards: 1
Default

dooglehead:
A quick glance at your code tells me you are inaccurate at computing the beats.
first: be sure the program uses 60 FPS. If you don't change the TargetElapsedTime to 60 FPS a Zune game will automatically use 30 FPS! 60 FPS is a lot more accurate as you can guess...

Next thing is this:

Code:
timer += (float)gameTime.ElapsedGameTime.TotalMilliseconds;
                if (timer > interval)
                {
                    tick.Play();
                    timer = 0f;
                    blinking = true;
                }
- You use Milliseconds to measure time. Milliseconds seem quite fine for us, but TotalTimeFromSeconds is a double value which is more accurate.
- if the current timeframe exceeds the interval, you just set the timer to 0. I think this causes your inaccurateness. 30 FPS is about 33 milliseconds. If you are 1 millisecond in front of the next beat you will be 32 ms behind it the next frame. Then you just cut off 32 ms from your timescale and throw it away. 32 is a lot when you need to be accurate. So instead of setting timer to 0 you should subtract the interval from the timer like:

Code:
                if (timer > interval)
                {
                    tick.Play();
                    timer -= interval;
                    blinking = true;
                }
I did not look through every line of your code but this is the code for timing and thats the things I found when looking at it.

Another problem I have with my own Metronome is, that if you play a sound it will not start in that exact milisecond. Sometimes it needs some ms to actually be played. This causes some inaccurateness of the tones, too. But we can't do anything about it.
The more important it is to stay in rythm with time or it all will sum up.

Hope that helps!
__________________
Become my fan at Facebook:
DiNoGames Facebook Page

Last edited by DiNoGames; 06-02-2010 at 11:17 PM.







DiNoGames is offline   Reply With Quote
Old 06-03-2010, 12:25 PM   #17 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default

Thanks! I never thought of those things when I was programming this, but it makes sense now. I fixed your what you suggested already. I will fix a couple more things and release an update sometime soon.
__________________
-







dooglehead is offline   Reply With Quote
Old 06-15-2010, 08:29 PM   #18 (permalink)
Jr. Member
 
OfficerHalf's Avatar
 
Join Date: Jun 2010
Location: Alabama
Posts: 257
OfficerHalf will become famous soon enough
Send a message via Skype™ to OfficerHalf
Default

So, I don't even have my Zune HD yet (Amazon says it should ship tomorrow, arrive... sometime), but I decided to give your metronome a new interface, if that's cool.
I'm not sure 'new' the right word - I just made it fit a little more with the Zune UI, no code changes or anything for you, that I know of anyway. The + and - buttons being a little closer might give trouble.



The only thing that totally survived was your little arrow-bar thing. I can upload the whole thing if you want me to - or not. The changes are pretty tiny.

Last edited by OfficerHalf; 06-18-2010 at 02:15 PM.




OfficerHalf is offline   Reply With Quote
Old 06-23-2010, 05:25 PM   #19 (permalink)
Member
 
dooglehead's Avatar
 
Join Date: Oct 2009
Location: MA
Posts: 563
dooglehead is on a distinguished road
Send a message via AIM to dooglehead
Default

Version 1.2 released. See the first post for details.
__________________
-







dooglehead is offline   Reply With Quote
Old 06-23-2010, 06:04 PM   #20 (permalink)
Jr. Member
 
ducktape's Avatar
 
Join Date: Jan 2010
Posts: 477
ducktape has a spectacular aura aboutducktape has a spectacular aura about
Send a message via MSN to ducktape
Default

lol, too late I guess

__________________



ducktape is offline   Reply With Quote
Reply

Bookmarks

Thread Tools