I’m going to implement a multitrack recording functionality in my program.
What I’m trying to achieve is the classic audio recording system that many programs already have, like protools, cubase, logic, etc.
I’d like to have some tips, in order to show an audioThumbnail of the file being recorded.
What I learned since now is that the AudioThumbnail class can paint an image from an InputSource.
So, how can I create an InputSource from a file that isn’t yet complete (because I’m recording in it)?
Basically, I’m thinking of:
- creating a new empty file
- write audio samples in it
- repaint the thumbnail
But maybe I’m thiking really wrong!
Any help is appreciated!