Skip to content

Releases: SamuelMiksits/audiomux

Audiomux v0.2.1 - Horizontal dynamic resizing support

04 Apr 10:38
c3e6dec
Compare
Choose a tag to compare

Feature additions:

  • Horizontally stretches to fit to terminal width, dynamically resizes

Limitations:

  • Can not resize terminal to less than 40 characters wide.
  • Does not handle vertical stretch/resizing, eg., does not stretch to fit entire terminal, and does not resize vertically upon vertical resizing (see "Future feature additions").

Known issues:

  • If terminal is less than 40 characters wide, there is a mechanism that enforces a minimum width limit of 40 anyways, so the user would need to scroll or make the terminal larger again to fit the window. This mechanism unfortunately makes the program indefinitely stuck (until restart) in a state where it will always be 40 characters wide. Using the program in such a small terminal is seen as such a minor edge case that it could be shipped anyways.

Future feature additions (for v0.2.2 release):

  • Add vertical stretch/resizing. This would mean the following:
  1. Make the terminal fit to size vertically. All of the excess vertical space, should be padded with empty rows. The empty rows should be placed above the hotkey legend and its horizontal line.
  2. When resizing, the padded rows should be removed dynamically.
  3. If the terminal is not sufficiently large to fit all of the entries, a "push mode" scrolling mechanism should be implemented, so if the terminal fits 9 sources/sinks, when the cursor is at the 9th source/sink, then the program should scroll down so that the 1st source/sink disappears, and the 10th source/sink should be revealed. Potential issue with this protocol is how multiline-length source/sink descriptions should be handled, they be truncated by this approach (for example if the terminal is only large enough to display the first out of three lines of the last source/sink in the list). Could mitigate this by automatically scrolling down to reveal the last item in the list fully upon highlight, if it was truncated.
  4. Should enforce some vertical limit. Would be ridiculous if the case needs to be handled, where one source/sink takes up 10 rows in the table, but the terminal is only large enough to display 9 rows for example.

Audiomux v0.2.0 - New curses based TUI

27 Feb 20:02
Compare
Choose a tag to compare
Pre-release

Changes to the new curses based TUI. Now looks like:
Audiomux output figure
instead of the old:

Active sink/source:
Default sink: CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
Default source: Meteor condenser microphone Analog Stereo
------------------------------
Selectable sinks/sources:
Sinks: 
1. CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
2. Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
3. Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
4. Meteor condenser microphone Analog Stereo
Sources: 
5. Monitor of CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
6. CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
7. Monitor of Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
8. Starship/Matisse HD Audio Controller Analog Stereo
9. Monitor of Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
10. Monitor of Meteor condenser microphone Analog Stereo
11. Meteor condenser microphone Analog Stereo
Select sink/source with number, 'e' for exit, any input to refresh list

The old version will still be available as release v0.1.0

The program would need to undergo more testing before changing from pre-release to release status

Audiomux v0.1.0 - Original CLI

27 Feb 09:45
Compare
Choose a tag to compare
Pre-release

Original CLI version of the program, has an output format that looks like

Active sink/source:
Default sink: CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
Default source: Meteor condenser microphone Analog Stereo
------------------------------
Selectable sinks/sources:
Sinks: 
1. CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
2. Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
3. Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
4. Meteor condenser microphone Analog Stereo
Sources: 
5. Monitor of CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
6. CA0132 Sound Core3D [Sound Blaster Recon3D / Z-Series / Sound BlasterX AE-5 Plus] Analog Stereo
7. Monitor of Starship/Matisse HD Audio Controller Digital Stereo (IEC958)
8. Starship/Matisse HD Audio Controller Analog Stereo
9. Monitor of Navi 21/23 HDMI/DP Audio Controller Digital Stereo (HDMI 3)
10. Monitor of Meteor condenser microphone Analog Stereo
11. Meteor condenser microphone Analog Stereo
Select sink/source with number, 'e' for exit, any input to refresh list

as an example from my system