everything related to duct tape audio suite (dtas)
 help / color / Atom feed
From: Eric Wong <e@80x24.org>
To: dtas-all@nongnu.org
Subject: dtas-console hotkeys?
Date: Tue, 5 Jan 2016 09:04:53 +0000
Message-ID: <20160105090453.GA30328@dcvr.yhbt.net> (raw)

Unforseen bugs aside, there'll be one user-visible change to dtas-console
for users of software volume control:

    ref: http://80x24.org/dtas.git/patch?id=7bed564d979ce7e

    player: implement software volume control

    This is on a linear scale from 0.0 (mute) to 1.0 (no change)
    This is in the MPRIS spec and mpd as well (scaled to 0-100)

    This changes dtas-console key bindings (0/9) slightly to match
    mplayer more closely.  ReplayGain preamp adjustment has moved from
    '0'/'9' to '7'/'8' keys.  The 'm' key also toggles mute state (the
    pre-mute volume is stored in the dtas-console instance, not in
    dtas-player itself).

Now, I'm also adding the display of the tracklist status for the
"repeat" and "shuffle" states (normally controlled via
"dtas-tl repeat <true|false|1>" and
"dtas-tl shuffle <true|false>" commands)

I figure, maybe there ought to be hotkeys for toggling shuffle
and repeat states from dtas-console.

My main point of reference (the command-line mplayer) doesn't have
hotkeys for setting/toggling those; so I'm not sure what to pick.
Basically, I've always wanted to reuse existing users muscle memory
from existing hotkeys as much as possible; and I figure these are
reasonably common hotkeys in existing music players.

So, maybe 's' (maybe even 'S') to toggle Shuffle.
We're already using 'r'/'R' to cycle through ReplayGain modes;
but maybe we can switch replayGain to 'g'/'G' instead and
use 'r'/'R' to cycle through Repeat states...

Any ideas on what hotkey players to steal^H^H^H^H^Hdraw inspiration from?

...But, I'll soon figure out some of the tracklist impedance mismatches
with mpd emulation and think less about UI on our end; as users will
most likely use mpd clients for this, anyways :)

Anyways, food for thought if you're bored out there.

For reference, all the current hotkeys slated for the v0.13 release
are documented at:

http://80x24.org/dtas.git/plain/Documentation/dtas-console.txt?id=44248402de


                 reply index

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: http://80x24.org/dtas/README

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160105090453.GA30328@dcvr.yhbt.net \
    --to=e@80x24.org \
    --cc=dtas-all@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

everything related to duct tape audio suite (dtas)

Archives are clonable:
	git clone --mirror http://80x24.org/dtas-all
	git clone --mirror http://ou63pmih66umazou.onion/dtas-all

Example config snippet for mirrors

Newsgroups are available over NNTP:
	nntp://news.public-inbox.org/inbox.comp.audio.dtas
	nntp://ou63pmih66umazou.onion/inbox.comp.audio.dtas

 note: .onion URLs require Tor: https://www.torproject.org/

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git