Giter Site home page Giter Site logo

opl3vgm_cli's Introduction

opl3vgm: a simple OPL1/2/3 VGM player in C with SDL2

This project plays VGM files through OPL1/2/3 emulators (emu8950 and Nuked-OPL3 more specifically).

What you need to use the binary

  • a terminal that supports ANSI Escape Codes (an ANSI terminal)
  • SDL2 and SDL2_mixer Binaries

What you need to compile

  • a C compiler (duh)
  • SDL2 and SDL2_mixer compiler files

Notes

  • OPL3 4OP modes are not visualized correctly.
  • .vgz files are not supported.
  • Dual-chip .vgm files and .vgm files which include chips other than OPL1/2/3 are not supported.
  • The visualizer is only for educational and/or entertainment purposes only.
  • I edited Nuked-OPL3's code so that it allows custom clock speeds

How to Compile

You can use this one-liner to compile this program:

gcc main.c opl3.c emu8950.c emuadpcm.c <SDL2 compiler flags> -o opl3vgm

then you can run the program by importing a VGM file as an argument:

opl3vgm Drax_-_Bus.vgm

libraries used: emu8950 Nuked-OPL3

2022 AArt1256

opl3vgm_cli's People

Contributors

annoyedart1256 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.