4 ms·
You can also use a single note sample (eg, C4) and tweak the playback frequency. This is how some keyboards do it. Also tracked music does it, simple and cheap.
by pcardoso 5y ago
You can also use a single note sample (eg, C4) and tweak the playback frequency. This is how some keyboards do it. Also tracked music does it, simple and cheap.
- afandian 5y agoThanks! I played with trackers a lot in my youth! I mostly want different samples beecause I'm lazy, I'm trying to build something with an ESP32 and didn't want to put the effort into downsampling.
- munificent 5y agoYou can definitely do this, but at a very large cost in sound quality. Most instruments that you're trying to emulate have timbre that varies widely across their frequency range. A piano key on the left side of the keyboard sounds very different from a piano key on the right side recorded and pitched down. This is why sample-based instruments are generally multisampled. It's not to avoid resampling, which is generally efficient and sounds good. It's to accommodate timbre changes.