Post

Visualizzazione dei post da gennaio, 2022

Control Raspberry GPIO pins

A short recap, I need:   - 8 GPIO pins to select presets - 2 GPIO pins to select bank value - 1 GPIO pins to control a LED (for example, Raspberry OS and Plug up and running, or Raspberry shutting down).   Raspberry pin -  BCM pin   01 - 3v3 02 - 5v 03 - gpio02 04 - 5v 05 - gpio03 06 - gnd 07 - gpio04 08 - gpio14 09 - gnd 10 - gpio15 11 - gpio17 12 - gpio18 13 - gpio27 14 - gnd 15 - gpio22 16 - gpio23 17 - 3v3 18 - gpio24 19 - gpio10 20 - gnd 21 - gpio09 22 - gpio25 23 - gpio11 24 - gpio08 25 - gnd 26 - gpio07 27 - ID_SD 28 - ID_SC 29 - gpio05 30 - gnd 31 - gpio06 32 - gpio...

Compile Plug on Raspberry pios 11

Finding all the packages needed for the compilation on my raspberry pios 11 took less time than ubuntu. To compile Plug from source code I needed to install the following packages: apt-get install cmake libusb-1.0-0-dev googletest qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libgmock-dev  apt suggests to install also cmake-doc ninka-build  I got the source code from GitHub: wget  https://github.com/offa/plug/ archive/refs/heads/master.zip Then I unzipped the code and cd to the source folder; from source folder I run the following commands: mkdir build && cd build  cmake ..  make  make unittest  make install Now I can edit and modify the original source code. Please note: the compilation process required more time on Raspberry than on my i5 laptop

Compile Plug on Ubuntu 21.10

I'm not a developer and the last time I compiled a C source code was in the 90's on Commodore Amiga, using GCC.  Finding all the packages needed for the compilation on my Ubuntu 21.10 laptop took a long time and I had to understand how CMakefile works, but in the end I succeded! To compile Plug from source code I needed to install some packages: apt-get install unzip cmake libusb-1.0-0-dev build-essential pkg-config googletest qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libgmock-dev I got the source code from GitHub: wget  https://github.com/offa/plug/ archive/refs/heads/master.zip Then I unzipped the code and cd to the source folder; from source folder I run the following commands: mkdir build && cd build cmake .. make make unittest make install When the compilation completed, I run the executable: plug

Plug software for Fender Mustang

Immagine
Fender Mustang amplifiers are digital guitar amplifiers. Customers can connect the amplifier to PC via USB port and control settings using the Fender FUSE application for Windows. A couple of months ago, I bought a used Mustang v1 amplifier on ebay for only 60€. On March 2020, Fender dropped official support for FUSE (and I also prefer to use Linux) so I did a little internet search and found an alternative open source software, "Plug". https://github.com/offa/plug I tried Plug on Ubuntu laptop and It worked. But I didn't want to take a laptop with me to play guitar, so I decided to  try Plug on a small Raspberry Pi Zero 2 W and it worked fine. My Mustang amplifier can store 24 presets (8 presets, 3 banks), but the Fender footswitch allows to select only 2 presets. It would be nice to select all of them using a footswitch instead of a PC keyboard...