GithubHelp home page GithubHelp logo

Comments (23)

freq-mod avatar freq-mod commented on July 20, 2024 1

Are there collections of samples of these? (and the other text formats)

mmltexts.zip
Here are examples of several mml formats:

  • PC-9801 PMD (OPN/OPNA)
  • PC-9801 FMP (OPN/OPNA)
  • Sega Mega Drive XPMCKC (OPN2)
  • Sharp X68000 MDX NOTE.X (OPM)
  • Sharp X1 NRTDRV (OPM)
  • FMDrive VST's own text format (OPN2)

P.S: thanks for the fix.

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

S98 is already supported in the importer, having 2612 and 2608.
In principle it supports OPL chips too, let me know if you have some.

EDIT and OPM, for which we can implement OPN2BankEditor its own support

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

Ah, I forgot that there is a support for S98 already, sorry about that.

EDIT and OPM, for which we can implement OPN2BankEditor its own support

Isn't OPM supported already? Do you rather mean, in context of YM2151 chip support?

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

Isn't OPM supported already? Do you rather mean, in context of YM2151 chip support?

YM2151 instruments have a potential to translate to the OPN because of similarity.
What I mean: it's an idea to import YM2151 from the VGM and S98.

Btw, @Wohlstand has just merged the VGM for YM2608.

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

As for 2151, I can't find any .s98 log of any OPM music, only VGMs.
Right now, YM2151 VGMs are actually recognized by a bank editor (i.e. no error comes up) but editor doesn't see any instrument inside it

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

For this, the VGM importer needs to handle the opcode 0x54, and transmit this to a simulated OPM chip.
It's similar to RawYm2612ToWopi in the principle, except not implemented at the moment.

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

BTI works fine (as of now it reads FM instruments only) but it would be neat to support BTM modules import as banks, if it would be possible.

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

Yes definitely, I've wanted to do this too after BTI was added.
Also Rerrah has released the new specification 1.2.0 which makes it needed to update BTI for this.

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

I forgot about it, but YM2151 VGM/VGZs now work! The only things left are BTI v1.2 and BTMs, that will also solve "Add support for OPNA-specific bank / instrument file formats are also can be used here" task from #46 I think.

from opn2bankeditor.

farvardin avatar farvardin commented on July 20, 2024

MML support would be great to be able to use OPN2BankEditor as a sound editor for this format.

This tool (dmf2pmd.py) https://gist.github.com/Pigu-A/a51a4f3b83a238579e225e06098ba4e7 can already convert from a Deflemask module into MML, including instrument support.

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

I have some problems with importing FM instruments from a certain batch of YM2151 VGMs - bank editor recognizes them as legit VGMs, but doesn't see any instruments in it, yet they're clearly there.
example - 07 Easy To Go [Stage 1 Manhattan City].zip

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

@Papiezak Correct, it seems this VGM is incorrectly read. I'm going to check it.

@farvardin I totally forgot of MML also because of doing other things.
Are there collections of samples of these? (and the other text formats)

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

@Papiezak Fixed VGM at commit a0126bc

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

It's neat, thanks for these.
I've got to check if my parser is able to handle the whole set of these.

from opn2bankeditor.

farvardin avatar farvardin commented on July 20, 2024

Nice samples papiezak!

Here is also a working example of one of my tune, with full source and compilation process, if you need to try with pmd98, just type make compile and make play (there is also a player, using wine):

http://garvalf.online.fr/var/upload/temp/pmd98_201907.zip

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

just type make compile and make play

@farvardin, yeah, but DOSbox is needed to compile the track... but it works nevertheless.

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

It's very interesting. Thanks for sharing it.

Another thing about VGM I just remembered; it's the support of dual FM chips.
It's an element of VGM specification which @Wohlstand has implemented in OPNMIDI-based midi2vgm: there exist a secondary opcode which calls the second chip, and this VGM import doesn't handle it.

VGMrips has some arcade systems with dual chip configuration.

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

Many text formats are implement in the PR #82.
I am apparently able to load PMD instruments from all of the samples.

The functionality is found under the "Convert" drop-down.
It adds the conversions in both directions, and it uses the system clipboard.

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

Thanks for all the great work @jpcima!
There is one small catch though - in some .mmls there are PMD instuments of following format:
@12 4 7 21 4 2 4 2 40 0 12 3 0 0 24 12 4 6 2 0 0 4 7 0 1 21 4 2 4 2 35 0 6 7 0 0 24 12 4 6 2 0 0 2 3 0 1
They aren't imported properly in bank editor, paramenters are wrongly interpreted.
OPNI of how this instrument should be - @12.zip

from opn2bankeditor.

jpcima avatar jpcima commented on July 20, 2024

@Papiezak it has 4 excess numbers in comparison to PMD samples I examined.
Is this another variant? maybe it's a OPM form of PMD ?

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

@jpcima, no, it's from an OPNA song

from opn2bankeditor.

freq-mod avatar freq-mod commented on July 20, 2024

@jpcima, sorry to report, but .BTI instruments import don't work anymore.
Newest .bti spec is 1.4.0, trying to import it throws error about bad file format.

from opn2bankeditor.

Wohlstand avatar Wohlstand commented on July 20, 2024

At MML (the MML2VGM) the instrument name is supported:

'@ L4 0 "<Instrument Name Here>"

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.