Skip to content

Commit

Permalink
post: journal entry week starting 6 January 2025
Browse files Browse the repository at this point in the history
  • Loading branch information
practicalli-johnny committed Jan 11, 2025
1 parent dbea362 commit d7242ca
Showing 1 changed file with 64 additions and 0 deletions.
64 changes: 64 additions & 0 deletions docs/posts/2025/january/06.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
---
title: A freezing start to a new year
date: 2024-01-06
authors:
- practicalli
categories:
- practicalli
tags:
- archlinux
- audacity
- opus
---

Organising my [digital music](#digital-music) and audio books so they all fit nicely on my smart phone (using Opus audio format and VLC to play the music).

[Arch Linux](#arch-linux) recommends not using `pacman -Syu` to update all packages and today I experience why. I can no longer login to the desktop :facepalm: EDIT: this seems to be specific to the NWG-shell configuration, as the vanilla hyprland desktop does work.

I assume this is a breaking change of hyprland that NWG-shell has not resolved. This is another reason to start again with hyprland and build my own config (although this will be a big time sink, so can wait).

Its freezing temperatures outside in London, UK at the moment, so I am trying to get outside when the sun is still shining. The paths are slippy and so are the roads, so even if I felt up to cycling outside, then it could be quite tricky.


<!-- more -->


## Arch Linux

Unless using a distribution like Manjaro then Arch Linux can require more maintenance than using a Debian package based distribution.

`pacman -Syu` command happily updated all my packages and after a reboot I cannot login to the desktop anymore. I assume this was some breaking change of hyprland that is causing the problem.

Rather than use the Nwg ISO for a quicker Hyprland install, I will start from the ArchLinux ISO and at least I will have a clearer idea of what all the configuration files do and where problems could occur as Hyprland continues to evolve.


## Digital Music

I continue to organise my digital music and audio books with a bit of [:globe_with_meridians: Audacity](https://www.audacityteam.org/){target=_blank} magic where editing is required.

[:globe_with_meridians: Audacity](https://www.audacityteam.org/){target=_blank} is an excellent linear audio editor available on all good Operating Systems. Audacity can export edited audio directly to an encoded file format, minimising the resources needed for laruge audio files. I export directly to the [:globe_with_meridians: Opus audio format](https://en.wikipedia.org/wiki/Opus_(audio_format)){target=_blank}

[:globe_with_meridians: Opus audio format](https://en.wikipedia.org/wiki/Opus_(audio_format)){target=_blank} is very efficient so produces high quality sounds with very small file sizes. I have a very large library of music on my smart phone which I can access without an internet connection (saving battery life).

Music is encoded at 96Kb/second and although not quite as good as [:globe_with_meridians: Flac](https://en.wikipedia.org/wiki/FLAC){target=_blank} the Opus sounds indistinguishable even through the nicest headphones I have. Music encoded at 96Kb/second with variable bit rate are comparable to lossless formats.

Audiobooks are encoded at 24 Kb/second for mono track sources and 32 Kb/second for stereo, which is perfectly good for any spoken word content and makes the files tiny (especially compared to WAV and FLAC).

[:globe_with_meridians: Opus recommended encoding bit rates](https://wiki.xiph.org/Opus_Recommended_Settings){target=_blank .md-button}

[:globe_with_meridians: Archive.org](https://archive.org/){target=_blank} is a great source for Creative Commons and other open music. This week I'm listening to [:globe_with_meridians: The Slip by Nine Inch Nails](https://archive.org/details/NineInchNailsTheSlip24bit96khz){target=_blank} which was added to Archive.org by Trent Razor back in 2013.

!!! TIP "Archiving sounds"
[:globe_with_meridians: Flac](https://en.wikipedia.org/wiki/FLAC){target=_blank} audio format is lossless so should be used for archived sounds that are going to be processed over and over again, to avoid generational losses in sound qualities from encoding to a lossy format.


---
Thank you.

[:globe_with_meridians: Practical.li Website](https://practical.li){target=_blank .md-button}

[:fontawesome-brands-github: Practical.li GitHub Org](https://github.com/practicalli){target=_blank .md-button}
[:fontawesome-brands-github: practicalli-johnny profile](https://github.com/practicalli-johnny){target=_blank .md-button}

[:fontawesome-brands-mastodon: @practicalli@clj.social](https://clj.social/@practicalli){target=_blank .md-button}
[:fontawesome-brands-twitter: @practical_li](https://twitter.com/practcial_li){target=_blank .md-button}

0 comments on commit d7242ca

Please sign in to comment.