Skip to content

Commit

Permalink
first release 🥳
Browse files Browse the repository at this point in the history
  • Loading branch information
giftmischer69 committed Jan 29, 2021
1 parent 3720cb0 commit 7cb083d
Show file tree
Hide file tree
Showing 40 changed files with 24,144 additions and 14 deletions.
13 changes: 0 additions & 13 deletions .circleci/config.yml

This file was deleted.

4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Custom
release


# Prerequisites
*.d

Expand Down
48 changes: 47 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,48 @@
# abcMIDI
CI for the abcMIDI C Package

the purpose of this repository is to distribute built abcMIDI packages for
windows

mirror of: http://abc.sourceforge.net/abcMIDI/original/

---

The abcMIDI package contains the following :
- abc2midi - a program to convert abc notation to MIDI files.
- midi2abc - a program to produce crude abc from a MIDI file.
- abc2abc - a utility to do transposition, error checking and re-formatting on an abc file.
- yaps - (NEW) utility to convert abc to PostScript based on Michael Methfessel's PostScript library for abc2ps.

---

current versions :
- midi2abc - version 2.4
- abc2midi - version 1.24
- abc2abc - version 1.19
- yaps - version 1.12

---

## Pre-Installation Dependencies:
- any kind of [conda](https://docs.conda.io/en/latest/index.html) installation, e.g.:
- [miniconda](https://docs.conda.io/en/latest/miniconda.html) (minimal, recommended) or
- [anaconda](https://www.anaconda.com/products/individual) or

- download this repo, e.g.
- `git clone https://github.com/giftmischer69/premix`
- [download zip](https://github.com/giftmischer69/premix/archive/main.zip)

## install:
Ubuntu (tested with Pop_OS!)
- `chmod +x install.cmd`
- `./install.cmd`

Windows
- `install.cmd`

## build:
Ubuntu (tested with Pop_OS!)
- `./build.cmd`

Windows
- `build.cmd`
6 changes: 6 additions & 0 deletions lin_env.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
name: lin_abcMIDI
channels:
- conda-forge
dependencies:
- make
- gcc_linux-64
121 changes: 121 additions & 0 deletions src/abc.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
/* abc.h - header file shared by abc2midi, abc2abc and yaps */
/* Copyright James Allwright 2000 */
/* may be copied under the terms of the GNU public license */

/* define types of abc object */
typedef enum {
/* types of bar sign */
SINGLE_BAR,
DOUBLE_BAR,
BAR_REP,
REP_BAR,
PLAY_ON_REP,
REP1,
REP2,
/* BAR1 = SINGLE_BAR + REP1 */
/* REP_BAR2 = REP_BAR + REP2 */
BAR1,
REP_BAR2,
DOUBLE_REP,
THICK_THIN,
THIN_THICK,
/* other things */
PART,
TEMPO,
TIME,
KEY,
REST,
TUPLE,
/* CHORD replaced by CHORDON and CHORDOFF */
NOTE,
NONOTE,
OLDTIE,
TEXT,
SLUR_ON,
SLUR_OFF,
TIE,
CLOSE_TIE,
TITLE,
CHANNEL,
TRANSPOSE,
RTRANSPOSE,
GRACEON,
GRACEOFF,
SETGRACE,
SETC,
GCHORD,
GCHORDON,
GCHORDOFF,
VOICE,
CHORDON,
CHORDOFF,
DRUMON,
DRUMOFF,
SLUR_TIE,
TNOTE,
/* broken rhythm */
LT,
GT,
DYNAMIC,
LINENUM,
MUSICLINE,
MUSICSTOP,
WORDLINE,
WORDSTOP,
INSTRUCTION,
NOBEAM,
CHORDNOTE,
CLEF,
PRINTLINE,
NEWPAGE,
LEFT_TEXT,
CENTRE_TEXT,
VSKIP
} featuretype;

/* note decorations */
#define DECSIZE 9
extern char decorations[];
#define STACCATO 0
#define TENUTO 1
#define LOUD 2
#define ROLL 3
#define FERMATA 4
#define ORNAMENT 5
#define TRILL 6
#define BOWUP 7
#define BOWDOWN 8

/* The vstring routines provide a simple way to handle */
/* arbitrary length strings */
struct vstring {
int len;
int limit;
char* st;
};
#ifndef KANDR
/* vstring routines */
extern void initvstring(struct vstring* s);
extern void extendvstring(struct vstring* s);
extern void addch(char ch, struct vstring* s);
extern void addtext(char* text, struct vstring* s);
extern void clearvstring(struct vstring* s);
extern void freevstring(struct vstring* s);
/* error-handling routines */
extern void event_error(char *s);
extern void event_fatal_error(char *s);
extern void event_warning(char *s);
#else
/* vstring routines */
extern void initvstring();
extern void extendvstring();
extern void addch();
extern void addtext();
extern void clearvstring();
extern void freevstring();
/* error-handling routines */
extern void event_error();
extern void event_fatal_error();
extern void event_warning();
#endif

Loading

0 comments on commit 7cb083d

Please sign in to comment.