|
233 | 233 | #define BARELY_ENUM(EnumType, X) BARELY_C_ENUM(EnumType, X) BARELY_CPP_ENUM(EnumType, X) |
234 | 234 | #else // __cplusplus |
235 | 235 | #define BARELY_ENUM(EnumType, X) BARELY_C_ENUM(EnumType, X) |
236 | | -#endif |
| 236 | +#endif // __cplusplus |
237 | 237 |
|
238 | 238 | /// Arpeggiator modes. |
239 | 239 | #define BARELY_ARP_MODES(ArpMode, X) \ |
|
244 | 244 | BARELY_ENUM(ArpMode, BARELY_ARP_MODES) |
245 | 245 |
|
246 | 246 | /// Oscillator modes. |
247 | | -#define BARELY_OSC_MODES(OscMode, X) \ |
248 | | - X(OscMode, Crossfade, "Linear crossfade between the slice and the oscillator") \ |
249 | | - X(OscMode, Am, "Amplitude modulation applied to the slice by the oscillator") \ |
250 | | - X(OscMode, Fm, "Frequency modulation applied to the slice by the oscillator") \ |
251 | | - X(OscMode, Ma, "Amplitude modulation applied to the oscillator by the slice") \ |
252 | | - X(OscMode, Mf, "Frequency modulation applied to the oscillator by the slice") \ |
253 | | - X(OscMode, Ring, "Ring modulation") |
| 247 | +#define BARELY_OSC_MODES(OscMode, X) \ |
| 248 | + X(OscMode, Crossfade, "Linear Crossfade (slice <-> oscillator)") \ |
| 249 | + X(OscMode, Am, "Amplitude Modulation (oscillator -> slice)") \ |
| 250 | + X(OscMode, Fm, "Frequency Modulation (oscillator -> slice)") \ |
| 251 | + X(OscMode, Ma, "Amplitude Modulation (slice -> oscillator)") \ |
| 252 | + X(OscMode, Mf, "Frequency Modulation (slice -> oscillator)") \ |
| 253 | + X(OscMode, Ring, "Ring Modulation") |
254 | 254 | BARELY_ENUM(OscMode, BARELY_OSC_MODES) |
255 | 255 |
|
256 | 256 | /// Slice modes. |
@@ -308,8 +308,8 @@ BARELY_ENUM(EngineControlType, BARELY_ENGINE_CONTROL_TYPES) |
308 | 308 | X(InstrumentControlType, OscPitchShift, 0.0f, 0.0f, 0.0f, "Oscillator Pitch Shift") \ |
309 | 309 | X(InstrumentControlType, OscShape, 0.0f, 0.0f, 1.0f, "Oscillator Shape") \ |
310 | 310 | X(InstrumentControlType, OscSkew, 0.0f, -1.0f, 1.0f, "Oscillator Skew") \ |
311 | | - X(InstrumentControlType, CrushDepth, 0.0f, 0.0f, 1.0f, "Crush Depth") \ |
312 | | - X(InstrumentControlType, CrushRate, 0.0f, 0.0f, 1.0f, "Crush Rate") \ |
| 311 | + X(InstrumentControlType, CrushDepth, 0.0f, 0.0f, 1.0f, "Bit Crusher Depth") \ |
| 312 | + X(InstrumentControlType, CrushRate, 0.0f, 0.0f, 1.0f, "Bit Crusher Rate") \ |
313 | 313 | X(InstrumentControlType, DistortionMix, 0.0f, 0.0f, 1.0f, "Distortion Mix") \ |
314 | 314 | X(InstrumentControlType, DistortionDrive, 0.0f, 0.0f, 1.0f, "Distortion Drive") \ |
315 | 315 | X(InstrumentControlType, FilterCutoff, 1.0f, 0.0f, 1.0f, "Filter Cutoff") \ |
|
0 commit comments