Nucleo F401REでFM音源を実装するやつ の実装途中で32ポリ音源にしたやつ 外部DACとオペアンプを利用 現在はMCP4922とNJM2737
Dependencies: AOTTrigon I2CEEPROM MCP4922 mbed
Diff: Main.h
- Revision:
- 11:62da91a1eaf1
- Parent:
- 10:0ffdefe75566
--- a/Main.h Mon Dec 29 09:01:10 2014 +0000 +++ b/Main.h Mon Dec 29 12:48:44 2014 +0000 @@ -3,17 +3,19 @@ #include <string> #include <new> #include "mbed.h" -#include "USBDevice.h" -#include "USBMIDI.h" #include "MCP4922.h" #include "AOTTrigon.h" #include "I2CEEPROM.h" +#include "MIDI.h" #include "MIDIUtil.h" #include "Operator.h" #define M_PI 3.14159265358f - #define NUFM401_VENDOR 0x0801 #define NUFM401_PRODUCT 0x0201 -#define NUFM401_RELEASE 0x0001 \ No newline at end of file +#define NUFM401_RELEASE 0x0001 + +void setDebugFrequency(double f); +void globalattack(unsigned short st,char vel); +void globalrelease(unsigned short st); \ No newline at end of file