protoplug icon indicating copy to clipboard operation
protoplug copied to clipboard

running on lowend/embedded devices

Open coderofsalvation opened this issue 11 years ago • 2 comments
trafficstars

Hi,

Congrats with this project. Im using jesusonic a lot, since its an easy way of scripting midi & audio stuff. Questions:

  • does protoplug have multi-audio input, and multi-audio output?
  • have you thought about 'stompbox'-possibilities (protoplug as a guitar-pedal)?

Concerning the last question, I think this is an interesting area. These days lots of 32bit devices can be hacked and flashed with linux (for example: the pogoplug or netgear routers can run debian or archlinux).

hope all is well

coderofsalvation avatar Jun 26 '14 10:06 coderofsalvation

I've only used protoplug for stereo so far, it's true that multi-channel isn't even mentioned anywhere. As of now, you can build an n-channel effect version like this :

  1. make a copy of the FxBuilds folder, call it FxBuilds_4ch for example
  2. get the Introjucer (it comes with JUCE) and open the copied protoplug_fx.jucer file
  3. change the "Plugin Channel Configurations" setting to the desired value and save/close the jucer. This will modify the makefiles and projects for all platforms.
  4. rebuild the Fx with your compiler of choice
  5. modify or copy include/core/StereoFx.lua (just add your channels alongside LChannel and RChannel.)

All the included effects should then work on n channels when run inside the newly compiled protoplug Fx, if they include the modified version of StereoFx.lua.

Of course I should make all this generic, it should be MultiChannel.lua and not StereoFx.lua, and it should handle n channels without modification. Still, I'm pretty sure the number of channels needs to be set at compile time, and most hosts can't handle dynamically changing the channels.

There's also a JUCE feature I haven't tried, which is to make a standalone version of the plugin (like Jesusonic is to ReaJS). This would make it easier to use protoplug on a small dedicated machine, but you'll still need a screen and keyboard at some point! I think it lets you choose the channel configuration when it starts up too.

pac-dev avatar Jun 26 '14 13:06 pac-dev

Cool, about the multichannel effect: you might want to check out how jesusonic solved this. They have an jesusonic.ini file sitting next to the plugin. In the .ini file you can increase the in/out channels. Maybe that's an solution to host-compatibility for protoplug as well?

coderofsalvation avatar Jun 30 '14 08:06 coderofsalvation