Giter Site home page Giter Site logo

kaosspad's Introduction

This is a simple parser for the files that are produced by the Kaoss Pad 3+.

I needed to extract the audio stored in a slot from the data saved directly by the KP3+. Luckily it was pretty straight forward! The file extension for this file is P3A. It is stored in 512 byte pieces, likely for the sector size of the SD card. If a chunk is less than the sector/block size, it'll be padded with 0xFF.

The example program reads the P3A file and then writes out the 4 samples as .WAV files. They are stored at 48000KHz 16 bit, Stereo LE format in the .WAV file, swapped from the BE format used on the KP3+.

I haven't yet figured out the rest of the settings, but I know that the PROG fields correspond to the 8 stored FX buttons and that the GLOB field contains the rest of the settings information. For example, I think the tempo is a 16 bit BE field at offset 19 from the start of the GLOB chunk, but I'd have to do more work to map out all of the options. A task for another day!

Hope you find this useful!

kaosspad's People

Contributors

josejx 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.