Implementation of Bytebeat algorithm on Pokitto. Bytebeat is generated music which is made by algorithm using usually one line function. The music is created as 8-bit samples. The simplest Bytebeat function is " t & (t>>8)" which combines two sawtooth waves: one higher frequency tone (t) and the other lower frequency (t<<8) tone. Read more in: http://countercomplex.blogspot.fi/2011/10/algorithmic-symphonies-from-one-line-of.html
Dependencies: PokittoLib
ByteBeat3 - mathematical beats
Implementation of Bytebeat algorithm on Pokitto. Bytebeat is generated music which is made by algorithm using usually one line function. The music is created as 8-bit samples.
The simplest Bytebeat function is " t & (t>>8)" which combines two sawtooth waves: one higher frequency tone (t) and the other lower frequency (t<<8) tone.
Read more in: http://countercomplex.blogspot.fi/2011/10/algorithmic-symphonies-from-one-line-of.html
Diff: My_settings.h
- Revision:
- 0:89ca7e98cd78
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/My_settings.h Fri Mar 30 20:09:40 2018 +0000 @@ -0,0 +1,26 @@ +/**************************************************************************/ +/*! + @file My_settings.h + @author XX + + @section HOW TO USE My_settings + + My_settings can be used to set project settings inside the mbed online IDE +*/ +/**************************************************************************/ + +#ifndef MY_SETTINGS_H +#define MY_SETTINGS_H + +#define PROJ_HIRES 1 // 1 = high resolution (220x176) , 0 = low resolution fast mode (110x88) +#define PROJ_ENABLE_SOUND 1 // 0 = all sound functions disabled +#define PROJ_STREAMING_MUSIC 1 // 1 = enable streaming music from SD card +#define PROJ_AUD_FREQ 11025 // 44100 //22050 //11025 +#define PROJ_STREAM_TO_DAC 1 // 1 use DAC for stream, 0 = use PWM for stream +#define PROJ_USE_PWM 1 // 1 use PWM, 0 do not use PWM +#define PROJ_GBSOUND 0 // 1 = use Gamebuino-compatible sound interrupt (choose this or the one below) +#define PROJ_ENABLE_SYNTH 0 // 1 = use Rboy-compatible sound interrupt +#define PROJ_GAMEBUINO 0 // 1 if you are making a Gamebuino-based graphics mode (84x48) +//#define PROJ_SHOW_FPS_COUNTER + +#endif