everything related to duct tape audio suite (dtas)
 help / color / mirror / code / 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	[thread overview]
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	other threads:[~2016-01-05  9:05 UTC|newest]

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: https://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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://80x24.org/dtas.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).