Turbohog Posted December 14, 2007 Report Share Posted December 14, 2007 Right, so I was just about ready to release a demo, but my MP3 won't work on other PC's. I tried using direct show, and I set the path to "/music.mp3", but that didn't work. And then I tried the MCI object. I think I didn't use that one properly though. To play the music I used this command: "music.mp3" and then "music.mp3" But that didn't work either. So I'm a bit lost here. Help would be very appreciated and of course, whoever helps would get Repped. Link to comment Share on other sites More sharing options...
TRD Posted December 14, 2007 Report Share Posted December 14, 2007 I don't know what the problem is, however you'd be better off using oggs, just convert your Mp3s into an .ogg format, and plop them in MMF2 like you would with sound FX. 1 Link to comment Share on other sites More sharing options...
LarkSS Posted December 14, 2007 Report Share Posted December 14, 2007 I agree with TRD ( I need to convert my mp3's myself =P ) and if you don't know already, WinLAME is a great little open-source audio converting tool. Also about using MCI, I believe you need to do LOAD ( or maybe it was OPEN ) and then the path and your second command would just be play and the path. I.E. "PLAY .\music.mp3" Using direct show, you probably already know this, but you need to load the file and then play it. You can't just tell it to load and expect it to work. =P And my final piece of advice, the / slash ( next to right shift key ) is only for webaddresses. You need to use the \ slash ( between backspace and enter ) for file names. Also, putting a period before the slash means you want to use the directory of the application. So instead of setting the path to "/music.mp3", you'd set it to ".\music.mp3" 1 Link to comment Share on other sites More sharing options...
Felik Posted December 14, 2007 Report Share Posted December 14, 2007 I posted an example of flash music. You can download it fron R&D laboratory. This method is more simple, but you have to have macromedia flash mx. Link to comment Share on other sites More sharing options...
Turbohog Posted December 15, 2007 Author Report Share Posted December 15, 2007 I agree with TRD ( I need to convert my mp3's myself =P ) and if you don't know already, WinLAME is a great little open-source audio converting tool.Also about using MCI, I believe you need to do LOAD ( or maybe it was OPEN ) and then the path and your second command would just be play and the path. I.E. "PLAY .\music.mp3" Using direct show, you probably already know this, but you need to load the file and then play it. You can't just tell it to load and expect it to work. =P And my final piece of advice, the / slash ( next to right shift key ) is only for webaddresses. You need to use the \ slash ( between backspace and enter ) for file names. Also, putting a period before the slash means you want to use the directory of the application. So instead of setting the path to "/music.mp3", you'd set it to ".\music.mp3" I actually did do that with the MCI object, I thought I pasted the whole code, but I guess I didn't. And the \ and . thing worked. Thanks everyone. Repped Link to comment Share on other sites More sharing options...
MetaRus Posted December 23, 2007 Report Share Posted December 23, 2007 I posted an example of flash music. You can download it fron R&D laboratory.This method is more simple, but you have to have macromedia flash mx. Yes! flash - is the good format! Better use it Link to comment Share on other sites More sharing options...
Sir Euan Posted December 24, 2007 Report Share Posted December 24, 2007 Use .ogg for music, MMF2 handles them just like it would handle a wav as a sample except .ogg has compression comparable to mp3, Winlame can encode to it as well woo. Link to comment Share on other sites More sharing options...
GSF Posted December 24, 2007 Report Share Posted December 24, 2007 OGGs are slightly smaller than MP3s. If you want to edit WAV/MP3/WMA etc. and convert them to OGG, you can use Audacity, a free audio editing program. http://audacity.sourceforge.net Link to comment Share on other sites More sharing options...
Recommended Posts