Skip to content
dave-gu edited this page Feb 24, 2021 · 1 revision

Welcome to the naudio-pythonnet-multitrack-recorder wiki!

Select one or more recording devices on the lefthand side, then click the REC button. The wav files will start saving in the directory. The name will be yyyymmdd-hhmmss.# where the # is the row index of the device.

You can ignore the rest of the interface as it is experimental. The ASIO section records a multi wav (look it up ^_^ i guess there is a multitrack wav format) but I think it's broken in some of these .py files. Unfortunately I think if you don't have any ASIO devices you'll have to debug an error. I can't fix this bug easily because I can't replicate the no asio device status on my system. Anyways this software repository demonstrates the ability to do actual multitrack recording simultaneously in a basic program that uses C# NAudio library with Pythonnet, with wxPython as the GUI library. Something else to know is that I included NAudio.dll which I compiled and removed an error I was receiving from. Also something you should know is you can use ildasm *(which is in the program files (x86)\microsoft sdks) to introspect the dll. The point is that if you use DAWs like FL or Ableton you can't record audio on multiple tracks at the same time without using ASIO, even though that exact thing is possible. I demonstrate the feasibility right here and you can check for yourself as well as use this as a utility. I also had some code that loaded vst fx and let you record the effected audio while playing back a sound file so as you can see I've made a bit of progress in audio programming and there aren't many resources that would show you how to create a recorder like this one so hopefully this is helpful and leads to further adoption of better audio software features such as the one demonstrated here.

screenshot

Clone this wiki locally