Giter Club home page Giter Club logo

Comments (5)

Kautenja avatar Kautenja commented on June 3, 2024

Hmm could you provide any more information about the ladder effect and any other quirks that might be missing? I've not come across this in my research of the 2612, but I am no expert. Also, if there are any Genesis emulators you know of that use Nuked-OPN2, I'd also be interested in checking them out to get a feel for the difference between the MAME implementation (that is currently used) and this one. As far as getting this implemented, it would be pretty cool I think to add a right-click context menu that allowed the user to select which emulator engine they prefer (MAME or Nuked or etc. in the future).

from potatochips.

Kautenja avatar Kautenja commented on June 3, 2024

Oh nvm, it looks like Genesis Plus GX actually merged the Nuke emulation into master as their sound engine. Cool, I'll definitely be looking into this.

from potatochips.

rastertail avatar rastertail commented on June 3, 2024

Thanks for responding so quick! Having an option to select between the emulation cores would be cool. FYI Nuked OPN2 has an option to switch between 2612 and 3438 that is missing from the readme, where the default 3438 lacks some things, namely the ladder effect, so you might want 3 options in the emulation core selector. And since you asked, the ladder effect is a distortion effect caused by the truncation of the output to 9 bits, where a bug in the circuitry creates an offset on the negative side of the wave. It's a pretty subtle effect, but also pretty noticable on patches with long decay times.

from potatochips.

Kautenja avatar Kautenja commented on June 3, 2024

Oh I see now, this is an emulation of the 9-bit DAC on the YM2612. It might be possible to just take the snippet that does the quantization and offset in Nuke-OPN2 and put it into the MAME core here, but I'm inclined to port the entire Nuke core still because I'm sure there will be other differences that result in a significantly different sound between the two.

EDIT: To clarify, the MAME core currently quantizes to 14-bit, which is the pre-DAC dynamic range of the YM2612. There is no DAC emulation in the MAME core at the moment.

from potatochips.

rastertail avatar rastertail commented on June 3, 2024

I see. Honestly, I'm not really a 2612 expert, so a lot of the little details are pretty vague to me. It would be nice to port over the entire Nuked core just for peace of mind, but all I really care about is the audio effects that I can hear, so if you just extract the 9 bit DAC and put the MAME core through it, I probably wouldn't mind as I expect that the difference between that and the full Nuked core would be more subtle.

from potatochips.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.