LMMS
Loading...
Searching...
No Matches
allegrord.cpp File Reference
#include <cassert>
#include <cstring>
#include <string>
#include <algorithm>
#include "strparse.h"
#include "allegro.h"
#include "algrd_internal.h"

Classes

class  Alg_reader
struct  loud_lookup_struct

Functions

Alg_error alg_read (std::istream &file, Alg_seq_ptr new_seq, double *offset_ptr)

Variables

double duration_lookup [] = {0.25, 0.5, 1.0, 2.0, 4.0}
struct loud_lookup_struct loud_lookup []
int key_lookup [] = {21, 23, 12, 14, 16, 17, 19}

Function Documentation

◆ alg_read()

Alg_error alg_read ( std::istream & file,
Alg_seq_ptr new_seq,
double * offset_ptr )

Variable Documentation

◆ duration_lookup

double duration_lookup[] = {0.25, 0.5, 1.0, 2.0, 4.0}

◆ key_lookup

int key_lookup[] = {21, 23, 12, 14, 16, 17, 19}

◆ loud_lookup

struct loud_lookup_struct loud_lookup[]
Initial value:
= { {"FFF", 127}, {"FF", 120}, {"F", 110}, {"MF", 100},
{"MP", 90}, {"P", 80}, {"PP", 70}, {"PPP", 60},
{nullptr, 0} }