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

Committer:
Haviital
Date:
Fri Mar 30 20:09:40 2018 +0000
Revision:
0:89ca7e98cd78
First version

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Haviital 0:89ca7e98cd78 1 /**************************************************************************/
Haviital 0:89ca7e98cd78 2 /*!
Haviital 0:89ca7e98cd78 3 @file My_settings.h
Haviital 0:89ca7e98cd78 4 @author XX
Haviital 0:89ca7e98cd78 5
Haviital 0:89ca7e98cd78 6 @section HOW TO USE My_settings
Haviital 0:89ca7e98cd78 7
Haviital 0:89ca7e98cd78 8 My_settings can be used to set project settings inside the mbed online IDE
Haviital 0:89ca7e98cd78 9 */
Haviital 0:89ca7e98cd78 10 /**************************************************************************/
Haviital 0:89ca7e98cd78 11
Haviital 0:89ca7e98cd78 12 #ifndef MY_SETTINGS_H
Haviital 0:89ca7e98cd78 13 #define MY_SETTINGS_H
Haviital 0:89ca7e98cd78 14
Haviital 0:89ca7e98cd78 15 #define PROJ_HIRES 1 // 1 = high resolution (220x176) , 0 = low resolution fast mode (110x88)
Haviital 0:89ca7e98cd78 16 #define PROJ_ENABLE_SOUND 1 // 0 = all sound functions disabled
Haviital 0:89ca7e98cd78 17 #define PROJ_STREAMING_MUSIC 1 // 1 = enable streaming music from SD card
Haviital 0:89ca7e98cd78 18 #define PROJ_AUD_FREQ 11025 // 44100 //22050 //11025
Haviital 0:89ca7e98cd78 19 #define PROJ_STREAM_TO_DAC 1 // 1 use DAC for stream, 0 = use PWM for stream
Haviital 0:89ca7e98cd78 20 #define PROJ_USE_PWM 1 // 1 use PWM, 0 do not use PWM
Haviital 0:89ca7e98cd78 21 #define PROJ_GBSOUND 0 // 1 = use Gamebuino-compatible sound interrupt (choose this or the one below)
Haviital 0:89ca7e98cd78 22 #define PROJ_ENABLE_SYNTH 0 // 1 = use Rboy-compatible sound interrupt
Haviital 0:89ca7e98cd78 23 #define PROJ_GAMEBUINO 0 // 1 if you are making a Gamebuino-based graphics mode (84x48)
Haviital 0:89ca7e98cd78 24 //#define PROJ_SHOW_FPS_COUNTER
Haviital 0:89ca7e98cd78 25
Haviital 0:89ca7e98cd78 26 #endif