three questions (custom setup)
Started by severak




2 posts in this topic
severak

1 posts 1 threads Joined: Oct 2025
Question  13-10-25, 22:09 -
#1
Hi,
I managed to install your version of SamplerBox.

I wanted to use KeyPad hat from DFRobot as both 16x2 display and keys. However I did something bad with configuration so it was silent.

Once I disabled both buttons and i2c lcd display now it has sound. I am even able to connect to wifi hotspot and change some configuration via web app. I am not able to log into ssh as I get "Too many identification failures error." from Putty.

So I have some questions:

1) is it possible to debug it via web app or via logging to SD card? (I need to borrow monitor to be able to debug via HDMI)
2) is it possible to disable velocity or set it to fixed value? (I have somewhat crappy MIDI controller)
3) how to properly config cycling via presets with one button? (It seems this is safest usable variant)

Thanks a lot for any answers.
noek

46 posts 0 threads Joined: Jan 2021
17-10-25, 21:31 -
#2
Hi Severak,

For the login issue: this looks like an error PuTTY gives when trying much ssh-keys without getting a match. For that case you need to define this connection to try password option only.
If you're locked out by the samplerbox itself (using wrong password too often) I'm afraid you're in trouble.

  1. Samplerbox doesn't log (I guess it's disabled for performance reasons). Only option is command line and direct connected keyboard/screen also needs logon (so I hope your issue is within PuTTY and not an account lock).
  2. System default is defined in the configuration.txt with "BOXVELOCITY_MODE = Accurate"; you can change that to "Sample". As velocity behavior can also be governed per sample(set) you need to change this in each sample set having this explicitely defined. So either the %%velmode or %velmode occurences.
  3. Just define the only button you're using in the configuration.txt. But it's a bit of a waste since you have hardware with 4 buttons
Regards, Noek
hansehv

189 posts 17 threads Joined: Dec 2020
17-10-25, 23:15 -
#3
Should you be locked out by the box itself:
The root has same password as pi.
So connecting with direct screen/keyboard and log on as root will give you possibility to unlock the pi account / set a new password.
If you don't want to borrow a monitor, you can also start from scratch, but remember to save the the changes in the config directory to give you a quick start.