Optimizing audio I/O operations
Hello guys. I'm working on a class project which includes audio input and output. The audios goes through certain processes like fading and mixing to audios together which for wav files around 1 minute duration takes around 5 minutes to be processed before being ready for playing. I was primarily using audioinputstream for the audio manipulations. The only problem was with speed and performance (once the audio is finished created, it plays without any issue).
Is there a way in which while I am building the audio I could play the audio? This would be something like appending each audio section to the end of the audio currently being played. I don't know if my question is understandable, but fundamentally I just want quicker performance. I'm thinking this might be a workable solution. Any help?