Nucleo F401REでFM音源を実装するやつ の実装途中で32ポリ音源にしたやつ 外部DACとオペアンプを利用 現在はMCP4922とNJM2737
Dependencies: AOTTrigon I2CEEPROM MCP4922 mbed
Main.h
00001 #pragma once 00002 00003 #include <string> 00004 #include <new> 00005 #include "mbed.h" 00006 #include "MCP4922.h" 00007 #include "AOTTrigon.h" 00008 #include "I2CEEPROM.h" 00009 #include "MIDI.h" 00010 #include "MIDIUtil.h" 00011 #include "Operator.h" 00012 00013 #define M_PI 3.14159265358f 00014 00015 #define NUFM401_VENDOR 0x0801 00016 #define NUFM401_PRODUCT 0x0201 00017 #define NUFM401_RELEASE 0x0001 00018 00019 void setDebugFrequency(double f); 00020 void globalattack(unsigned short st,char vel); 00021 void globalrelease(unsigned short st);
Generated on Sat Jul 16 2022 07:34:51 by 1.7.2