LMMS
Loading...
Searching...
No Matches
allegro.cpp File Reference
#include <algorithm>
#include <cassert>
#include <cmath>
#include <cstdio>
#include <cstring>
#include <cinttypes>
#include <fstream>
#include <stdexcept>
#include "allegro.h"
#include "algrd_internal.h"
#include "algsmfrd_internal.h"

Macros

#define HEAP_PARENT(loc)
#define FIRST_CHILD(loc)

Functions

bool within (double d1, double d2, double epsilon)
 are d1 and d2 within epsilon of each other?
char * heapify (const char *s)
 put a string on the heap

Variables

DLLEXPORT Alg_atoms symbol_table

Detailed Description

Allegro: music representation system, with extensible in-memory sequence structure upward compatible with MIDI implementations in C++ and Serpent external, text-based representation compatible with Aura

Macro Definition Documentation

◆ FIRST_CHILD

#define FIRST_CHILD ( loc)
Value:
(((loc) * 2) + 1)

◆ HEAP_PARENT

#define HEAP_PARENT ( loc)
Value:
((((loc) + 1) / 2) - 1)

Function Documentation

◆ heapify()

char * heapify ( const char * s)

put a string on the heap

◆ within()

bool within ( double d1,
double d2,
double epsilon )

are d1 and d2 within epsilon of each other?

Variable Documentation

◆ symbol_table

DLLEXPORT Alg_atoms symbol_table