Is there a way to output multiple waves to the soundboard

Work on two projects that could benefit from multiple sounds played at the same time.

1 is a C64 SID emulator. The SID has 3 voices each with their own ADSR waveform. I can generate a unique waveform with the attack and degradation and decent sound out. But the mixture has been problematic. I want to have almost 3 whole running loops. Each sending signals to the soundboard. I've done this before in VB... hmm... im thinking maybe I used directx. Been awhile. Guess I could import an activex object that handles playback of sounds? Ill research on this idea. All others would be useful

2nd is a game_API. I see boring games for labview. Like the game of checkers or chess. Using an array of 2d images. He does this (reversi). So I started on a basis game_API sprites of loading and display on a photo. What I need is music and sound effects. Need to play music in the background, then break or fire play these sounds. Few in the same sense as my other project.

Question side: loading and playing of MP3 files in labview? So far, I can get the frame header... So, what are you doing? I can't find the info to decompress anywhere frame only header information. Not that important I just wanted to play music and saw that nobody did it mp3 I tried, but got stuck.

-Profit

In the event that a person is responsible for the research as if I were. Searching around for the most I found someone who has used the winmm.dll mcisendmessage to open a CD player in 2005. Using the appeal of the dll, you can also play sounds. In my attached example, I used a wav file, but I think that mp3 files should work too. Not sure if a leak memory happen with this example. As I don't know how to delete the alias, I created. Some more code to look at his process and delete the alias configuration, once the sound is done can help or will be necessary. But this example may be a person moving in the right direction.

PS im still looking for a good way to play 3 waves created in labview, at the same time. Indeed more control on the labview vi soundplay would be nice.

Edit: hmm, I took the extract from the default to open the side. The only difference is instead of close I use play to play the sound once an alias has been created.

Not part of the alias allows to play multiple sounds at once. Using only ['filename'] will lead until it ends before you can send the next sound. Alias is the key to make this work.

Edit: use labview 2011.

Tags: NI Software

Similar Questions

Maybe you are looking for