-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Readme and general questions #79
Comments
I can at least answer questions 3 and 4. 3: the |
Thanks. Yep, I want to play VGM data. What is What do you think of using C interface for the player as well? As an aside, every "music player" library I have integrated so far with Emscripten (game music emu, libxmp, v2m, mdxmini, etc.) has been a C API. I was reading a bit and convinced myself that I prefer a C API. The music player interface (in general) is simple enough that it doesn't seem to benefit much from a C++ API. |
I can think of emulators, software synths for music sequencers, sound driver reimplementations, etc.
I was initially opposed to having |
The C++ player implementation is great, but can we add a C API on top of it? might try this out myself. Also, what is PlayerA? I see it doesn’t inherit from PlayerBase but the S98 and VGM do. |
I have a similar desire since I've been toying with writing a gstreamer plugin that uses libvgm instead of libgme. My understanding was that a C api was planned later for this type of use case. Was this or is this still the plan long term? |
Yeah, sorry. There are a few things that are still on my TODO list, which are:
Both changes will be API breaking, as I'd like to do both at once. EDIT: |
Nice, thanks for the explanation. I should probably wait until the dust settles. |
I ended up writing my own C interface with voice names: https://github.com/mmontag/chip-player-js/blob/master/libvgm/player/player_wrapper.cpp. |
@mmontag That's neat. I didn't have any luck on the gstreamer end of things myself. |
Hi, I am considering replacing large portions of Game Music Emu (@kode54 fork) with libvgm in my project, but I'm confused about a few things.
The text was updated successfully, but these errors were encountered: