![]() |
Upgraded push buttons - Printable Version +- Moode Forum (https://moodeaudio.org/forum) +-- Forum: moOde audio player (https://moodeaudio.org/forum/forumdisplay.php?fid=3) +--- Forum: Feature requests (https://moodeaudio.org/forum/forumdisplay.php?fid=8) +--- Thread: Upgraded push buttons (/showthread.php?tid=2438) |
Upgraded push buttons - pkdick - 04-28-2020 Hello everyone, I am building a DIY Audio setup based on the ALLO KATANA DAC and Moode. I have ordered many push-buttons and a rotary coder and after wiring, all Moode's options are working very nicely. However, it is very difficult to get all typical options that you have with a regular hifi system : it is easy to get "PREV" and "NEXT" buttons associated with a third button with "MPC TOGGLE", but to manage other functions (like to create a playlist for example), it seems to be much more difficult. One option that I would personally have would be able to "cycle" actions when making multiple press on the same button: for example, to have "Repeat"/"Single"/"Random" for a song in an existing playlist. I remember that Tim explained that it is possible to associate a "button" with a a Bash script, but due to my very low programing knowledge, I do not see how to get such a possibility. I am maybe asking too much from Moode (I understand that this software is mainly designed to be used with a tactile interface), but I thank in advance anyone that could bring to me a piece of advice on how to do to upgrade the currently offered "push-button options" . Best regards, RE: Upgraded push buttons - owagott - 04-29-2020 For example, you can use this script and add the function time. When starting the script, read time, from the last call and compare with the current time. Code: #!/bin/bash if the value $delta is small, you pressed the button twice. like this you can extend the functions RE: Upgraded push buttons - pkdick - 04-29-2020 (04-29-2020, 07:12 AM)owagott Wrote: For example, you can use this script and add the function time. Thank you for this proposal. I will look into it and see what I can do with it. Best regards, |