attempt at tracker style music
My_settings.h@13:8ce494870ba6, 2018-11-17 (annotated)
- Committer:
- spinal
- Date:
- Sat Nov 17 16:33:51 2018 +0000
- Revision:
- 13:8ce494870ba6
- Parent:
- 12:37d999e445ad
- Child:
- 14:97a5deea7c94
- Child:
- 15:209481812170
having an error with this one
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Pokitto | 4:7bd192389df1 | 1 | /* This is an example of how to set your own project settings |
Pokitto | 4:7bd192389df1 | 2 | |
Pokitto | 4:7bd192389df1 | 3 | To use |
Pokitto | 4:7bd192389df1 | 4 | |
Pokitto | 4:7bd192389df1 | 5 | 1. make a copy of this file by pressing right mouse button on top of this file |
Pokitto | 4:7bd192389df1 | 6 | in the mbed online compiler, then choose "Clone" |
Pokitto | 4:7bd192389df1 | 7 | |
Pokitto | 4:7bd192389df1 | 8 | 2. See that the copy is in the root of the project (where your main cpp files are), not inside the PokittoLib folder |
Pokitto | 4:7bd192389df1 | 9 | Drag & drop to move if needed |
Pokitto | 4:7bd192389df1 | 10 | |
Pokitto | 4:7bd192389df1 | 11 | 3. rename the clone to "My_settings.h" |
Pokitto | 4:7bd192389df1 | 12 | |
Pokitto | 4:7bd192389df1 | 13 | */ |
Pokitto | 4:7bd192389df1 | 14 | |
spinal | 13:8ce494870ba6 | 15 | #ifndef MY_SETTINGS_H |
spinal | 13:8ce494870ba6 | 16 | #define MY_SETTINGS_H |
spinal | 13:8ce494870ba6 | 17 | |
spinal | 13:8ce494870ba6 | 18 | #define PROJ_HIRES 1 // 1 = high resolution (220x176) , 0 = low resolution fast mode (110x88) |
spinal | 13:8ce494870ba6 | 19 | #define PROJ_ENABLE_SOUND 1 // 0 = all sound functions disabled |
spinal | 13:8ce494870ba6 | 20 | #define PROJ_STREAMING_MUSIC 1 // 1 = enable streaming music from SD card |
spinal | 13:8ce494870ba6 | 21 | #define PROJ_AUD_FREQ 22050 // 44100 //22050 //11025 |
spinal | 13:8ce494870ba6 | 22 | #define PROJ_STREAM_TO_DAC 1 // 1 use DAC for stream, 0 = use PWM for stream |
spinal | 13:8ce494870ba6 | 23 | #define PROJ_USE_PWM 1 // 1 use PWM, 0 do not use PWM |
spinal | 13:8ce494870ba6 | 24 | #define PROJ_GBSOUND 0 // 1 = use Gamebuino-compatible sound interrupt (choose this or the one below) |
spinal | 13:8ce494870ba6 | 25 | #define PROJ_ENABLE_SYNTH 0 // 1 = use Rboy-compatible sound interrupt |
spinal | 13:8ce494870ba6 | 26 | #define PROJ_GAMEBUINO 0 // 1 if you are making a Gamebuino-based graphics mode (84x48) |
spinal | 13:8ce494870ba6 | 27 | //#define PROJ_SHOW_FPS_COUNTER |
spinal | 13:8ce494870ba6 | 28 | |
spinal | 13:8ce494870ba6 | 29 | #endif |