comparison CollidoscopeApp/include/Config.h @ 16:4dad0b810f18

Comment tidy up + attributions
author Fiore Martin <f.martin@qmul.ac.uk>
date Tue, 16 Aug 2016 14:27:53 +0100
parents 75b744078d66
children
comparison
equal deleted inserted replaced
15:5241f96479d6 16:4dad0b810f18
64 { 64 {
65 return mWaveLen; 65 return mWaveLen;
66 } 66 }
67 67
68 /** 68 /**
69 * Returns wave's selection color 69 * Returns wave selection color
70 */ 70 */
71 ci::Color getWaveSelectionColor(size_t waveIdx) const 71 ci::Color getWaveSelectionColor(size_t waveIdx) const
72 { 72 {
73 if (waveIdx == 0){ 73 if (waveIdx == 0){
74 return cinder::Color(243.0f / 255.0f, 6.0f / 255.0f, 62.0f / 255.0f); 74 return cinder::Color(243.0f / 255.0f, 6.0f / 255.0f, 62.0f / 255.0f);
121 } 121 }
122 122
123 /** 123 /**
124 * The value returned is used when creating the oscilloscope. 124 * The value returned is used when creating the oscilloscope.
125 * The oscilloscope represents the audio output buffer graphically. However it doesn't need to be as refined as the 125 * The oscilloscope represents the audio output buffer graphically. However it doesn't need to be as refined as the
126 * audio wave and it's downsampled using the following formula : number of oscilloscope points = size o audio output buffer / getOscilloscopeNumPointsDivider() 126 * audio wave and it's downsampled using the following formula : (number of oscilloscope points) = (size of audio output buffer) / getOscilloscopeNumPointsDivider()
127 */ 127 */
128 size_t getOscilloscopeNumPointsDivider() const 128 size_t getOscilloscopeNumPointsDivider() const
129 { 129 {
130 return 4; 130 return 4;
131 } 131 }