Skip to content
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

Standalone player and lib #162

Open
clsource opened this issue Oct 30, 2024 · 0 comments
Open

Standalone player and lib #162

clsource opened this issue Oct 30, 2024 · 0 comments

Comments

@clsource
Copy link

Hello. I really want to use piggy songs inside a game engine. Instead of a heavy mp3 file just the xml and samples would do.

The idea is

  • Implement an export function that renders the whole song to a tar file containing the project xml and samples. Maybe a special extension .pig

  • implement a C library that can decode a piggy tar file and can be used in any game engine compatible with C. This lib will read and load the info and output soundwave data that can be feed to sdl or another sound engine. Maybe a stream function with a callback.

  • implement a stand alone command line player using these libs for example implementation and simple piggy tar player.

The first version of the lib maybe simple and just starts streaming the song from 00 until last phrase. Later other song playing commands can be available with time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant