Work in progress piano / music reading thing

Show us your completed creations made in Construct 2

Post » Sun Jun 24, 2012 3:36 am

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 hereJohnnySix2012-06-24 03:38:46
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Sun Jun 24, 2012 1:03 pm

Looks good. Your server isn't set up for .ogg files though so no sound in Firefox.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Sun Jun 24, 2012 8:31 pm

Promising!

[QUOTE=ramones] Looks good. Your server isn't set up for .ogg files though so no sound in Firefox.[/QUOTE]

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 :(
B
105
S
20
G
12
Posts: 549
Reputation: 20,320

Post » Sun Jun 24, 2012 10:35 pm

[QUOTE=ramones] Looks good. Your server isn't set up for .ogg files though so no sound in Firefox.[/QUOTE]

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!
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Sun Jun 24, 2012 10:56 pm

I need to reinstall FireFox/IE - I'm loading m4a/ogg via the audio element :

http://www.johnnysix.net/games/JohnnyPiano/SoundTest.htmlJohnnySix2012-06-24 22:56:33
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Sun Jun 24, 2012 11:41 pm

You have to set the correct mime types. It depends on the server. For apache add:
[quote]
AddType audio/ogg oga ogg
AddType audio/mp4 m4a
[/quote]
to the .htaccess file.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Mon Jun 25, 2012 1:26 am

AH , thanks! To the cgi-bin folder?
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Mon Jun 25, 2012 1:55 am

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.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Mon Jun 25, 2012 4:56 am

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/


JohnnySix2012-06-25 04:58:15
Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Post » Tue Jun 26, 2012 7:53 pm

Image
B
27
S
9
G
5
Posts: 487
Reputation: 11,939

Next

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 1 guest