Skip to content

Latest commit

 

History

History
 
 

music

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

POMF format music folder

All of the cpp files in here must adhere to the following rules:

  • Have extern "C" const POMFHeader POMF_HEAD with the song metadata
  • Have extern "C" const melody_item_t POMF_TUNE[] with the song events

They will then be converted into the POmf format by ELF2POmf and placed into the data folder to be inserted into SPIFFS.

Template

#include <sound/pomf.h>

extern "C" const POMFHeader POMF_HEAD = {
    POMF_MAGIC_FILE,
    POMF_CURVER,
    "ShortTitle",
    "Long Title"
};

extern "C" const melody_item_t POMF_TUNE[] = {
};