Welcome! Log In Create A New Profile

Advanced

multithreading

Posted by durda_dan 
multithreading
March 15, 2009 02:32AM
what is multithreading? how do i do it?
is it like 2 programs working similtaniously?

and i have another question i seen there is a code for
beep (Frequency,duration);

is that possible on the wii?
would there be a way to make a simple Note, only a fraction of a second, without uploading a sound file?
Re: multithreading
March 15, 2009 02:41AM
A great thread on threads
[forum.wiibrew.org]

If you're not familiar with threading, I suggest trying it out in windows first to get the basics.

There is no beep function in libogc. For playing simple notes there is sndlib but it's a bit of a hassle to set up(Once you've got it working through it makes sound pretty easy).
Re: multithreading
March 15, 2009 01:59PM
sndlib is incorporated intn the latest version of libogc under the name asnd.
Re: multithreading
March 15, 2009 10:16PM
Quote
Arikado
sndlib is incorporated intn the latest version of libogc under the name asnd.
Crap.
Re: multithreading
March 16, 2009 12:29AM
asnd? and how do you code the beeps, blips, and boops?
Re: multithreading
March 16, 2009 04:38PM
Your best bet is to record those beeps blips and boops as raw samples (16 bit PCM). Then you can use ASND to play them directly.
Re: multithreading
March 17, 2009 10:46AM
Nah, those are quite easy to make up on the spot. It's figuring out the waveforms used that is the hard part. It's just the four core ones, sine-, square-, triangle- and sawtoothwave.

If you know how to how stuff on the screen, you can quickly adapt the basic principles of that to generating sound waves.
Sorry, only registered users may post in this forum.

Click here to login