Programming C, C++, Java, PHP, Ruby, Turing, VB
Computer Science Canada 
Programming C, C++, Java, PHP, Ruby, Turing, VB  

Username:   Password: 
 RegisterRegister   
 making a button do a command
Index -> Programming, Turing -> Turing Help
View previous topic Printable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic
Author Message
turwaa




PostPosted: Thu Apr 05, 2012 3:12 pm   Post subject: making a button do a command

hey guyz, i am trying to create a piano
and i was wondering if when i pressed a certain key, it could play a noise? thank you
Sponsor
Sponsor
Sponsor
sponsor
Gadd




PostPosted: Thu Apr 05, 2012 3:55 pm   Post subject: Re: making a button do a command

Yup it sure can, Look around in the tutorial section you can find something do with sound.. you can add your own files or use keys like a, d, f ect and mess around with it.. if you dont know how to set the GUI up to do that take a look at the GUI tutorial as well. Part of being a computer scientist is solving problems Smile Not go solve and have fun! Very Happy
Tony




PostPosted: Thu Apr 05, 2012 3:55 pm   Post subject: RE:making a button do a command

yeah, that's possible. Perhaps you should try to do that.
Latest from compsci.ca/blog: Tony's programming blog. DWITE - a programming contest.
turwaa




PostPosted: Thu Apr 05, 2012 4:50 pm   Post subject: RE:making a button do a command

alright i'll try thanks! i'm new to this and im only 15, so im getting introduced to programming and so far im lovin it
Gadd




PostPosted: Thu Apr 05, 2012 4:57 pm   Post subject: RE:making a button do a command

That's great to here man, I think you should take a look at the tutorial section for sure, scroll through see what you know and start there, even looking at the start will help you. Be careful though its better to learn good programming practices so dont trust EVERYTHING on this site, learn to do things YOUR way and not by other people but learn to do it right at the same time Smile Look around make some friends and complete your goals Smile Also I will mention voodoo code to you. Its code that is written from hand. I know this may suck but its 100% worth it and will get you 4's in your classes. write down the code and document it... when you run into errors document it too.. other than that ASK ASK ASK ASK... dont lay things off and learn the solutions to your problem .. dont get the quick answer LEARN the hard way because not getting something is getting something in the long run. Have fun dude Smile Turing dudes here are rlly good Smile
Display posts from previous:   
   Index -> Programming, Turing -> Turing Help
View previous topic Tell A FriendPrintable versionDownload TopicSubscribe to this topicPrivate MessagesRefresh page View next topic

Page 1 of 1  [ 5 Posts ]
Jump to:   


Style:  
Search: