Soundboard
- 6 Devlogs
- 8 Total hours
So first I changed the C++ function a little and made it return the available capture device names in an array using the OpenPropertyStore function. Since now the function had a different return type I also had to change the wrapper for it so it would work in js. Then I created a dropdown in html. In main.js I had to make a call to IPCRenderer instead of it being the other way around which was new since I need the renderer to replace the dropdown options after the applications loaded in. I did all this so that when I create the virtual driver I know which capture device to take input from and combine the mp3 files with since it can’t use the default device since that would be the virtual driver itself.
Ok so I started using the windows Core Audios APIs and learned how to read its documentation. Currently I’ve created only 1 function that enumerates all available devices and lists them in console logs. In addition to using the windows API, I also connected my C++ files to JS. While doing this I ran into a number of errors which took up majority of the time. So the errors were:
Now after getting all this done I went to run my code and then ran into another error and I don’t feel like looking into that right now so I’m just gonna do that later.
I made the audio file come out of the speaker so that the soundboard user can hear what everyone else does. Now I need to figure out how to make a virtual microphone which i still haven’t done
I renamed some of the event variable since before I had them named as tests, I added more buttons and event handlers for all of those.
So I added a file dialog pop up when you press the button so that the user can choose the file they want to play and use in the soundboard. I made it so that the chosen file is copied into the local app directory so that it isn’t dependent on the external file.
Made the project file layout stuff, added basic code, and started experimenting with electron. Mainly figured out how IPC works