gamecreator Posted June 30, 2017 Share Posted June 30, 2017 I tried to load the attached Ogg files with Sound::Load but both come back with "Error: Failed to load sound." One was converted with Audacity, the other with an online converter. Both play fine in WinAmp and Media Player Classic. Thoughts? 1.ogg 2.ogg Quote Link to comment Share on other sites More sharing options...
gamecreator Posted June 30, 2017 Author Share Posted June 30, 2017 Also, I guess while I'm at it, searching Ogg in the documentation returns "Nothing found" and Sound::Load only mentions Wav. Quote Link to comment Share on other sites More sharing options...
Einlander Posted June 30, 2017 Share Posted June 30, 2017 I have the same issue. Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 30, 2017 Share Posted June 30, 2017 Try these - I converted them using Goldwave: One is 48khz and the other is 44.1khz both mono at 240kbs Not sure if Leadwerks can load ogg files. I'll double check that. Mike sup_dude_mono_44_1khz_240kbs.ogg sup_dude_mono_48khz_240kbs.ogg 1 Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
karmacomposer Posted June 30, 2017 Share Posted June 30, 2017 On this page of the Leadwerks website: https://www.leadwerks.com/editor It says: Quote Efficient Game Packaging When you're ready to publish, Leadwerks Editor will export your game using only the required files and save them into compressed zip files with strong encryption. Gigs of files can be reduced down to a few megabytes. And with support for Ogg Vorbis audio compression, your distrubutable can be made even smaller. They really ought to fix the typo. Distributable. So I guess it supports ogg files. Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
gamecreator Posted June 30, 2017 Author Share Posted June 30, 2017 Those both work. Ok. It's the bitrate. The default 5 quality export in Audacity didn't work but exporting it at max (10) did. Thank you for your help. Edit: Oh! I think it may actually be the file size. As if there's a minimum or it breaks. I converted a longer audio but at an even lower quality. It was 42kb but it played. Josh, could a small enough file size break the ogg player code, like around 10k? Could there be a minimum at some point? Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 30, 2017 Share Posted June 30, 2017 I think it's the weird kbs actually. The two samples were VERY LOW quality at like, 53kbs or something like that - a very obscure kbs. You are better off with 120 or 240 - but a EVEN number - I believe that is important. Also, pick either 44.1 (CD) or 48khz (DVD) Mike Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
gamecreator Posted June 30, 2017 Author Share Posted June 30, 2017 Unfortunately Audacity doesn't give me that option. There's a Quality slider from 0 to 10. I used 5 for first Ogg. Maybe that's based on the codec used. I may invest in Goldwave or something else when I really need to do this properly. Quote Link to comment Share on other sites More sharing options...
karmacomposer Posted June 30, 2017 Share Posted June 30, 2017 Goldwave is an excellent audio editor. I use Wave and Sample Robot, Sony Sound Forge Pro and Goldwave for audio editing/sample editing and Samplitude Pro X3, Presonus Studio One Pro 3, Halion 5 Pro and Nuendo for multi-track audio editing and sound design. Invest in Goldwave. For how little it costs, you aren't going to get much better. Mike 1 Quote MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 980 GTX with 16gb vram / SSD drives MSI Dominator Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1060 GTX with 8gb vram / SSD drives Alienware Laptop - Core i7 - 8 cores / 3ghz / 32gb RAM / Nvidia 1070 Ti with 16gb vram / SSD drives My Patreon page: https://www.patreon.com/michaelfelkercomposer My music for sale: https://www.tgcstore.net/category/513?format=all&perpage=30&textures=undefined&price=all&order=default&artists[]=87213 Custom synths and sounds - http://www.supersynths.com Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.