Psycokwet / bassaudio-updated

Other
10 stars 2 forks source link

BASSMIDI #14

Open cimd opened 2 years ago

cimd commented 2 years ago

Hi @Psycokwet , great job on the wrapper.

Any chance you could add the BASSMIDI addon (Windows x64 and Raspberry Pi) to it?

Psycokwet commented 2 years ago

Hello :)

Thank you ! Well, I've looked into my files, and I did ? You can see how to use addons here : https://github.com/Psycokwet/bassaudio-updated/blob/master/examples/single_track_with_addons.js Even though this example show how to load every available plugin, you can dig a bit more into the code to see how you can load only one :) By using bass.BASS_PluginLoad(...) with the right path, it will do what you want :). So what's your issue here ?

For raspberry pi however, I did not test anything, nor I thought of doing anything for it yet, did you try some stuff on raspberry py ? How did it go ?

cimd commented 2 years ago

Thanks for the quick reply.

I haven't been able to build the project just yet. Just by requiring:

var bass = require("bassaudio-updated")

I get:

Error: Cannot find module './setters\setCallbacks.js'

I'll take a look at it over the weekend.

Psycokwet commented 2 years ago

That's your result on raspberry pi I guess ? Maybe that's a problem with how paths are handled with raspberry pi. Let me know how it goes :) I will be glad to help if I can !

cimd commented 2 years ago

That's on MS Windows still.

Psycokwet commented 2 years ago

Oh really ? That's weird, I will test when I get home. Let me know if you make it work in the mean time :)