OzzyOuzo Posted November 17 Share Posted November 17 Using u235 player what is the prefered source wave file format ? i'm trying 8Khz unsigned 8bit PCM as a source for the assets but output is really dirty. (see attached file) sry not able to try on real hw yet, only on emulators.. here is what an entry looks like : sample124: dc.l _SFXfinalBonus; start of sample dc.l _SFXfinalBonus_end; end of sample dc.l 0; repeat offset dc.l 0; repeat length dc.w 0; <NULL> dc.b 0; fine tune s124_vol : dc.b 63; volume dc.l 8000; default play freq as a side note, example module is playing fine, only sfx are dirty. fart_1.wav Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/ Share on other sites More sharing options...
OzzyOuzo Posted November 17 Author Share Posted November 17 here is the result with vjaguar : 2024-11-17 20-35-28.mkv Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/#findComment-5567158 Share on other sites More sharing options...
OzzyOuzo Posted November 17 Author Share Posted November 17 result with bigPemu: 2024-11-17 20-38-37.mkv Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/#findComment-5567162 Share on other sites More sharing options...
42bs Posted November 17 Share Posted November 17 I use signed PCM for HivelyPlayer and the I2S is also signed. So give signed a try. Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/#findComment-5567208 Share on other sites More sharing options...
Zerosquare Posted November 17 Share Posted November 17 Yup. Instruments in MOD files use signed 8-bit PCM, so u235 probably uses the same format for sound effects. Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/#findComment-5567295 Share on other sites More sharing options...
OzzyOuzo Posted November 18 Author Share Posted November 18 (edited) assets.txt files from samples projects are claiming : - For audio files you can use "sfx_rawXXXXX" to convert any audio file (for example .wav, .mp3, .ogg, etc) into raw format. but it doesn't seem to work like that anymore ? or i have missed something ? ^^ it seems that you must provide the 'source' samples that already match 'dest / internal' format which is fine but there is some kind of misleading informations at some point ^^ so far using Zerosquare player i was able to use unsigned 8bit pcm using 'Zero_Audio_8bit_Unsigned' parameter while playing sample. Using u-235 player it works when exported as 'raw (header less) signed 8bit PCM' with Audacity for instance. Edited November 18 by OzzyOuzo Quote Link to comment https://forums.atariage.com/topic/375568-sound-effects-sample-formats/#findComment-5567491 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.