Work in progress piano / music reading thing Forum Home > Construct 2 General > Your Creations |
Post Reply
|
Page 12> |
| Author | |
Post Options
Quote Reply
Topic: Work in progress piano / music reading thingPosted: 24 Jun 2012 at 3:36am |
|
|
Working on this - a friend recently started teaching the basics of reading music - so I thought I'd try create something to practice with.
Very basic at the moment (I need to add bass Clef to cover notes below C4), and add some lines in when they go off the stave, but it's mostly working. ![]() Play it here Edited by JohnnySix - 24 Jun 2012 at 3:38am |
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Jun 2012 at 1:03pm |
|
|
Looks good. Your server isn't set up for .ogg files though so no sound in Firefox.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Jun 2012 at 8:31pm |
|
|
Promising!
Yes, run it in FF with Firebug enabled and you'll see the error message. No sound in IE9 either, but that's not really a surprise :( |
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Jun 2012 at 10:35pm |
|
How do I fix it? Do I need to set permissions on the files? I just exported and uploaded, didn't know I needed to change anything. A catastrophic fail if you can't hear the sound! |
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Jun 2012 at 10:56pm |
|
|
I need to reinstall FireFox/IE - I'm loading m4a/ogg via the audio element :
http://www.johnnysix.net/games/JohnnyPiano/SoundTest.html Edited by JohnnySix - 24 Jun 2012 at 10:56pm |
|
![]() |
|
Post Options
Quote Reply
Posted: 24 Jun 2012 at 11:41pm |
|
|
You have to set the correct mime types. It depends on the server. For apache add:
to the .htaccess file. |
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Jun 2012 at 1:26am |
|
|
AH , thanks! To the cgi-bin folder?
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Jun 2012 at 1:55am |
|
|
Nah it goes in the root folder http://www.johnnysix.net/. Well the .htaccess file in the root folder will affect the whole site. You can put a .htaccess file in any folder eg. http://www.johnnysix.net/games/ and it will only affect that folder and sub-folders.
|
|
![]() |
|
Post Options
Quote Reply
Posted: 25 Jun 2012 at 4:56am |
|
|
Hmm, I'll ask my host if I can do that, didn't know it was the server causing it.
I made a new version ( I guess Chrome only for now ) - increased the range of notes playable/quizable and added in the extra lines for notes outside the usual 5. I tightened up the graphics on level three also, as the extra notes required more space. http://www.johnnysix.net/games/J6Piano/ ![]() Edited by JohnnySix - 25 Jun 2012 at 4:58am |
|
![]() |
|
Post Options
Quote Reply
Posted: 26 Jun 2012 at 7:53pm |
|
|
Sound work now?
I followed the advice in this thread - http://www.scirra.com/forum/r91-music-file-not-loading-in-firefox_topic52703.html?KW=%2Ehtaccess |
|
![]() |
|
Post Reply
|
Page 12> |
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |