Library made from PXTONE, based on the version 220910a
Find a file
2025-10-15 19:06:05 +03:00
src Fixed initialization and unused warnings of GCC 2025-10-15 19:06:05 +03:00
stb_vorbis Added support for stb_vorbis 2023-05-13 22:31:08 +03:00
test test: read-write: Fixed version number printing 2023-05-14 00:05:50 +04:00
util/pxplay Added simple player program over SDL2 2023-05-14 05:56:33 +03:00
.gitignore Added the pxtone version 220910a 2023-05-13 22:31:05 +03:00
CMakeLists.txt Added simple player program over SDL2 2023-05-14 05:56:33 +03:00
LICENSE Added the pxtone version 220910a 2023-05-13 22:31:05 +03:00
pxtn_version.txt Added the pxtone version 220910a 2023-05-13 22:31:05 +03:00
README.JA.md Slightly tweaked ReadMe 2023-05-20 16:22:35 +03:00
README.md Slightly tweaked ReadMe 2023-05-20 16:22:35 +03:00
ReadMe[JP]-UTF8.txt Added the pxtone version 220910a 2023-05-13 22:31:05 +03:00

PXTONE

The library to play and/or edit music in PTTUNE and PTCOP file formats.

Library developed by Pixel: https://pxtone.org/developer/

What is this?

This library is a modified version 220910a to add some new features and provide the Big-Endian processors support (for example, PowerPC and MIPS).

What changes being made?

Bug fixes

Polishing

  • Removed all trailing whitespaces
    • There are spaces at end of lines: basically a useless ballast that confuses the difference and taking the file size. A lot of IDEs and text editors do have the feature of trailing spaces removal, etc.
  • Fixed warnings

Hardware support

  • Replaced plain "int" with "int32_t"
    • On some toolchains, the int32_t in fact is the "long int" which leads to complie errors.
  • Added support for Big Endian processors
    • Allows the library to work on processors that has the Big Endian byte order, for example, on old Macs that has PowerPC processor. You will need to specify the -Dpx_BIG_ENDIAN macro when compile project on the Big Endian hardware to make library work correctly.

Features

OGG Vorbis support changes

Among with the -DpxINCLUDE_OGGVORBIS, you also can specify the -DpxINCLUDE_OGGVORBIS_TREMOR to use the Tremor (integer-only) implementation, or -DpxINCLUDE_OGGVORBIS_STB to use the header-only stb_vorbis implementation which is included with the project here.