GithubHelp home page GithubHelp logo

Comments (6)

Wohlstand avatar Wohlstand commented on July 20, 2024

Which GEMS bank? Any?
It's possibly some invalid data was written and reader was confused...

from opn2bankeditor.

Wohlstand avatar Wohlstand commented on July 20, 2024

Oh! Yeah, the GEMS banks are usually melodic only, and there are lacks percussions. WOPN requires to have 128:128 set as minimum. So, the WOPN needs to have one blank drums set while saving.

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

As I was able to see, on import of the GEMS bank, the editor is displaying some garbage on the percussion side. Clearly, the editor does not appear happy to lack having an empty drum bank.

capture du 2018-09-07 11-30-16

from opn2bankeditor.

Wohlstand avatar Wohlstand commented on July 20, 2024

Oh, yeah, while filling the bank, you need to initialize the container to let it have blank 128:128 entries set. And, while saving the bank, it's need to guarantee the saving bank will have minimal 128:128.

Anyway, try to put break point and check, which part of WOPN parser makes "bad format"?

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

I had it at this point in code, happening inside readInstrument.

        FmBank::Instrument &ins = (readPercussion) ? bank.Ins_Percussion[i] : bank.Ins_Melodic[i];
        if(!readInstrument(file, ins, version))

About gems, I believe it was a matter of writing this fix. I will check if new banks are working.

-    bank.reset(bankCount, 0);
+    bank.reset(bankCount, 1);

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

The banks work! I updated a bank package into VST (btw, now having full OPN2 and ready builds 👍 )
PR will follow quickly

from opn2bankeditor.

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.