From b76100ad0631da21ac62ce22e932dcf3288e6654 Mon Sep 17 00:00:00 2001 From: Thomas Cole Date: Sat, 3 Jun 2023 10:40:35 -0400 Subject: [PATCH] working on pedal-pi blog post --- .gitea/workflows/{build.yaml => build.yml} | 0 src/layouts/InteractiveDemoLayout.astro | 4 ++ src/pages/projects/.pedal-pi.mdx | 8 ---- src/pages/projects/pedalpi/audio.svelte | 14 ++++++ src/pages/projects/pedalpi/pedal-pi.mdx | 48 +++++++++++++++++++++ src/pages/projects/pedalpi/silence.mp3 | Bin 0 -> 120017 bytes 6 files changed, 66 insertions(+), 8 deletions(-) rename .gitea/workflows/{build.yaml => build.yml} (100%) delete mode 100644 src/pages/projects/.pedal-pi.mdx create mode 100644 src/pages/projects/pedalpi/audio.svelte create mode 100644 src/pages/projects/pedalpi/pedal-pi.mdx create mode 100644 src/pages/projects/pedalpi/silence.mp3 diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yml similarity index 100% rename from .gitea/workflows/build.yaml rename to .gitea/workflows/build.yml diff --git a/src/layouts/InteractiveDemoLayout.astro b/src/layouts/InteractiveDemoLayout.astro index 6b5d02d..07f4a99 100644 --- a/src/layouts/InteractiveDemoLayout.astro +++ b/src/layouts/InteractiveDemoLayout.astro @@ -29,6 +29,7 @@ h5, h6, p, + table, hr { margin-bottom: 1rem; } @@ -36,16 +37,19 @@ h1 { font-size: 3rem; line-height: 1; + font-weight: bold; } h2 { font-size: 2.25rem; line-height: 2.5rem; + font-weight: bold; } h3 { font-size: 1.875rem; line-height: 2.25rem; + font-weight: bold; } img { diff --git a/src/pages/projects/.pedal-pi.mdx b/src/pages/projects/.pedal-pi.mdx deleted file mode 100644 index a30628e..0000000 --- a/src/pages/projects/.pedal-pi.mdx +++ /dev/null @@ -1,8 +0,0 @@ ---- -layout: "../../layouts/InteractiveDemoLayout.astro" -title: "Pedal-pi" -tagline: "A custom effects processor using MODEP" -date: "February 10, 2023" -image: "https://images.unsplash.com/photo-1511203438670-49f8ea8441c6?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80" -imageattr: "https://unsplash.com/photos/lEwyj4FiHHU" ---- diff --git a/src/pages/projects/pedalpi/audio.svelte b/src/pages/projects/pedalpi/audio.svelte new file mode 100644 index 0000000..4c498ac --- /dev/null +++ b/src/pages/projects/pedalpi/audio.svelte @@ -0,0 +1,14 @@ + + +
+

{title}

+ +
+
diff --git a/src/pages/projects/pedalpi/pedal-pi.mdx b/src/pages/projects/pedalpi/pedal-pi.mdx new file mode 100644 index 0000000..f75cab3 --- /dev/null +++ b/src/pages/projects/pedalpi/pedal-pi.mdx @@ -0,0 +1,48 @@ +--- +layout: "../../../layouts/InteractiveDemoLayout.astro" +title: "Pedal-pi" +tagline: "A custom effects processor using MODEP" +date: "May 15, 2023" +image: "https://images.unsplash.com/photo-1511203438670-49f8ea8441c6?ixlib=rb-4.0.3&ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&auto=format&fit=crop&w=1470&q=80" +imageattr: "https://unsplash.com/photos/lEwyj4FiHHU" +--- + +import Audio from './audio.svelte'; + +### Overview + +For once I have a post about something other than a project that was put on my desk at work. I have the opportunity to play bass guitar with a local rock band. Often when I am playing with them I can't help but notice the dizzying array of pedals the guitar players have at their disposal and how drastically they can change the sound. + +While bass guitar pedals do exist, they are often hundreds of dollars a piece and while I enjoy playing, I would rather spend that kind of money elsewhere. So I wondered, is there a way I can have the functionality of a massive pedalboard without actually breaking the bank? Enter MODEP. + +### What is MODEP + +[MODEP](https://blokas.io/modep/) is a virtual guitar effects pedalboard powered by the Raspberry Pi. It's user interface is built on top of the work done by the team over at [MOD](https://mod.audio/) and is powered by RaspberryPi OS and Jack audio under the hood. + +### Building a pedalboard + +[Blokas](https://blokas.io/), the team behind MODEP, have a official hat for the Raspberry Pi called the [PiSound](https://blokas.io/pisound/) if you are looking for a compact all in one solution to run MODEP, but I decided to build my own. + +My goal was to spend less than $300 dollars on the whole setup. Looking at the main parts I managed to stay within budget, however this does not account for some miscellaneous cabling and connectors, as well as a enclosure for the pedal. All in I did go over budget by about $50 but it was not necessary to complete the project, you will see why in the photos below. + +| Part | Cost | Link | +| --- | --- | --- | +| Pedaltrain Nano+ | ~$80 | https://pedaltrain.com/products/pt-npl-sc | +| Korg Pitchblack Advance | ~$90 | https://www.korg.com/us/products/tuners/pitchblack_advance/ | +| Raspberry Pi 4 4gb model | ~$55 | https://www.raspberrypi.com/products/raspberry-pi-4-model-b/ | +| Behringer U-Phoria UM2 | ~$30 | https://www.behringer.com/product.html?modelCode=P0AVV | +| Total | ~$255 | | + +As of writing, Raspberry Pis are still unobtainium, so the pricing there is subject to change. + +### Pictures + +### Demo + +{/* Import audio file before passing it to element */} +