Adding more CSound models

This commit is contained in:
2025-10-13 13:45:33 +02:00
parent 580aa4b96f
commit 38479f0253
31 changed files with 1458 additions and 23 deletions

View File

@ -23,7 +23,7 @@ interface SnareParams {
export class Snare implements SynthEngine {
getName(): string {
return 'Snare';
return 'Noise Snare';
}
getDescription(): string {
@ -34,6 +34,10 @@ export class Snare implements SynthEngine {
return 'generative' as const;
}
getCategory() {
return 'Percussion' as const;
}
randomParams(pitchLock?: PitchLock): SnareParams {
return {
baseFreq: pitchLock ? this.freqToParam(pitchLock.frequency) : 0.3 + Math.random() * 0.4,