Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
master.h
00001 #ifndef __MASTER_H__ 00002 #define __MASTER_H__ 00003 00004 00005 #define MASTER_BEATTICK (500) //length of beat in ticks. 500 = 120bpm i.e. 1 beat = 500ms (this is overridden when MIDI clock received) 00006 00007 00008 extern volatile uint16_t master_index; //position in master_output wavetable 00009 extern unsigned char master_output[WAVE_LEN]; //output wavetable 00010 extern unsigned char master_output_ch2[WAVE_LEN]; //output wavetable 00011 extern unsigned long master_tick; //current tick. used for all timing of lfos, arp and envs 00012 extern unsigned long master_ocr1; //interrupt frequency (sets pitch of synth) 00013 00014 00015 void Master_Let_SampleFreq(void); 00016 unsigned long Master_Get_SampleFreq(void); 00017 00018 00019 #endif // __MASTER_H__
Generated on Mon Jul 18 2022 18:20:47 by
1.7.2