<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>multiple mp3 same time?</title>
<description> Hi!
Im learning about wii programing. I have found a big problem. I want to play 2 or 3 simultaneous mp3 but i cant. I write the code this:
#include 
#include &quot;ambiente1_mp3.h&quot;
#include &quot;hyrulefield_mp3.h&quot;


void initsdsound(){
if (!fatInitDefault()) {
printf(&quot;Unable to initialise FAT subsystem, exiting&quot;);
exit(0);
}
ASND_Init(NULL);
MP3Player_Init();
ASND_Pause(0);

}

In Main i write:
MP3Player_PlayBuffer(hyrulefield_mp3,hyrulefield_mp3_size,NULL);

And if you press buton B y write:
MP3Player_PlayBuffer(ambiente1_mp3,ambiente1_mp3_size,NULL);

But it not works, you cant hear ambiente1. I have try to run a ogg, then hyrulefield.mp3 stops and ambiente1 runs. But never same time.
How can i solve this problem. Sorry my english!
Thanks!!</description><link>http://forum.wiibrew.org/read.php?11,68787,68787#msg-68787</link><lastBuildDate>Sun, 19 Apr 2026 00:17:18 +0200</lastBuildDate>
<generator>Phorum 5.2.23</generator>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68807#msg-68807</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68807#msg-68807</link><description><![CDATA[ Yes, i`m learning more and more every day. Im making this project [<a href="http://www.elotrolado.net/hilo_proyecto-nintendo-smash-soccer_1703192" rel="nofollow">www.elotrolado.net</a>]<br />All thanks your tutorial, that motivated me.<br /><br />Entre tu y yo, ojala que se anime la gente, joe que esta chupao hacer cosas.]]></description>
<dc:creator>dirfinyu</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 23:40:13 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68806#msg-68806</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68806#msg-68806</link><description><![CDATA[ Chapter 8 will include mp3, ogg and raw sounds, and file access, but I think you know a lot of all theese matters.<br />The example program is a photo/music viewer. My question in the another topic in this forum ("jpg images crashes loading twice") have relation with chapter 8.]]></description>
<dc:creator>wilco2009</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 23:20:45 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68798#msg-68798</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68798#msg-68798</link><description><![CDATA[ Thanks a lot owen and wilco. Now i can play more than 2 sounds same time. Thanks a lot. Wilco, a especial number of the tutorial with sounds jejeje]]></description>
<dc:creator>dirfinyu</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 19:31:29 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68797#msg-68797</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68797#msg-68797</link><description><![CDATA[ You have to take in account you export to raw format with exactly the same sound frecuency and mode than you uses in your ASND_SetVoice function.]]></description>
<dc:creator>wilco2009</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 17:35:05 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68796#msg-68796</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68796#msg-68796</link><description><![CDATA[ It only plays snd files encoded in certain format (which is really annoying). The instructions are on its page; [<a href="http://wiibrew.org/wiki/Asndlib" rel="nofollow">wiibrew.org</a>] you will have to download goldwave to convert the files to the *.snd format.]]></description>
<dc:creator>owen</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 16:58:13 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68795#msg-68795</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68795#msg-68795</link><description><![CDATA[ thanks owen!<br />The problem is i dont understand ASNDLIB well. For example i try to play this form<br />ASND_SetVoice(8, VOICE_MONO_16BIT, 44100,0, (void *)ambiente1_mp3, ambiente1_mp3_size, 100, 100, NULL);<br /><br />But it not works, Thats the problem i dont know how use this function as well.]]></description>
<dc:creator>dirfinyu</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 16:52:08 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68793#msg-68793</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68793#msg-68793</link><description><![CDATA[ if you have the time you could break the mp3s into small bits and use ASNDLIB functions to try and mix them together.]]></description>
<dc:creator>owen</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 16:22:54 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68790#msg-68790</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68790#msg-68790</link><description><![CDATA[ xDD always helping me wilco!<br />Thanks for the solution, now works perfectly]]></description>
<dc:creator>dirfinyu</dc:creator>
<category>Coding</category><pubDate>Tue, 06 Dec 2011 02:33:00 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68788#msg-68788</guid>
<title>Re: multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68788#msg-68788</link><description><![CDATA[ Hi dirfinyu!<br /><br />Nice to see you here. Play more than one mp3 stream simultaneusly is not possible because MP3Player uses always (and only) sound channel 0.<br /><br />OggPlayer is also using channel 0, due to it is not possible to play an ogg file and a MP3 file simultaneusly.<br /><br />Oggplayer source is public. Perhaps you can modify Oggplayer to play more than one song in parallel.]]></description>
<dc:creator>wilco2009</dc:creator>
<category>Coding</category><pubDate>Mon, 05 Dec 2011 23:32:00 +0100</pubDate></item>
<item>
<guid>http://forum.wiibrew.org/read.php?11,68787,68787#msg-68787</guid>
<title>multiple mp3 same time?</title><link>http://forum.wiibrew.org/read.php?11,68787,68787#msg-68787</link><description><![CDATA[ Hi!<br />Im learning about wii programing. I have found a big problem. I want to play 2 or 3 simultaneous mp3 but i cant. I write the code this:<br /><center class="bbcode">#include <mp3player.h><br />#include "ambiente1_mp3.h"<br />#include "hyrulefield_mp3.h"<br /><br /><br />void initsdsound(){<br />if (!fatInitDefault()) {<br />printf("Unable to initialise FAT subsystem, exiting");<br />exit(0);<br />}<br />ASND_Init(NULL);<br />MP3Player_Init();<br />ASND_Pause(0);<br /><br />}<br /><br />In Main i write:<br />MP3Player_PlayBuffer(hyrulefield_mp3,hyrulefield_mp3_size,NULL);<br /><br />And if you press buton B y write:<br />MP3Player_PlayBuffer(ambiente1_mp3,ambiente1_mp3_size,NULL);</center><br /><br />But it not works, you cant hear ambiente1. I have try to run a ogg, then hyrulefield.mp3 stops and ambiente1 runs. But never same time.<br />How can i solve this problem. Sorry my english!<br />Thanks!!]]></description>
<dc:creator>dirfinyu</dc:creator>
<category>Coding</category><pubDate>Mon, 05 Dec 2011 22:42:02 +0100</pubDate></item>
</channel>
</rss>