Skip to content

Instantly share code, notes, and snippets.

View marcedwards's full-sized avatar

Marc Edwards marcedwards

View GitHub Profile
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
@marcedwards
marcedwards / Vinyl vs CD vs digital audio
Last active June 28, 2019 10:45
Vinyl vs CD vs digital audio
# Vinyl vs CD vs digital audio
I thought I’d provide some feedback on this discusion.
At one point in my career, I thought I was going to be a music producer, and I’ve spent about 20 years writing, recording and producing music. Writing mostly electronic music played by DJs, and given the timeframe we’re talking about, I actually started mixing (as in the audio engineer definition) while vinyl accounted for close to 100% of sales, so everything we did ended up being mastered for vinyl.
As part of this process, we’d send every single release off to be mastered for vinyl, and receive an acetate (a one off copy), a test pressing (initial pressings using the vinyl master), or the final release pressing and be able to compare it to not only a 16bit/44.1khz master of the exact same recording, but we were also often able to compare directly to a 24bit/44.1khz master and 24bit/44.1khz pre-mastered version of the exact same song. And all typically on studio nearfield masters and really nice headphones.
Keep in mi
#!/bin/sh
function moveAssetImages
{
usage="usage: moveAssetImages /path/to/folderOfImages /path/to/Images.xcassets"
sourceDir=$1
assetsDir=$2
if [ $# != 2 ]; then
@marcedwards
marcedwards / high-dpi-media.css
Last active November 19, 2023 12:56
A CSS media query that captures almost all high DPI aware devices.
/* ---------------------------------------------------------- */
/* */
/* A media query that captures: */
/* */
/* - Retina iOS devices */
/* - Retina Macs running Safari */
/* - High DPI Windows PCs running IE 8 and above */
/* - Low DPI Windows PCs running IE, zoomed in */
/* - Low DPI Windows PCs and Macs running Firefox, zoomed in */
/* - Android hdpi devices and above */