We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › Hello and thank you
Page Index Toggle Pages: 1
Hello and thank you (Read 1860 times)
Hello and thank you
Jun 6th, 2010, 11:35am
 
hi everyone

i haven't been using processing very long but i want to thank everybody for the extensive and easy to read documentation that's freely available and easy to navigate.

it makes making applications a breeze when the reference material is always handy. Biggest problems i have with coding is remembering any syntax i haven't used for a while. Currently i am writing in a semi procedural fashion whilst i become familiar with how processing operates. Then i will start to use classes etc etc more frequently. in a short space of time i have written a simple program that lights up a stage to reveal and hide hidden objects similar to how magicians work.

and a game grid with sound effects that would be hard work in other languages. i will post up the code when i figure out how to. because although it's not advanced code it might help beginners learn some basics.

i noticed in other discussions some of you are having problems with mimin audio constantly playing in games etc and not turning off. i had this problem initially and i found the answer was to have a larger buffer than the audio you were loading and to use audioSamples or snippets, and to use a mix of at least 80% of buffer size and to put a delay after triggering each sound. and to combine these with testing for if(!muted) turn on sound
or if(muted()) mute the sound and/or variations on this approach. i also discovered that the more code that is applied whilst sound is running also acts as your delay, so that when developing game sounds with little code in to start, you get noise and clicks when sound is looping and there is another sound still not finished playing.unless you put in a delay(largeish number) when the application is further developed you can reduce the delay whilst sound is triggered to a smaller number like delay(2); and to make the game audio better pre record it with some left and right pan already included using two tracks, and to get it sounding good on any audio app before loading it to be running in processing. use volume control and cut out white noise and areas of very low volume between sounds so that the wave spectrum doesn't have to many dips and rises, this will give short game sounds PUNCH

hope to post up some easy to read code writing in a basic manner soon
Page Index Toggle Pages: 1