Momentary switch to Play Next Track

General Help and support for the Taranis Radio.
Post Reply
GaRCfield
Posts: 2
Joined: Wed May 01, 2019 9:01 pm
Country: -

Momentary switch to Play Next Track

Post by GaRCfield »

Hello,

I'm new to this forum and Open-source Tx. I would like my radio to play a list of audio tracks in a specific order upon activation of a momentary switch. For example, activate Switch A once and hear Track 1 through completion, then activate Switch A again and hear Track 2 through completion. Is there a way to do this?

Thanks for your help!

User avatar
jhsa
Posts: 19480
Joined: Tue Dec 27, 2011 5:13 pm
Country: Germany

Re: Momentary switch to Play Next Track

Post by jhsa »

You could flash your radio with Ersky9x. It has a "music" player. You can play single files or albums. You can do Start, stop, Pause, next and previous. You can assign a switch for every function. Here is a little video of my radio's music player.

https://www.youtube.com/watch?v=2-kZZPydQdw

João
My er9x/Ersky9x/eepskye Video Tutorials
https://www.youtube.com/playlist?list=PL5uJhoD7sAKidZmkhMpYpp_qcuIqJXhb9

Donate to Er9x/Ersky9x:
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=YHX43JR3J7XGW
GaRCfield
Posts: 2
Joined: Wed May 01, 2019 9:01 pm
Country: -

Re: Momentary switch to Play Next Track

Post by GaRCfield »

Someone posted a solution on the RC Groups forum. I should be able to set a custom switch (function?) to have momentary switch increase GVAR(x), then a logic switch for each track I want to play with an associated GVAR(x) value.

I don't know the 'code' off-hand but the idea is something like this:

On: GVAR9=0
Momentary (short): Increase GVAR9 +1
Momentary (long): Set GVAR9 = 0

x~a: GVAR9 = 1, Play Track 1
x~a: GVAR9 = 2, Play Track 2
etc.

Post Reply

Return to “General help (FrSky Taranis radio)”