Hi, Silly question. What would be a good choice to play an audio CD in Crux? I cannot find any obvious candidate in ports. Thanks, Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
Wawrzek Niewodniczanski wrote in <CAC7-vpBMVvR3CUTHkV_F_P60LSfbMAiudE_9acMiCS847s8QSg@mail.gmail.com>: |Hi, | |Silly question. What would be a good choice to play an audio CD in |Crux? I cannot find any obvious candidate in ports. If all else fails take my s-cdda and play the ripped wav file. (Or any other ripper, but it is very small and should just do it. I have not used anything else in a long time, works here. #?0|kent:steffen$ ll /usr/bin/s-cdda -rwxr-xr-x 1 root root 26664 Jan 18 2022 /usr/bin/s-cdda* ... # Read track number 2 to track-2.wav $ s-cdda -r 2 > track-2.wav) (Or install an OpenBSD VM and use cdio(1).) --steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) |~~ |..and in spring, hear David Leonard sing.. | |The black bear, The black bear, |blithely holds his own holds himself at leisure |beating it, up and down tossing over his ups and downs with pleasure |~~ |Farewell, dear collar bear
On 2023年05月21日 23:47, Steffen Nurpmeso wrote:
Wawrzek Niewodniczanski wrote in <CAC7-vpBMVvR3CUTHkV_F_P60LSfbMAiudE_9acMiCS847s8QSg@mail.gmail.com>: |Hi, | |Silly question. What would be a good choice to play an audio CD in |Crux? I cannot find any obvious candidate in ports.
If all else fails take my s-cdda and play the ripped wav file. (Or any other ripper, but it is very small and should just do it. I have not used anything else in a long time, works here.
#?0|kent:steffen$ ll /usr/bin/s-cdda -rwxr-xr-x 1 root root 26664 Jan 18 2022 /usr/bin/s-cdda*
... # Read track number 2 to track-2.wav $ s-cdda -r 2 > track-2.wav)
(Or install an OpenBSD VM and use cdio(1).)
--steffen | |Der Kragenbaer, The moon bear, |der holt sich munter he cheerfully and one by one |einen nach dem anderen runter wa.ks himself off |(By Robert Gernhardt) |~~ |..and in spring, hear David Leonard sing.. | |The black bear, The black bear, |blithely holds his own holds himself at leisure |beating it, up and down tossing over his ups and downs with pleasure |~~ |Farewell, dear collar bear _______________________________________________ CRUX mailing list CRUX@lists.crux.nu https://lists.crux.nu/mailman/listinfo/crux
For easy mode, simply install VLC (yenjie's collection), load the CD from there, and call it a day. Of course you can use it as a ripper too. -- lain.
Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
Silly question. What would be a good choice to play an audio CD in Crux? I cannot find any obvious candidate in ports.
It's not a silly question. Now that manufacturers of optical drives have mostly stopped providing an analog audio output, the burden of decoding CD-audio in real time has shifted from hardware to software. Many GUI programs quickly adapted and provided support for CDDA extraction, but text-mode programs often lagged behind [1]. Among the few text-mode apps that implemented support for on-the-fly extraction of digital audio data (rather than a two-step process of ripping and playback), there are mpv and mpd. These days I tend to prefer mpv (with ~/.config/mpv/mpv.conf having the single line cdda-speed=4), since I don't have to remember to clear a playlist after the disc is done. The contrib collection has ports for both mpv and mpd, but I can see why it might be difficult to search for them. Neither `prt-get dsearch cdda` nor `prt-get dependent --all libcdio-paranoia` turns up mpv or mpd in the search results. You do find these ports with a manual search of the optional dependencies, though: grep -lr '^# Optional: .*libcdio-paranoia' /usr/ports/contrib If you want a more familiar interface for searching through the optional dependencies, my fork of prt-get will do the job [2]. Just run `prt-get dependent --all --softdeps libcdio-paranoia` to see all the ports that would be eagerly linked to the cdio-paranoia libraries if found at compile-time. The --softdeps switch has analogous effects with other commands, mostly useful when running sysup, install, update, or deptree. If this fork gets more extensive testing, then maybe some of the new features will land in CRUX 3.8. [1] https://directory.fsf.org/wiki/Cdcd [2] https://git.sdf.org/jmq/prt-get/src/branch/mixed-upinst Best regards, John
On Mon, 22 May 2023 at 17:40, John McQuah <jmcquah@disroot.org> wrote:
Wawrzek Niewodniczanski <main@wawrzek.name> wrote:
[...]. What would be a good choice to play an audio CD in Crux? I cannot find any obvious candidate in ports.
[...]
These days I tend to prefer mpv (with ~/.config/mpv/mpv.conf having the single line cdda-speed=4), since I don't have to remember to clear a playlist after the disc is done.
What an excellent response. Thank you, John. I'm writing it listening to a CD ;-) I probably stick with mpv, but your reference to the mpd, pushed me finally to install it and that might be good for other usecases. [...]
If you want a more familiar interface for searching through the optional dependencies, my fork of prt-get will do the job [2]. Just run `prt-get dependent --all --softdeps libcdio-paranoia` to see all the ports that would be eagerly linked to the cdio-paranoia libraries if found at compile-time.
Thanks for the hint. I'm going to give it a try. Regards, Wawrzek -- Dr Wawrzyniec Niewodniczański or Wawrzek for short PhD in Quantum Chemistry & MSc in Molecular Engineering WWW: http://wawrzek.name E-MAIL: jobs@wawrzek.name Linux User #177124
participants (4)
-
John McQuah
-
lain.
-
Steffen Nurpmeso
-
Wawrzek Niewodniczanski