Build your own alternative to Vidami for guitar practice, for around $30. See below for parts list and build plans.
Features:
Control YouTube or local videos with a foot pedal. Actually offers a few more features than Vidami does
- Play / pause
- Speed up / Slow down
- Set / Release a Loop
- Lengthen / Shorten the Loop
- Shift the Loop Forward / Back
No browser plug-ins required. The pedal works by replicating keystrokes that are programmed to control features on the site below.
The pedal is designed to work with one particular website only.
slowpedal.com
You can reach the same site directly here:
https://adfit11.github.io/slowpedal/
The code for this app is open source, and available at:
https://github.com/adfit11/slowpedal
you may download it to run locally if you wish. I also welcome improvements to the code you find here. Contribute if you feel moved to! I have an email address for the project if you'd like to contact me - slowpedalproject@gmail.com
1 x ATmega32U4 Pro Micro Development Board (USBC)
You can use what you like for the rest, but here's what I used:
1 x Enclosure 114x200x40mm
1 x Prototyping board trimmed to 97x192mm in mine
8 x Momentary buttons (Normally Open), in colours to match the app (1BLK, 1BLU, 2RED, 2GRN, 2YEL)
8 X 10K OHM 1/2W Resistors
1 x USB-C case mounting
Shielded Wire
Bare Wire
Long USB-C to your-computer cable
Wire according to the following schematic:
It will look something like this. My switches have NO/NC options. NO is the centre. NC is soldered to nothing, just to hold it in place:
Nice side (switches to contol pins):

With all this done ensure you have holes drilled in your casing to accomodate the buttons. There will be no need to affix the prototyping board to the case, as the button mounts will do that.
I have a USB-C housing mounted in the pedal casing, to connect the computer to the dev board with a standard USB-C cable.
The ATmega32U4 Pro Micro can be programmed using the Arduino IDE (download here) and will emulate a keyboard if you just call on the libraries to do so.
With the IDE downloaded and installed, connect the ATmega32U4 to the computer, ensuring it is recognised by the software. It'll probably be identified as Arduino 'Something'
Select the device and "Upload" ➡ the following code to the Dev board :
#include <Keyboard.h> //Including the keyboard library
#include <Mouse.h> //Including the mouse library
int pin2_PlayPause_Space = 2; //Declaring variables for the pins
int pin3_Slower_A = 3;
int pin4_Faster_S = 4;
int pin5_Loop_J = 5;
int pin6_Back_D = 6;
int pin7_Forward_F = 7;
int pin8_Longer_G = 8;
int pin9_Shorter_H = 9;
void setup() {
pinMode(pin2_PlayPause_Space, INPUT_PULLUP); //Set up the internal pull-ups resistors
pinMode(pin3_Slower_A, INPUT_PULLUP);
pinMode(pin4_Faster_S, INPUT_PULLUP);
pinMode(pin5_Loop_J, INPUT_PULLUP);
pinMode(pin6_Back_D, INPUT_PULLUP);
pinMode(pin7_Forward_F, INPUT_PULLUP);
pinMode(pin8_Longer_G, INPUT_PULLUP);
pinMode(pin9_Shorter_H, INPUT_PULLUP);
}
void loop() {
if (digitalRead(pin2_PlayPause_Space) == LOW) //Checking which switch has been pressed
{
Keyboard.write(' ');
delay(200);
}
if (digitalRead(pin3_Slower_A) == LOW)
{
Keyboard.write('a');
delay(200);
}
if (digitalRead(pin4_Faster_S) == LOW)
{
Keyboard.write('s');
delay(200);
}
if (digitalRead(pin5_Loop_J) == LOW)
{
Keyboard.write('j');
delay(200);
}
if (digitalRead(pin6_Back_D) == LOW)
{
Keyboard.write('d');
delay(200);
}
if (digitalRead(pin7_Forward_F) == LOW)
{
Keyboard.write('f');
delay(200);
}
if (digitalRead(pin8_Longer_G) == LOW)
{
Keyboard.write('g');
delay(200);
}
if (digitalRead(pin9_Shorter_H) == LOW)
{
Keyboard.write('h');
delay(200);
}
}
As you can probably see in the code, a successfully programmed pedal will effectively be an 8 key wired keyboard (try it in a text editor). Your actual keyboard can control the site using those keys as well.
Have fun!

