<commit_before>/**
 * This demonstration sketch for the OPL3 Duo shows how you can use an Arduino to receive serial data to control the
 * OPL3 Duo board. The 'protocol' implemented in this sketch is very simple. It expects 3 bytes [BANK, REGISTER, DATA]
 * for every register write to one of the chips.
 *
 * The BANK is defined as follows:
 *    bits 7 .. 2 - Unused
 *    bit  1      - Chip 0 or 1
 *    bit  0      - Bank 0 or 1
 * The REGISTER sets the register of the selected chip and bank to write to.
 * The DATA defines the data to write to the selected register.
 *
 * You can change and improve the serial transfer to suit your application.
 *
 * Code by <NAME>, 2020-11-07
 * WWW.CHEERFUL.NL
 * Most recent version of the library can be found at my GitHub: https://github.com/DhrBaksteen/ArduinoOPL2
 */

#include <SPI.h>
#include <OPL3Duo.h>

//#define NUKEYKTPROTO

OPL3Duo opl3Duo;
<commit_msg>Small adjustments.<commit_after>/**
 * This demonstration sketch for the OPL3 Duo shows how you can use an Arduino to receive serial data to control the
 * OPL3 Duo board. The 'protocol' implemented in this sketch is very simple. It expects 3 bytes [BANK, REGISTER, DATA]
 * for every register write to one of the chips.
 *
 * The BANK is defined as follows:
 *    bits 7 .. 2 - Unused
 *    bit  1      - Chip 0 or 1
 *    bit  0      - Bank 0 or 1
 * The REGISTER sets the register of the selected chip and bank to write to.
 * The DATA defines the data to write to the selected register.
 *
 * You can change and improve the serial transfer to suit your application.
 *
 * Code by <NAME>, 2020-11-07
 * WWW.CHEERFUL.NL
 * Most recent version of the library can be found at my GitHub: https://github.com/DhrBaksteen/ArduinoOPL2
 */

#include <SPI.h>
#include <OPL3Duo.h>

#define NUKEYKTPROTO 0

OPL3Duo opl3Duo;

{'fraction_non_alphanumeric': 0.07397260273972603, 'fraction_numerical': 0.025753424657534246, 'mean_word_length': 3.075892857142857, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '413238', 'n_tokens_mistral': 608, 'n_tokens_neox': 565, 'n_words': 272}