Getting line-level audio into an iphone
May 1st, 2020. Posted in: Building.Now that more musicians are live streaming music during Covid-19 stay home orders, I thought this design might come in handy. If you are looking to get stereo line-level audio directly into your iphone (and your iphone still has a headphone jack), this is a pretty straight forward DIY hack that can get you there for under $20 if you have a soldering iron. Last year I wanted to do some live streaming of our local synthesizer collective and didn’t want the audio to be degraded by the iphone’s microphone, so I put this device together using parts I had in the shop.
If I knew I was going to be putting this project online, I would have called it something better than “STLN2IPOO” – which stands for “Stereo Line-level audio to iPhone”, and that’s exactly what this does. By cutting some traces and adding a few resistors on a cheap off-the-shelf D.I. Box and attaching a 3.5mm TRRS plug onto a microphone cable, you can feed a stereo or mono line-level audio signal from a mixer or other sources directly into your iphone without any signal loss. A volume knob is also included in the design so the level can be set to avoid clipping.
parts
- Pyle PDC21 DI box (bh photo, parts-express, primecables-lookalike?)
- Audio taper potentiometer between 50k and 1M, and knob
- Two resistors between 470 and 1k
- One 3k resistor.
- 3.5mm TRRS plug. (adafruit) and XLR microphone cable
- OR 3.5mm TRRS extension cable (bh photo, parts-express, primecables) and XLR male (bh photo, parts-express, primecables)
Full size instructions here (open in new tab to get out of modal window)
instructions
Open the PDC21, cut the traces shown and test to make sure they are cut with a multimeter if you can. Wire up the resistors and potentiometers, drill a hole in the chassis for the potentiometer. Reassemble and attach knob. For the cable, you can either attach the adafruit 3.5mm TRRS plug onto a regular microphone cable by cutting off the female end and wiring as shown, or you can cut the female end off of a TRRS extension cable and add the XLR Male connector.
how it works
This hack rewires the “input” and “output” 1/4″ jacks of the DI for our stereo inputs, the line-level signal gets summed into a mono signal through the two resistors before going into the potentiometer. The potentiometer acts as an attenuator, so you can turn down a loud signal to avoid clipping. The signal then goes into the DI’s transformer that converts it to microphone level and impedance. The 3k resistor lets the iphone know a microphone is plugged in and our special cable gets the microphone signal and ground to the right pins on the 3.5mm TRRS jack.
using it
Take line-level audio out from a mixer or musical instrument into your STLN2IPOO into one (mono) or two (stereo) 1/4″ inputs and run the mic cord into your iphone. Run the “voice memo” program and start recording to get a visual representation of the signal levels, if it is clipping turn the volume knob down. The DI box’s ground lift switch still functions if you find that you have a ground loop somehow between your gear and phone. That’s it! Now stream some video with good audio!
Model D Circuit Board
February 20th, 2018. Posted in: General.Recently Behringer, a very large German music equipment company put out a synthesizer that was an exact, albeit shrunken down version of the much loved Minimoog. A lot has changed in the world of electronics manufacturing in the 48 years since the release of the original synthesizer. Here are some pictures of the Behringer Model D’s circuit board.
Full size (4196 x 2772 JPG 5.7MB) Open in new tab to escape modal window.
From something that cost nearly $10,000 (adjusted for inflation) in 1970 to one that was $250 in 2017. Fran’s video showing a circuit board from an Apollo Saturn V launch computer shows the start of the miniaturization process that got us here. While I’ve read a lot of negative comments regarding this company’s decision to release a very affordable version of this vintage synthesizer, I can’t help thinking that Bob Moog himself would be amazed to see the progress that we’ve made in electronics manufacturing and automation. If Dr. Moog designed his synthesizer today, the inside of it would look very similar to this – not sure if he would have made the knobs so small and close though.
Morocco!
May 18th, 2017. Posted in: General.Did you know that robot jockeys are used in camel racing after enslaved children jockeys were banned? The robot jockeys are modified electric drills with whips attached to them. That’s one of the things I learned on a recent trip to morocco!
Summer Mountain Biking
October 24th, 2016. Posted in: Biking, General.This summer I signed up for the Michigan Championship Points Series, a mountain bike race series that takes place all around the state. It was a really nice opportunity to discover some of the awesome trails and a lot of them were only about 1h drive. After getting beat by almost everyone in the Sport 35-39 category at the first race, a time trial at Yankee Springs I ordered some second-hand books on technique and started practicing at the local garbage dump turned city park.
Best sport in the world, arguably
At least out of the sports that I’ve tried, I gotta say that cross country mountain biking is the best sport in the world. If you enjoy riding a bicycle but wish you were surrounded on your rides by trees and fresh air instead of cars and assholes, you might enjoy it too! And as much as I hate to say it, I’ll never get to be a rally driver but flying around trees on a bicycle is a pretty good substitute. If you’re a gear geek, mountain bikes have a lot of adjustable doodads with lots of internet forums dedicated to the adjustment of said doodads.
I won something!
One of the races was up in Bellaire, Michigan and it looked pretty awesome so Mel and I took a few days to go up there. The race was at Glacial Hills and my group was to do 40KM. Unlike most races, there were only two other dudes in my category and judging by their calves I expected to come in last. After the first of 3 laps, the guy with the biggest calves started falling behind mainly on the downhills. By the end of the second lap, I was starting to notice that the guy in front was slowing on the uphills. I climbed garbage mountain quite a few times leading up to the race and could feel myself being able to climb a bit better. After 10 minutes of internal dialogue and self-doubt, I passed him at the start of the last big climb with about 6 KM to go. I was nervous and took off as fast as I could, wiping out nervously on a slow corner a few minutes later. After about 4KM of watching my odometer and trying to not crash again, the trail turned out onto a long paved road lined with thousands of cheering fans as it headed down into the centre of town. I might have made up the cheering fans part, but that’s how I’m choosing to remember it.
“35 Hz” at W.A.V.E.S. 2016
October 18th, 2016. Posted in: Building, General.Last month I was asked if I had any ideas for an illuminated art piece to temporarily install in the sculpture garden. I had no ideas, so I declined. A week later I submitted an idea and with the help of Sarah from Windsor’s HackForge, I was able to get some grant money to make it.
Lots of Bike Lights!
The design required 100 rear flashing bicycle lights. They were supplied ‘at cost’ by local bike shop City Cyclery and it took almost 3 hours to open each package and install the batteries. My idea was to attach the lights onto the riverfront fence in a sine wave pattern that accurately represented the wave length of a 35 Hz sound. The frequency was chosen because it was the same as the “Mysterious hum that is supposedly originating from Detroit’s Zug Island” (More Info).
Lots of rain!
I installed the sculpture during record rainfall that flooded the city. Unfortunately I didn’t have time to prepare a spreadsheet that would outline each light’s location on the fence, so I had to use a tape measure and calculator. I got pretty fast at using the SIN() button, but the installation did take over 3 hours.
Less Dead Cyclists!
Now that the sculpture has been taken down and an art grant paid for 100 bicycle lights, we will be donating all of the lights to places that can properly distribute these lights to cyclists who need them. I’m sure it’s not just a Windsor problem, but there are a lot of folks on bicycles at night that have no lights. Having recently started driving, I found it very startling the first time I came across a bicyclist on the road at night without lights. Hopefully these lights find their way onto the seatposts of some of these bicycles.