Mercurial > hg > svapp
diff audioio/ClipMixer.h @ 349:8d7f39df44ed tony_integration
Quieter clip playback for note layers
author | Chris Cannam |
---|---|
date | Thu, 08 May 2014 15:04:42 +0100 |
parents | 7105604e9803 |
children | 72c662fe7ea3 |
line wrap: on
line diff
--- a/audioio/ClipMixer.h Wed May 07 16:51:04 2014 +0100 +++ b/audioio/ClipMixer.h Thu May 08 15:04:42 2014 +0100 @@ -36,9 +36,12 @@ /** * Load a sample clip from a wav file. This can only happen once: - * construct a new ClipMixer if you want a different clip. + * construct a new ClipMixer if you want a different clip. The + * clip was recorded at a pitch with fundamental frequency clipF0, + * and should be scaled by level (in the range 0-1) when playing + * back. */ - bool loadClipData(QString clipFilePath, float clipF0); + bool loadClipData(QString clipFilePath, float clipF0, float level); void reset(); // discarding any playing notes