diff options
-rw-r--r-- | Makefile | 4 | ||||
-rw-r--r-- | src/blog/freebsd-14-on-the-desktop/index.md | 9 | ||||
-rw-r--r-- | src/blog/schola-for-beginners/index.md | 31 | ||||
-rw-r--r-- | src/files/ChantLesson1.pdf | bin | 0 -> 252716 bytes | |||
-rw-r--r-- | src/index.md | 18 | ||||
-rw-r--r-- | src/misc/ffmpeg/index.md | 41 |
6 files changed, 92 insertions, 11 deletions
@@ -1,10 +1,10 @@ ### CHANGE ME ###################### DOMAIN = www.sacredheartsc.com URL = https://${DOMAIN} -RSYNC_TARGET = ${DOMAIN}:/usr/local/www/${DOMAIN} +RSYNC_TARGET = ${DOMAIN}:/usr/local/www/vhosts/${DOMAIN} FEED_TITLE = Cullum Smith's Blog FEED_DESCRIPTION = Blog of a unix wrangler, Gregorian chant and banjo enjoyer -STATIC_REGEX = .*\.(html|css|jpg|jpeg|png|ico|xml|txt|asc|webmanifest) +STATIC_REGEX = .*\.(html|css|jpg|jpeg|png|ico|xml|txt|asc|webmanifest|pdf) RECENT_POSTS_LIMIT = 5 HIGHLIGHT_STYLE = pygments diff --git a/src/blog/freebsd-14-on-the-desktop/index.md b/src/blog/freebsd-14-on-the-desktop/index.md index 8a4bdff..a29212d 100644 --- a/src/blog/freebsd-14-on-the-desktop/index.md +++ b/src/blog/freebsd-14-on-the-desktop/index.md @@ -356,14 +356,14 @@ index 0, I'll enable `virtual_oss` like so: ```bash sysrc -v virtual_oss_enable=YES -sysrc -v virtual_oss_dsp='-T /dev/sndstat -C 2 -c 2 -S -r 48000 -b 16 -s 25ms -O /dev/dsp1 -R /dev/dsp0 -d dsp' +sysrc -v virtual_oss_dsp='-T /dev/sndstat -C 2 -c 2 -S -r 48000 -b 16 -s 100ms -O /dev/dsp1 -R /dev/dsp0 -d dsp' ``` You'll need to set the `-r` flag to the sample rate and `-b` to the bit depth of your device (you can usually find these values in `dmesg`). If your devices have different sample rates, the `-S` flag enables automatic resampling. -The `-s` flag sets the buffer size. I had to increase this to `25ms` to avoid clipping. +The `-s` flag sets the buffer size. I had to increase this to `100ms` to avoid clipping. ### Device Permissions via devfs @@ -463,6 +463,8 @@ Finally, create the following script at `/usr/local/libexec/thinkpad-brightness` # /usr/local/libexec/thinkpad-brightness +cur=$(/usr/bin/backlight -q) + case $1 in up) if [ "$cur" -ge 50 ]; then @@ -690,7 +692,7 @@ service ntpd start In case you didn't do this during the installation, set your timezone: ```bash -cp -v /usr/share/zoneinfo/America/New_York /etc/localtime +ln -sfhv /usr/share/zoneinfo/America/New_York /etc/localtime ``` ## Switch to openssh-portable @@ -792,6 +794,7 @@ pkg install \ libva-utils \ libvdpau-va-gl \ merkuro \ + plasma5-sddm-kcm \ sddm \ signal-desktop \ thunderbird \ diff --git a/src/blog/schola-for-beginners/index.md b/src/blog/schola-for-beginners/index.md new file mode 100644 index 0000000..30574d9 --- /dev/null +++ b/src/blog/schola-for-beginners/index.md @@ -0,0 +1,31 @@ +--- +title: The Schola for Beginners +date: November 29, 2024 +subtitle: An introduction to singing chant for the traditional Latin Mass. +description: An introduction to singing chant for the traditional Latin Mass. +draft: yes +--- + +Do you aspire to join the schola at your parish? Or perhaps you've been asked +to assemble a schola at your chapel so that you can have Sung Masses? +This guide is for you! + +This page contains everything I wish I knew when I first began chanting for the +traditional Mass. It's not an exhaustive reference, but it will teach you the +jargon needed to get your feet off the ground. + +This is a work in progress. Please [email me](mailto:"Cullum Smith" <cullum@sacredheartsc.com>) +with any corrections or suggestions. + +## Target Audience + +This guide assumes that you have a general familiarity with the traditional Mass +and liturgical calendar. + +It also assumes that you have some existing musical skill. You should be familiar +with rhythm, standard music notation, solfège, etc. Ideally, you have experience +singing with choirs or playing a musical instrument. + +I don't mean to say that modern music skills are *required* to learn chant—sometimes +it can actually be a stumbling block! But since most people come to the +schola with some prior music experience, that's who I'll be writing for. diff --git a/src/files/ChantLesson1.pdf b/src/files/ChantLesson1.pdf Binary files differnew file mode 100644 index 0000000..7326baf --- /dev/null +++ b/src/files/ChantLesson1.pdf diff --git a/src/index.md b/src/index.md index ee65e31..674d407 100644 --- a/src/index.md +++ b/src/index.md @@ -10,22 +10,24 @@ I'm a computer person located in South Carolina. Welcome to my humble website. ## About Me {.logo} -- Catholic -- Father of four young'uns - Unix wrangler - Gregorian chant & banjo enjoyer -- Southerner - Half sysadmin, half programmer +- Dixie Catholic, four kids ## Contact - Email: [cullum@sacredheartsc.com](mailto:cullum@sacredheartsc.com) - XMPP: [cullum@sacredheartsc.com](xmpp:cullum@sacredheartsc.com?message) +- Fediverse: <a rel="me" href="https://mastodon.bsd.cafe/@cullum">@cullum@bsd.cafe</a> +- Matrix: [@cullum:sacredheartsc.com](https://matrix.to/#/@cullum:sacredheartsc.com) - IRC: [cullum on libera.chat](ircs://irc.libera.chat/cullum,isnick) +- GPG: [0x5CAF6291](/gpg.asc) - Big Tech: [X](https://x.com/CullumSmith) | [GitHub](https://github.com/cullumsmith) | - [LinkedIn](https://www.linkedin.com/in/cullumsmith/) | - [Facebook](https://www.facebook.com/CullumSmith01) -- GPG: [0x5CAF6291](/gpg.asc) + [Facebook](https://www.facebook.com/CullumSmith01) | + [Instagram](https://www.instagram.com/dixiecatholic/) | + [Bluesky](https://bsky.app/profile/cullum.sacredheartsc.com) | + [LinkedIn](https://www.linkedin.com/in/cullumsmith/) ## Links - [Blog](/blog/) @@ -37,3 +39,7 @@ I'm a computer person located in South Carolina. Welcome to my humble website. ::: bloglist __BLOG_LIST__ ::: + +## Odds & Ends + +- [FFmpeg Cheat Sheet](/misc/ffmpeg/) diff --git a/src/misc/ffmpeg/index.md b/src/misc/ffmpeg/index.md new file mode 100644 index 0000000..a1b8fd3 --- /dev/null +++ b/src/misc/ffmpeg/index.md @@ -0,0 +1,41 @@ +--- +title: FFmpeg Cheat Sheet +date: February 3, 2025 +description: Random ffmpeg incantations I find useful +--- + +Apply a gaussian blur: + +```bash +ffmpeg -i in.mp4 -vf 'gblur=sigma=20:steps=5' -c:a copy out.mp4 +``` + +Create a video from an audio file and still image: + +```bash +ffmpeg -loop 1 -i image.jpg -i audio.m4a -c:v libx264 -tune stillimage -c:a aac -b:a 192k -pix_fmt yuv420p -shortest out.mp4 +``` + +Crop 200px from the bottom of a video, maintaining aspect ratio: + +```bash +ffmpeg -i in.mp4 -filter:v 'crop=iw-200:ih-200:(iw-ow)/2:0' -c:a copy out.mp4 +``` + +Convert a landscape video to portrait (crop to center): + +```bash +ffmpeg -i in.mp4 -filter:v 'crop=ih*9/16:ih:(iw-ow/2):0' -c:a copy out.mp4 +``` + +Trim video using start and end timestamps: + +```bash +ffmpeg -i in.mp4 -ss 00:01:00 -to 00:02:00 -c copy out.mp4 +``` + +Scale a video down to 720p (keep aspect ratio): + +```bash +ffmpeg -i in.mp4 -vf "scale=-2:720" out.mp4 +``` |