Skip to content

YMF278B music problem

If you're experiencing problems with the website (packs pages/forum/wiki) or you would like to suggest something, you can post here.

Moderator: Staff

  • User avatar
  • niekniek Offline
  • Posts: 87
  • Joined: 2017-07-17, 23:28:35

YMF278B music problem

Post by niekniek »

A lot of YMF278B is broken on the website; Sonyc, Bombaman, Pumpkin Adventure 3 etc.
  • User avatar
  • BoxCubed Offline
  • Posts: 188
  • Joined: 2021-05-08, 17:21:54

Re: YMF278B music problem

Post by BoxCubed »

That's probably due to the yrw801 ROM not being hooked up to the OPL4's memory bank. Bang Bang Ball uses that ROM too, but I left it in just in case something like this happens to the end user.
  • User avatar
  • niekniek Offline
  • Posts: 87
  • Joined: 2017-07-17, 23:28:35

Re: YMF278B music problem

Post by niekniek »

Ah, so it's wasm now! Vampirefrog (or maybe someone else?) did the transpiling to wasm with audio worklet probably then. Cool. I did the webaudio thing also but you can compile it in the 'binary', that has not been done here?

Still works here with the deprecated scriptprocessornode.. https://niekvlessert.github.io/vgmplay-js-2/.

Re: YMF278B music problem

Post by Kaminari »

Packs requiring this ROM are still playing silence on the website. They used to work a couple of years ago.

https://vgmrips.net/packs/pack/sootsound-demo-msx2
  • User avatar
  • niekniek Offline
  • Posts: 87
  • Joined: 2017-07-17, 23:28:35

Re: YMF278B music problem

Post by niekniek »

The website now uses a wasm version of libvgm with the original vgm files instead of MP3 files. That's a good idea, saves a huge amount of storage, bandwidth and it's a great usecase of what libvgm can do. However this music requires a rom file from Yamaha which has copyright. I solved that by allowing to upload the file to the the wasm file system when the user tries to play music with this requirement over at https://niekvlessert.github.io/vgmplay-js-2/.
Post Reply