From c7b3199669a7b7e0ba11eb0d94d4e143a5fdd633 Mon Sep 17 00:00:00 2001 From: Vitaly Novichkov Date: Fri, 31 Aug 2018 03:54:16 +0300 Subject: Added high tone frequency extension from OPL3-BE --- src/adlmidi_private.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/adlmidi_private.hpp') diff --git a/src/adlmidi_private.hpp b/src/adlmidi_private.hpp index 0b7994a..2fc12a4 100644 --- a/src/adlmidi_private.hpp +++ b/src/adlmidi_private.hpp @@ -399,10 +399,11 @@ public: /** * @brief On the note in specified chip channel with specified frequency of the tone - * @param c Channel of chip (Emulated chip choosing by next formula: [c = ch + (chipId * 23)]) + * @param c1 Channel of chip [or master 4-op channel] (Emulated chip choosing by next formula: [c = ch + (chipId * 23)]) + * @param c2 Slave 4-op channel of chip, unused for 2op (Emulated chip choosing by next formula: [c = ch + (chipId * 23)]) * @param hertz Frequency of the tone in hertzes */ - void noteOn(size_t c, double hertz); + void noteOn(size_t c1, size_t c2, double hertz); /** * @brief Change setup of instrument in specified chip channel -- cgit v1.2.3