News:

PSR Tutorial Home
- Lessons, Songs, Styles & More

Main Menu

Adaptive styles (for nerds)

Started by pjd, August 09, 2021, 06:37:16 PM

Previous topic - Next topic

pjd

Thanks to Mark, I tool a quick look at the internals of an adaptive style.

The basic MIDI, CASM and OTS sections are there. I didn't find any MIDI magic like unknown Sy*** or meta-data. I'm guessing the CASM and OTS chunks are the same format as before. (Emphasis on the word guess. There is too much to check.)

Yamaha added a new chunk type "Cmbi" which is a peer to the MIDI, CASM and OTS chunks. This is probably the honey-pot.

A Cmbi chunk has two major subsections: Main and Fill In. Each subsection has sixteen subchunks: CmSy or CmSp. There are thirteen CmSy subchunks -- same number as the adaptive section variations. Of course, the hard part, what do the CmSy data encode? The CmSp subchunks appear to unused spacers to round thirteen slots up to sixteen slots.

Unless software knows how to decode the Cmbi chunk, it should play the style in the regular, non-adaptive fashion.

Hope this helps somebody -- pj