Home | Forums | What's new | Resources | |
another sonic homebrew for saturn ? |
vbt - Aug 23, 2014 |
< Prev | 1 | 2 | 3 | 4 | Next> |
vbt | Jan 8, 2016 | |||
|
johannes | Jan 9, 2016 | |||
Hi, I added PCM audio file support. You can now play PCM file from CD. To convert any audio file to PCM under Linux or Windows => http://ffmpeg.org... Just some restriction due to the Sega Saturn hardware:
jo_sound my_snd; jo_audio_load_pcm("A.PCM", JoSoundMono16Bit, &my_snd); ... jo_audio_play_sound(&my_snd, 0); Bye |
vbt | Jan 9, 2016 | |||
great job ! just a question, how do you handle multi channels and random number of pcms to play ? |
johannes | Jan 10, 2016 | |||
The channel number is the second param of jo_audio_play_sound(); |
vbt | Jan 10, 2016 | ||||||||
yes i saw that but each time i used multiple PCMs i had some problems with playback and some sfx were lost. for instance on xrick i had to loop on channels to find which one is available, with hardcoded channel number it never worked or maybe just on emulators.
Code:
|
johannes | Jan 10, 2016 | |||
Interesting, I'll check this more closely Thx vbt |
johannes | Jan 10, 2016 | |||
You're right vbt ! I'll make a fix |
johannes | Jan 10, 2016 | |||
New version updated with VBT audio fix. I also added the possibility to change printf color and use multiple color at the same time |
vbt | Jan 10, 2016 | |||||
well done |
johannes | Jan 20, 2016 | |||
Hi, New update available with a new demo with advanced animation Download: http://jo-engine.org/download/... Warning: imagecreatefrompng(): gd-png: fatal libpng error: Read Error: truncated data in /var/www/html/sub/sx/helpers.php on line 361 Warning: imagecreatefrompng(): gd-png error: setjmp returns error condition 3 in /var/www/html/sub/sx/helpers.php on line 361 Warning: imagecreatefrompng(): "https://segaxtreme.net/proxy.php?image=http%3A%2F%2Fwww.jo-engine.org%2Fupload%2Fimages%2Fpublic%2FShooter.png&hash=37c42a80e5d41b3f0986ee045379a21d" is not a valid PNG file in /var/www/html/sub/sx/helpers.php on line 361 Fatal error: Uncaught TypeError: imagecopyresized(): Argument #2 ($src_image) must be of type GdImage, bool given in /var/www/html/sub/sx/helpers.php:363 Stack trace: #0 /var/www/html/sub/sx/helpers.php(363): imagecopyresized() #1 /var/www/html/sub/sx/messageParser.php(163): MakeThumbnails() #2 /var/www/html/sub/sx/messageParser.php(9): ParseNode() #3 /var/www/html/sub/sx/templates/message.php(35): ParseMessageContent() #4 /var/www/html/sub/sx/templating.php(50): include('...') #5 /var/www/html/sub/sx/templating.php(51): Template->{closure}() #6 /var/www/html/sub/sx/templating.php(71): Template->render() #7 /var/www/html/sub/sx/templating.php(41): Stencil->render() #8 /var/www/html/sub/sx/templates/threads.php(55): Template->include() #9 /var/www/html/sub/sx/templating.php(50): include('...') #10 /var/www/html/sub/sx/templating.php(51): Template->{closure}() #11 /var/www/html/sub/sx/templating.php(71): Template->render() #12 /var/www/html/sub/sx/index.php(89): Stencil->render() #13 {main} thrown in /var/www/html/sub/sx/helpers.php on line 363 |