stardance has been extended another month! the new deadline is october 31 :)

You are browsing as a guest. Sign up (or log in) to start making projects!

Soundboard

  • 6 Devlogs
  • 8 Total hours
Open comments for this post

2h 6m 41s logged

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.

0
0
41
Open comments for this post

2h 41m 40s logged

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:

  1. The include for napi.h in my cpp file that acted as my bridge didn’t work so to fix it I added a json file in the .vscode file that had paths for the napi file which ended up working. Though it seems like a simple fix I was searching for a file in my computer that didn’t exist. I was expecting there to be a node-gyp folder in my appdata folder but there wasn’t so I looked in other spots and tryed finding roundabout methods but then I found a command that allowed me to easily get that node-gyp folder where I needed it to be.
  2. The other problem was that I kept getting an error when trying to build through node-gyp. I didn’t feel like reading the console output so I just put it into AI which kept giving me wrong answers. Eventually I decided to read it myself and found that the AI I was using was targeting the wrong file path and my node-gyp folder in appdata that I created earlier was missing some files. So lesson learned: read the console before asking AI so it doesn’t waste my time 😭

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.

0
0
26
Open comments for this post

1h 1m 49s logged

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

1
0
5
Open comments for this post

29m 24s logged

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.

0
0
6
Open comments for this post

48m 40s logged

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.

1
0
5
Open comments for this post

1h 16m 17s logged

Made the project file layout stuff, added basic code, and started experimenting with electron. Mainly figured out how IPC works

1
0
4

Delete project?

Are you sure you want to permanently delete this project? This action cannot be undone.

All devlogs, followers, and associated data will be removed.

Followers

Loading…