Little Fighter Empire - Forums
The A-PIANO! - Printable Version

+- Little Fighter Empire - Forums (https://lf-empire.de/forum)
+-- Forum: General Zone (https://lf-empire.de/forum/forumdisplay.php?fid=23)
+--- Forum: Programming (https://lf-empire.de/forum/forumdisplay.php?fid=50)
+--- Thread: The A-PIANO! (/showthread.php?tid=7992)



The A-PIANO! - A-Man - 06-23-2012

Hello guys, I didn't contribute anything for LFE for a long time, so I thought I should post something.......
Intro:
Do you like the beep sounds which comes from the built in speaker inside your pc's the same way I do?. For me, I LOVE them. So I made this li'l program. Actually a piano which uses theses beeps as tones. U can use change the frequency average too!.

Ladies and gentle men... I present you...
THE A-PIANO!!! (Click to View)
DOWNLOAD LINK!! COMPILED
Source code: http://pastebin.com/425BzZm9




RE: The A-PIANO! - qwertz143 - 06-23-2012

sounds good, can this code be used in BlueJ?


RE: The A-PIANO! - A-Man - 06-23-2012

No, it is actually coded in python. Python and Java are 2 different programming languages.


RE: The A-PIANO! - A-Man - 06-25-2012

People... Any coments?.
Stop being so lazy and click on the download link above....


RE: The A-PIANO! - Kevin - 06-26-2012

that's the first method of playing sound I ever learned in programming so I made something similar to your description :P , but I haven't downloaded, OK I will try later, I really gtg now. I'm just reserving my attention here (lol) so later I will edit this post.

Hmm O_o the sound doesn't play for me, is it because I'm using a laptop?


RE: The A-PIANO! - A-Man - 06-26-2012

(06-26-2012, 11:44 AM)Kevin Wrote:  Hmm O_o the sound doesn't play for me, is it because I'm using a laptop?
Well I tried it on a laptop and it worked... I guess there is somethong wrong with your piezo built-in speaker or there may be no one at all. :s



RE: The A-PIANO! - Kevin - 06-27-2012

(06-26-2012, 01:51 PM)A-MAN Wrote:  
(06-26-2012, 11:44 AM)Kevin Wrote:  Hmm O_o the sound doesn't play for me, is it because I'm using a laptop?
Well I tried it on a laptop and it worked... I guess there is somethong wrong with your piezo built-in speaker or there may be no one at all. :s

I see. When I hold about 10 buttons down at the same time, I heard nothing, lol.


RE: The A-PIANO! - qwertz143 - 06-27-2012

it works on ibm
uh, dell comps dont make noise through the keypad when you press left down and up :P
@v lol that was what i meant :P


RE: The A-PIANO! - A-Man - 06-27-2012

actually left and right do nothin'. up and down change the frequency for all the sounds :p