Skip to content

motniemtin/Midi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Class for Midi file, Help to convert midi to txt format, caculator midi duration, convert type 0 <--> type 1

Install

composer require motniemtin/midiclass

Use

use MidiClass\Midi;

//Instanciates a midi

$midi = new Midi();

//open midi file

$midi->importMid($file);

//get Tracks Count

$midi->getTrackCount();

//get tempo

$midi->getTempo();

//get Midi Text format

$midi->getTxt();

//get Midi xml format

$midi->getXml();

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages