Skip to content

Commit

Permalink
Release v2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
DhrBaksteen committed Nov 14, 2020
1 parent e03a7e3 commit 8c63523
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ This repository contains the OPL2 / OPL3 audio library for the OPL2 Audio Board
* Emulation with DosBox; you can use the board to output MIDI music (Teensy++ 2.0 and later)
* Use the board directly as a synthesizer by using the [OPL3BankEditor](https://github.com/Wohlstand/OPL3BankEditor) software by Wohlstand

Current library version is 2.0.1, 9th November 2020
Current library version is 2.0.2, 14th November 2020

### OPL2 Audio Board
The OPL2 Audio Board is fun and easy board to get started with an OPL2 synthesizer. It is built around the YM3812 OPL2 chip that gives you 9 channels with 2-operators each to produce the classic OPL2 sound that you may remember from early 90s computer games.
Expand Down
2 changes: 1 addition & 1 deletion build
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ echo "\033[1;34m \\/ \\/ \\/ \\/ \033[0m"
echo "For the \033[1;36mOPL2 Audio Board\033[0m and \033[1;36mOPL3 Duo!\033[0m synthesizers"
echo ""
echo "Installation script for Raspberry Pi and compatibles"
echo "Library version 2.0.1, 9th of November 2020"
echo "Library version 2.0.2, 14th of November 2020"
echo "Copyright (c) 2016-2020 Maarten Janssen, Cheerful"
echo ""

Expand Down
2 changes: 1 addition & 1 deletion library.properties
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name=Arduino OPL2
version=2.0.1
version=2.0.2
author=Maarten Janssen <maarten@cheerful.nl>
maintainer=Maarten Janssen <maarten@cheerful.nl>
sentence=Use this library to control the OPL2 Audio Board or OPL3 Duo!
Expand Down
2 changes: 1 addition & 1 deletion src/OPL2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
* \____|__ /__| \____ |____/|__|___| /\____/ \_____\ \ |____| |__|
* \/ \/ \/ \/
*
* YM3812 OPL2 Audio Library for Arduino, Raspberry Pi and Orange Pi v2.0.0
* YM3812 OPL2 Audio Library for Arduino, Raspberry Pi and Orange Pi v2.0.2
* Code by Maarten Janssen (maarten@cheerful.nl) 2016-12-18
* WWW.CHEERFUL.NL
*
Expand Down
4 changes: 2 additions & 2 deletions src/OPL2.h
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@

virtual byte getNumChannels();

float getFrequency(byte channel);
void setFrequency(byte channel, float frequency);
byte getFrequencyBlock(float frequency);
short getFrequencyFNumber(byte channel, float frequency);
short getNoteFNumber(byte note);
Expand Down Expand Up @@ -189,7 +191,6 @@
byte getSustain(byte channel, byte operatorNum);
byte getRelease(byte channel, byte operatorNum);
short getFNumber(byte channel);
float getFrequency(byte channel);
byte getBlock(byte channel);
bool getNoteSelect();
bool getKeyOn(byte channel);
Expand All @@ -215,7 +216,6 @@
void setSustain(byte channel, byte operatorNum, byte sustain);
void setRelease(byte channel, byte operatorNum, byte release);
void setFNumber(byte channel, short fNumber);
void setFrequency(byte channel, float frequency);
void setBlock(byte channel, byte block);
void setNoteSelect(bool enable);
void setKeyOn(byte channel, bool keyOn);
Expand Down

0 comments on commit 8c63523

Please sign in to comment.