Roz wrote:Please, dont use cd tracks because dont work in Dreamshell.
we'll have to wait for someone to fix the sound, but cd tracks don't suit me, I already tried it
Moderators: pcwzrd13, deluxux, VasiliyRS
Roz wrote:Please, dont use cd tracks because dont work in Dreamshell.
crow720 wrote:I try to put cd tracks on it, technically it works, but the game goes crazy and bugs (I know, it doesn't make sense)
Ian Micheal wrote:Can use this https://github.com/ianmicheal/Dreamcast ... w-opensrc-
encoder
https://github.com/ianmicheal/radx
still going to have to do threading and check if streaming same as CDDA
make your own sample sample.adx api is easy and loop points work etc..
Got stop music before playing the next etc..
Please dont use ogg that's 100% crap..
crow720 wrote:Ian Micheal wrote:Can use this https://github.com/ianmicheal/Dreamcast ... w-opensrc-
encoder
https://github.com/ianmicheal/radx
still going to have to do threading and check if streaming same as CDDA
make your own sample sample.adx api is easy and loop points work etc..
Got stop music before playing the next etc..
Please dont use ogg that's 100% crap..
on pc, originally it reads ogg and mp3, the mp3 doesn't work, the rest i haven't experimented with yet, so i'll have to test, since the sound effects are wav packed in a snd file
dolmexica is a somewhat unknown engine for me still
crow720 wrote:Assuming I can use tracks from the CD, how can I play sound effects? I'm a bit clumsy with this dreamcast
Ian Micheal wrote:crow720 wrote:Assuming I can use tracks from the CD, how can I play sound effects? I'm a bit clumsy with this dreamcast
That's no worries you can use SFX manger Multi streaming ADPCM native with kos..
https://github.com/ianmicheal/dreamcastwiki
Using libwav
https://github.com/ianmicheal/dreamcast ... ultiStream
https://github.com/ianmicheal/dreamcast ... /Audio/SFX
https://github.com/Dreamcast-Projects/d ... ultiStream
https://github.com/ianmicheal/libwav?or ... ianmicheal
Libwav api
You Can use these to stream play any sound effects CDDA has no effect on playing sound effects at all I pre load them using romdisk files look at the new indie game Shadowgangs using CDDA and sound effects etc xenocider..
You can use these or look at the source to postal it has this and updates as well ...
I use all the above in the New demo disk for sega powered mag and for wavstudios
You dont have to be stuck using ogg it's only good for menus or anything that does not meed 6o fps .. In menus it's fine..
But you have know every api you link is built into your main bin making it bigger and cutting the stack ram to start with.. It's best use as much of native kos as you can cant out layers like ogg sdl or any others and use small api's libs that dont bloat the main bin of your program to save on ram ..
You should never use ogg for playing sound effects it's threaded and would block access..
ADPCM or wav can be used for sound effects with little cpu use at all..
Only trying to help like i did with super tux and others because the days of using the worst api for sound should be over..
If shadowgangs used ogg music it be under 30fps not 60fps smooth as silk It would hit the cache and cpu cycle every cycle..
You have to taylor the engine to the hardware.. It's not very powerful embedded system with a slow optical drive..
Using cdda you will have to check if playing then stop if not playing start etc you can loop tracks with triggers etc.
Prolly a ton of working doing this proper and saving enff ram..
If you read this i use this to manage memory swap romdisks VFS into memory then remove them while in memory the assests load faster and you can use CDDA after loading in each rom disk because you can load and stream from a VFS while still playing CDDA etc so then when level 2 fight etc load the next romdisk of assets and then detach play cdda that would giving you almost unlimited memory of the amount left ..
https://dcemulation.org/?title=Romdisk_Swapping
Users browsing this forum: No registered users