1 00:00:04,720 --> 00:00:06,340 Welcome to The Bootloader, I'm Tod Kurt. 2 00:00:06,940 --> 00:00:13,620 And I'm Paul Cutler. The show works like this. Tod and I have each brought three things to share, and we'll chat about each for about five minutes. 3 00:00:14,220 --> 00:00:18,360 And stick around to the end for a special announcement. Tod, what's your first one for us? 4 00:00:19,720 --> 00:00:26,520 USB-C and power delivery is confusing. Let's find some tools for that. You know how much I'm into inspecting USB stuff. 5 00:00:27,740 --> 00:00:29,980 When doing any kind of embedded development, I've always always done. 6 00:00:30,000 --> 00:00:34,060 have some sort of these little USB tester gadgets in between the computer and the board I'm using. 7 00:00:34,700 --> 00:00:39,800 I'm sure you've seen them. They show the voltage being put out by the USB host and the current being used by the device. 8 00:00:40,120 --> 00:00:45,860 Very good when you have like a short by accident. I've been using them for over a decade. They're great. They're cheap. 9 00:00:46,180 --> 00:00:55,020 About 10 bucks. But they're only really for the old USB 2.0 devices. With the advent of USB-C, there's now one connector that can do so many things. 10 00:00:55,440 --> 00:00:59,820 This is especially true in terms of power delivery. It's no longer just five volts and, you know, 11 00:00:59,920 --> 00:01:05,820 2 amps or whatever. There's this new protocol called USB-PD. It's a spec that runs over the 12 00:01:05,940 --> 00:01:11,360 USB-C cables where two devices can negotiate for not only who is providing the power, but if the 13 00:01:11,580 --> 00:01:16,520 power is anywhere between 5 volts at 3 amps to 20 volts at 5 amps, you know, it's 100 watts. 14 00:01:17,140 --> 00:01:22,020 This is how your laptop can be charged by the wall plug, but also how your laptop can charge 15 00:01:22,020 --> 00:01:26,560 the phone, all from the same port. It's kind of incredible. It's amazing when it works. 16 00:01:28,080 --> 00:01:29,020 And then there's the cables. 17 00:01:29,620 --> 00:01:32,940 Everything, you know, there's all these USB-C cables, but they're not all created equal. 18 00:01:33,400 --> 00:01:36,820 Many are just USB 2.0 cables with USB-C ends on them. 19 00:01:37,280 --> 00:01:38,180 These are usually very cheap. 20 00:01:38,360 --> 00:01:39,420 They're usually just charging cables. 21 00:01:40,000 --> 00:01:44,320 But some cables are really capable, and you can run Thunderbolt or USB 4 over them. 22 00:01:44,760 --> 00:01:50,520 Oh, and by the way, inside of USBC, there's multiple protocols that can run over them. 23 00:01:50,720 --> 00:01:57,060 Two of which of the most common ones are, is USB of the various versions, 432, and Thunderbolts and other things like that. 24 00:01:57,120 --> 00:02:00,340 And these Thunderbulk cables or these USB4 cables are really expensive. 25 00:02:00,920 --> 00:02:01,680 But how do you know? 26 00:02:02,160 --> 00:02:05,340 You can maybe look on the markings of the cable or the brand of the cable, 27 00:02:05,480 --> 00:02:08,740 if neither of those are lies, but not always. 28 00:02:09,320 --> 00:02:12,580 The better cables are supposed to have an e-marker chip built into them 29 00:02:12,770 --> 00:02:18,560 where the cable itself tells the devices what the cable is capable of, 30 00:02:18,660 --> 00:02:23,700 because you don't want to send 100 watts down a little tiny iPod sync cable or something. 31 00:02:24,480 --> 00:02:26,920 But even then, not all cables have, 32 00:02:27,060 --> 00:02:33,380 e-marker chips, or maybe the e-marker data has wrong data. So what can you do? 33 00:02:35,160 --> 00:02:39,040 Thankfully, there's some tools out there, some hardware, some software that give you insight 34 00:02:39,180 --> 00:02:43,620 into what's going on. On the hardware side, there's some fairly cheap gadgets. One of which I like 35 00:02:43,700 --> 00:02:50,300 is the RDTC66 USB tester. It looks a lot like the little cheapy USB testers of all, the little 36 00:02:51,000 --> 00:02:55,840 thing with plug on one side and a jack on the other, and it shows the voltage and current, but it also 37 00:02:55,860 --> 00:02:59,280 as protocol detection to telling you what the cable and charger support. 38 00:02:59,920 --> 00:03:02,880 And that lets you know exactly what power is going into and out of your phone or laptop. 39 00:03:03,040 --> 00:03:03,420 It's really handy. 40 00:03:04,120 --> 00:03:07,640 A little up from there is the TREDICs USB cable tester. 41 00:03:08,140 --> 00:03:09,200 This is just for cables. 42 00:03:09,760 --> 00:03:14,240 You plug both into the cable you're curious about, and it can be just by any cable, USB-C, USB-B, 43 00:03:14,720 --> 00:03:15,580 Length Thunderbolt, Lightning. 44 00:03:16,140 --> 00:03:16,560 Very exciting. 45 00:03:18,080 --> 00:03:21,340 And the big display has got a huge display, like a 4-inch display. 46 00:03:21,820 --> 00:03:22,680 It's like a touch and stuff. 47 00:03:23,040 --> 00:03:25,800 It tells you exactly what the cable has, like what. 48 00:03:25,840 --> 00:03:28,460 what pins are connected, first what pins it has, 49 00:03:28,580 --> 00:03:29,240 what pins are connected. 50 00:03:29,720 --> 00:03:31,980 So if you plug in one of those USB charge-only cables, 51 00:03:32,020 --> 00:03:32,620 you know it exactly. 52 00:03:33,120 --> 00:03:34,980 But it also tells you what protocols it supports 53 00:03:35,200 --> 00:03:38,540 because different cables advertise what protocols they're capable of. 54 00:03:38,600 --> 00:03:40,700 Like, oh, this can be used for Thunderbolt. 55 00:03:40,800 --> 00:03:45,400 This can be used for HDMI over USB, over USB-C, or whatever. 56 00:03:46,020 --> 00:03:47,780 It also can tell you if it's got an e-marker chip 57 00:03:47,800 --> 00:03:49,980 and if the chip matches the spec. 58 00:03:50,160 --> 00:03:53,220 And it also will test the cable to see if it's connected correctly. 59 00:03:54,180 --> 00:04:02,980 It's like a really smart version of those really simple continuity USB cable testers you might have seen like 10 years ago that just had little lights for each wire in the cable. 60 00:04:03,920 --> 00:04:06,260 But if you don't want to spend any money, there are some apps. 61 00:04:06,540 --> 00:04:09,340 On the Mac, there's a very good app called WhatCable. 62 00:04:10,100 --> 00:04:12,420 I think it's the URL, whatcable.co.uk. 63 00:04:13,060 --> 00:04:14,920 And it's, oh, no, sorry, just whatcable.com. 64 00:04:15,660 --> 00:04:17,079 John Park actually introduces this to me. 65 00:04:17,620 --> 00:04:24,040 It gives you much the same information as some of these tester things as far as what the MacOS 66 00:04:24,640 --> 00:04:25,760 sees it as, you know. 67 00:04:26,480 --> 00:04:28,740 It's like you're going through an intermediation layer there, 68 00:04:28,770 --> 00:04:31,160 so it's not exactly as accurate as a hardware device. 69 00:04:31,540 --> 00:04:34,860 But still, it's really handy to know, hey, I just plug this charger cable in. 70 00:04:35,220 --> 00:04:39,460 Am I going to be charging at 100 watts or am I going to be charging at 15 watts? 71 00:04:40,660 --> 00:04:44,560 You know, if you're looking for get a few more percentage of your battery filled up 72 00:04:44,590 --> 00:04:46,580 before you go somewhere, it's really important. 73 00:04:46,760 --> 00:04:51,960 And on Linux, Linux has a really nice inspectable kernel where you can just kind of poke around 74 00:04:52,040 --> 00:04:54,020 in this virtual file system called SISClub. 75 00:04:54,040 --> 00:04:58,920 class type C to see a bunch of stuff just with the command line tools like Cat and LS. 76 00:04:59,480 --> 00:05:04,560 But there's also a command line tool called LSU-C-PD that will tell you a bunch of information 77 00:05:04,700 --> 00:05:10,960 about the PD capabilities on your computer and what things that are PD-capable are plugged into it. 78 00:05:13,120 --> 00:05:17,480 So some of these things hopefully can help people when they're trying to figure out what is going 79 00:05:17,600 --> 00:05:20,620 on with the charging of their devices because it's so complicated now. 80 00:05:21,360 --> 00:05:23,980 I thought it was bad enough six or seven years ago when we were just dealing. 81 00:05:24,020 --> 00:05:26,700 with micro USB and you had to ask, 82 00:05:27,170 --> 00:05:29,320 is it a data cable or just a power cable? 83 00:05:29,680 --> 00:05:30,220 Yeah, totally. 84 00:05:30,640 --> 00:05:31,780 You had just two choices. 85 00:05:31,960 --> 00:05:34,240 Now you have multiple choices with all the PD 86 00:05:34,670 --> 00:05:37,380 and Thunderbolt 3 versus 4 and now they're introducing 5. 87 00:05:38,000 --> 00:05:38,720 It's just crazy. 88 00:05:39,280 --> 00:05:41,560 This came into a head a couple of weeks ago for me. 89 00:05:41,920 --> 00:05:44,680 Someone was talking to me, a friend of mine was talking to me in there. 90 00:05:44,900 --> 00:05:47,080 They couldn't figure out why their laptop was charging so slowly because they, 91 00:05:47,770 --> 00:05:49,380 but I've got the 100 watt charger. 92 00:05:49,940 --> 00:05:53,960 And I've got, you know, I'm plugging it into the USB C port on my, 93 00:05:54,000 --> 00:05:56,320 computer that is supposed to be 100 watt capable. 94 00:05:57,140 --> 00:06:00,480 And it's like, oh, it was because the cable they were using was one of these really 95 00:06:00,640 --> 00:06:05,100 cheap little $7 cables that can do like 15 watts or something. 96 00:06:05,180 --> 00:06:09,620 It's basically a cell phone charger cable trying to charge a laptop. 97 00:06:09,750 --> 00:06:10,820 And it just wasn't doing it. 98 00:06:11,580 --> 00:06:12,940 All right, Paul, what's your one for this week? 99 00:06:13,340 --> 00:06:14,400 I have something a little different. 100 00:06:14,720 --> 00:06:16,400 Instead of a thing, I have a person. 101 00:06:16,680 --> 00:06:18,140 And that person is Terry Godier. 102 00:06:18,960 --> 00:06:20,080 I hope I'm pronouncing that right. 103 00:06:20,140 --> 00:06:22,420 It's spelled G-O-D-I-E-R. 104 00:06:22,600 --> 00:06:23,880 He's a software developer living. 105 00:06:23,900 --> 00:06:29,140 Wisconsin who has made two video essays worth checking out. The one that grabbed my attention is called 106 00:06:29,240 --> 00:06:35,060 A Room You Can't See, where Terry asks, what has changed in how we listen to music, the technology 107 00:06:35,420 --> 00:06:40,320 or us? Without spoiling too much, Terry digs into what does it mean when we have an endless 108 00:06:40,580 --> 00:06:46,300 supply of music at our fingertips from streaming services for one monthly fee? Where is what he calls the 109 00:06:47,260 --> 00:06:51,980 intentionality of what we listen to? He asked himself, when was the last time he really listened to an 110 00:06:51,980 --> 00:06:57,060 album or went to a show, sat down and paid attention to an album, not in the background 111 00:06:57,220 --> 00:06:58,440 when working or in the kitchen. 112 00:06:59,240 --> 00:07:03,620 He even touches on the music being streamed on Spotify that is AI, and Terry says he's not 113 00:07:03,760 --> 00:07:04,540 mad about the music. 114 00:07:05,060 --> 00:07:08,080 He's mad that it even works and these songs get millions of listens. 115 00:07:09,780 --> 00:07:13,740 Terry challenges you to think about your relationship with music in a video that is about 116 00:07:13,920 --> 00:07:16,040 10 minutes long and really makes you think. 117 00:07:16,980 --> 00:07:21,920 His second video is about design, and it's called Some Decisions Aren't Supposed to Be Optimized. 118 00:07:22,280 --> 00:07:25,620 and he asks, when did we hand over design decisions to the machine? 119 00:07:26,280 --> 00:07:28,740 He talks about how, for him, design is a feel. 120 00:07:29,360 --> 00:07:32,760 He tells a story about how a designer at Google quit back in 2009 121 00:07:33,460 --> 00:07:35,740 because Google was testing not one, not three, 122 00:07:36,180 --> 00:07:39,320 but 41 different shades of blue through A-B testing. 123 00:07:39,900 --> 00:07:43,580 He talks about how testing could be answering and asking the wrong questions. 124 00:07:44,320 --> 00:07:48,380 It really makes you think into how and why decisions are made in your favorite products. 125 00:07:49,260 --> 00:07:51,900 After watching his videos, I checked out his blog and realized 126 00:07:51,920 --> 00:07:53,700 I was using one of the products he created. 127 00:07:54,420 --> 00:07:57,380 Earlier this year, and I've been debating about sharing on the show even, 128 00:07:57,920 --> 00:08:02,180 Terry released Current, an RSS reader for MacOS, iOS, and iPadOS. 129 00:08:02,860 --> 00:08:05,640 I didn't bring it up on the show because I didn't know if it'd be too niche or not, 130 00:08:06,180 --> 00:08:09,800 but I really enjoy using Current, and it has a really interesting goal 131 00:08:10,340 --> 00:08:14,800 that your RSS feed shouldn't feel like an inbox and show you the unread count. 132 00:08:15,440 --> 00:08:19,480 You should read your RSS feed for the joy of reading and stay in the flow while doing it. 133 00:08:20,080 --> 00:08:21,880 I switched to it earlier this year after buying a new box. 134 00:08:21,900 --> 00:08:27,280 it for $10 and I've been really happy with it. What a small world it is sometimes. I've linked to 135 00:08:27,420 --> 00:08:31,600 Terry's Macedon, Blue Sky, and website in the show notes. I think he's worth checking out. 136 00:08:31,820 --> 00:08:38,560 This is great. I love RSS. It's what drives podcasts. It's one of the few remaining examples of a 137 00:08:38,800 --> 00:08:45,180 decentralized information space that has been around for so long. It's like it was created before 138 00:08:45,340 --> 00:08:50,540 podcast. It was created like in the early 2000s or late 90s, I think, maybe in 99. And yet it still is 139 00:08:50,520 --> 00:08:56,000 everywhere. And like we used to use feed readers all the time, RSS feed readers. And it's just, 140 00:08:56,180 --> 00:09:01,400 it's kind of gone by the wayside. I'm glad to see a resurgence in feed readers again. And current 141 00:09:01,500 --> 00:09:07,720 looks great. I think maybe this will start me getting going again. And I really recommend 142 00:09:08,920 --> 00:09:13,960 watching his video essays. The fact that they're hosted on YouTube is kind of funny because 143 00:09:14,240 --> 00:09:20,380 YouTube encourages creators to change the thumbnail and title of their videos like every hour. 144 00:09:20,880 --> 00:09:22,620 to see how it performs, you know? 145 00:09:25,280 --> 00:09:26,960 And music, music used to be scarce. 146 00:09:27,120 --> 00:09:32,160 We used to lord over an album cover and the album no liner notes because we're like, 147 00:09:32,160 --> 00:09:34,280 oh, I finally got the album that I've been waiting for for so long. 148 00:09:34,340 --> 00:09:37,740 And like, do we even have scarcity in music anymore? 149 00:09:37,790 --> 00:09:39,120 No, we're kind of drowning in music. 150 00:09:39,620 --> 00:09:39,800 Right. 151 00:09:40,100 --> 00:09:41,880 And that's exactly what he's talking about. 152 00:09:42,640 --> 00:09:43,420 And I'm with you. 153 00:09:43,420 --> 00:09:44,800 I still use my RSS reader. 154 00:09:44,980 --> 00:09:49,500 Even after Google Reader died, I bought a subscription to FeedBin, who's worth checking out. 155 00:09:50,160 --> 00:09:52,560 I'm grandfathered in at a ridiculously low price. 156 00:09:52,620 --> 00:09:55,540 I think it's $50 or $80 a year now, I forget. 157 00:09:55,760 --> 00:09:58,600 But still, even at $10 a month, they're a little less than that. 158 00:09:58,900 --> 00:09:59,500 It's worth it. 159 00:09:59,880 --> 00:10:03,380 And I love the resurgence in that independent web, the indie web that's coming back, 160 00:10:03,440 --> 00:10:05,800 and people are adding RSS feeds to their websites again 161 00:10:06,380 --> 00:10:07,760 and making it a little more open. 162 00:10:08,460 --> 00:10:08,600 Yeah. 163 00:10:08,800 --> 00:10:12,840 And if you have a iOS device, the checkout current, 164 00:10:13,000 --> 00:10:17,560 because it's a beautiful app looks like for iPad or iPhone. 165 00:10:18,240 --> 00:10:19,240 What's your next one for us? 166 00:10:20,820 --> 00:10:22,140 So I do CircuitPython. 167 00:10:22,420 --> 00:10:23,620 You hear me talk about it a lot. 168 00:10:24,120 --> 00:10:30,980 There are some upcoming audio improvements to CircuitPython that are pretty exciting for me as a person who likes doing little audio gizmos. 169 00:10:31,840 --> 00:10:35,160 Some of them are kind of nuts and bolts on the lower level. 170 00:10:35,280 --> 00:10:36,860 Some of them are kind of cool fancy features. 171 00:10:37,240 --> 00:10:42,680 So this is going to be kind of a little bullet list of cool things that are coming out soon. 172 00:10:42,860 --> 00:10:46,060 Like either they're available right now or they'll be available in like about a month or so. 173 00:10:47,520 --> 00:10:54,460 So in sort of the nuts and both side of things, there is a much faster way of talking to SD cards called SDIO. 174 00:10:55,700 --> 00:11:00,020 That's the library name that was only available for certain, I think, ESP 32 boards. 175 00:11:00,120 --> 00:11:04,420 It's now available for RP 2040 and RP 2350 boards like the PICO and things like that. 176 00:11:04,800 --> 00:11:15,140 If you have a board that supports this kind of SD card wiring, you can get like 10 times faster SD card, which if you're playing samples off of SD cards, this is huge. 177 00:11:15,500 --> 00:11:21,420 With a normal SD card setup, you can really only play about one or two samples at a time, like simultaneously off of an SD card. 178 00:11:21,540 --> 00:11:23,780 But with SDIO, I guess it's like 10 or so. 179 00:11:24,920 --> 00:11:33,740 Another one is normally the circuit pie drive of circuit Python is either writable by the computer sucked up to or by your code. 180 00:11:33,740 --> 00:11:35,900 Dot pi program, not at the same time. 181 00:11:36,400 --> 00:11:39,100 And you have to make that decision as the board's first booting up. 182 00:11:39,440 --> 00:11:44,780 Well, now you can change that in real time as your code is running. 183 00:11:44,940 --> 00:11:51,800 You can just enable that your code can write to circuit pie, and what it'll do is it'll sort of disconnect and disappear from the computer. 184 00:11:52,320 --> 00:12:01,180 And then your code can scribble on the drive, and then you can reenable CIRCUITPY drive to show back up on the computer, and then the computer will see the changes. 185 00:12:01,780 --> 00:12:09,780 So I love having the code right to CircuitPY because it lets you kind of like save config files for whatever settings you have or whatever. 186 00:12:10,320 --> 00:12:14,780 But doing the dance of like, oh, I want to talk to via the computer versus I want to like save settings 187 00:12:14,920 --> 00:12:15,500 was a real pain. 188 00:12:15,980 --> 00:12:19,220 And so that's now something you can do in real time, which is pretty exciting. 189 00:12:19,960 --> 00:12:22,860 Another one is if you have something that does USB host, 190 00:12:23,040 --> 00:12:27,400 where you can re-plug in like a MIDI keyboard or a mouse or a normal human keyboard 191 00:12:27,560 --> 00:12:31,080 into a circuit Python thing, that used to not work very well, 192 00:12:31,880 --> 00:12:35,820 even though there's a lot of products that have the USB host jack on it, 193 00:12:36,519 --> 00:12:40,380 now the USB host stuff is actually a lot more usable, which is really cool. 194 00:12:41,100 --> 00:12:44,880 And then one of the biggest ones is there is now the ability to, 195 00:12:44,900 --> 00:12:51,460 read audio in to circuit Python and then muck about with it and then send it out via the 196 00:12:52,440 --> 00:12:57,980 standard i2s protocol i2s is this protocol that lets you do high quality like cd quality 197 00:12:58,220 --> 00:13:05,620 audio in and out and circuit python has supported out forever and it's now got audio in and so hey 198 00:13:05,700 --> 00:13:11,120 we can make a guitar pedal out of in circuit python now just pretty cool 199 00:13:11,120 --> 00:13:13,280 so here's my dumb question 200 00:13:13,300 --> 00:13:19,080 the episode. So give me it, there's the use case. How does that work? So it's audio in, 201 00:13:19,140 --> 00:13:20,760 but how is it processing that? 202 00:13:21,200 --> 00:13:26,400 So everything that's audio in circuit Python is basically a kind of, 203 00:13:27,240 --> 00:13:32,320 I guess, I think, I think it's called audio stream and you hook it up. Like the way you connect 204 00:13:32,620 --> 00:13:36,920 the audio things up in circuit Python is kind of like hooking up guitar pedals, really. It's like 205 00:13:37,240 --> 00:13:40,680 there are these various modules that have an audio in and audio out. You know, there's a, 206 00:13:40,980 --> 00:13:45,760 there's a filter module that has a low-pass filter and it's got an audio and an audio out. 207 00:13:45,840 --> 00:13:48,300 There's an echo module that has an audio and audio out. 208 00:13:48,360 --> 00:13:49,620 And you just kind of connect them together. 209 00:13:50,400 --> 00:13:54,640 Out of one goes to the audio of the input of the other and so on and so on down the line. 210 00:13:55,100 --> 00:14:02,380 And eventually the final thing that takes an audio input is the thing that will actually produce audio on a speaker. 211 00:14:03,100 --> 00:14:08,220 What we've not had forever is something that actually produces audio in real time. 212 00:14:08,260 --> 00:14:15,640 Like the producers of audio would be like a wave file or it would be synthio, the little synth engine that's built into Circuit Python. 213 00:14:16,420 --> 00:14:21,560 But we couldn't have, say, really a microphone or like a guitar input or something. 214 00:14:21,960 --> 00:14:22,520 But now we can. 215 00:14:22,680 --> 00:14:25,240 So now there's all these things that could take an audio input. 216 00:14:25,420 --> 00:14:29,200 And now we have another audio input, a real-time audio input, which is pretty cool. 217 00:14:30,480 --> 00:14:30,580 Okay. 218 00:14:32,819 --> 00:14:37,040 It's been really kind of frustrating to talk about all these cool audio features inside of CircuitPython. 219 00:14:37,260 --> 00:14:39,600 One of the first things are people ask for like, 220 00:14:39,640 --> 00:14:41,000 we'll kind of hook a microphone up to it. 221 00:14:41,680 --> 00:14:43,960 And the answer's like, no, not really, not yet. 222 00:14:45,040 --> 00:14:49,280 Speaking of cool features, there have long been these three modules, 223 00:14:49,500 --> 00:14:52,160 these kind of upper level modules called audio delays, 224 00:14:52,320 --> 00:14:57,360 audio filters, and audio free verb that have been enabled on RP 2350, 225 00:14:57,440 --> 00:15:00,700 like the PICO 2 and ESP 32, but not on the RP 2040. 226 00:15:01,340 --> 00:15:03,520 But RP 2040 is perfectly capable of doing some of this stuff. 227 00:15:03,620 --> 00:15:07,220 So now you can do like echo effects and filter effects and cool. 228 00:15:07,240 --> 00:15:10,580 chorus and flanger and reverb on the RP2040. 229 00:15:11,240 --> 00:15:15,960 Also, me and Cooper wrote some speed changer objects. 230 00:15:16,920 --> 00:15:17,760 One's called speed changer. 231 00:15:17,820 --> 00:15:18,600 One's called resampler. 232 00:15:18,660 --> 00:15:22,640 It lets you, like, in real time, change the speed of a sample. 233 00:15:23,280 --> 00:15:25,420 So you can do sort of like scratch effects on a turntable, 234 00:15:25,620 --> 00:15:28,680 or you can just like repitch a sample or, like, 235 00:15:28,730 --> 00:15:31,680 if you're trying to do beat matching of wave files and stuff. 236 00:15:32,280 --> 00:15:39,240 There's also a new granular pitch shift effect so you can do much, like we've already had a pitch shift effect, 237 00:15:39,320 --> 00:15:40,740 and that was a granular pitch shift effect. 238 00:15:40,760 --> 00:15:42,540 They both have kind of different audio qualities. 239 00:15:43,400 --> 00:15:45,900 Sometimes the granular pitch shift will kind of sound more natural 240 00:15:46,080 --> 00:15:47,480 at larger shifting of pitches. 241 00:15:48,200 --> 00:15:50,020 And the pitch shift is often used if you want to make, say, 242 00:15:51,620 --> 00:15:54,840 make you sound like three voices instead of one voice, you know? 243 00:15:56,500 --> 00:15:58,760 So that'll be a fun thing to try out in the coming weeks. 244 00:15:58,840 --> 00:16:02,020 They'll be like, oh, can I make myself sound like a multitracked, you know? 245 00:16:02,420 --> 00:16:04,380 And then also sort of the nuts of bolts things, 246 00:16:04,740 --> 00:16:07,020 there's a new object called audio file writer, 247 00:16:07,520 --> 00:16:10,780 which lets you take a whole audio chain you've created, 248 00:16:11,240 --> 00:16:13,880 and instead of outputting it to a speaker where it's ephemeral, 249 00:16:14,220 --> 00:16:16,060 you can actually have it right to a file. 250 00:16:16,720 --> 00:16:18,280 So it'll basically write a right away file. 251 00:16:18,460 --> 00:16:21,220 And that's kind of useful, usually for testing, 252 00:16:21,820 --> 00:16:23,640 you know, if you want to see if, like, is my algorithm 253 00:16:23,860 --> 00:16:25,740 or is my chain actually doing what it's supposed to do. 254 00:16:26,440 --> 00:16:28,340 But it's also good if you just want to kind of save the effect 255 00:16:28,480 --> 00:16:31,860 because you're making weird noises and you want it to, you know, save the file. 256 00:16:32,900 --> 00:16:33,880 Yeah, so I'm really excited. 257 00:16:34,040 --> 00:16:34,580 Lots of cool things. 258 00:16:34,820 --> 00:16:40,100 It's really neat that like Circa Python has become sort of like the audio toolkit, construction kit. 259 00:16:40,840 --> 00:16:40,980 Yeah. 260 00:16:41,180 --> 00:16:44,900 And it's been exciting watching you and Cooper and others continue to build on that. 261 00:16:44,960 --> 00:16:52,620 Because it's been like a two, three year process from when Synthio first came out and seeing all the different layers that have come since then. 262 00:16:52,820 --> 00:16:53,040 Totally. 263 00:16:53,320 --> 00:16:53,400 Yep. 264 00:16:53,720 --> 00:16:53,880 Okay. 265 00:16:53,940 --> 00:16:54,520 What's your number two? 266 00:16:55,400 --> 00:17:00,960 Next up, I have the AP 30 Music Boy, which may just be the most adorable retro gadget I've seen in some time. 267 00:17:01,520 --> 00:17:03,020 You'll notice that it's called the Music Boy. 268 00:17:03,220 --> 00:17:06,579 And that's definitely on purpose as this MP3 player looks like a Game Boy, 269 00:17:06,760 --> 00:17:08,160 from the screen to the buttons, 270 00:17:08,620 --> 00:17:11,120 though it's not quite as wide and it's about half as tall. 271 00:17:11,640 --> 00:17:13,740 It's pretty small as it sits in the palm of your hand 272 00:17:13,740 --> 00:17:16,339 and features a 2.0-inch iPS screen. 273 00:17:17,060 --> 00:17:18,459 It's high-res audio certified, 274 00:17:18,800 --> 00:17:21,740 and they really push how high quality the music is supposed to sound. 275 00:17:22,439 --> 00:17:26,600 It features a 3.5 millimeter and 4.4 millimeter headphone jacks, 276 00:17:26,640 --> 00:17:28,140 as well as Bluetooth 5.3, 277 00:17:28,680 --> 00:17:31,200 and you can install a microSD card to store your music. 278 00:17:31,880 --> 00:17:37,120 You can stick it in your pocket, hang it on a lanyard, or it comes with a magnetic case to stick on the back of your phone. 279 00:17:37,780 --> 00:17:41,539 You can also use it as a USB deck on your computer to punch up the sound quality. 280 00:17:42,240 --> 00:17:49,860 It also includes a Tetris-like game and an e-reader, though it's even smaller than the X4E ink, e-reader we talked about on the show a few months ago. 281 00:17:51,010 --> 00:17:55,080 This is a Kickstarter that just launched at the end of July and goes through August 17th. 282 00:17:55,320 --> 00:18:01,480 The super early bird aluminum version starts at $93 or the plastic version at $85, though, 283 00:18:01,640 --> 00:18:03,640 those might be gone by the time this episode 284 00:18:04,960 --> 00:18:05,680 airs. I'm super 285 00:18:05,860 --> 00:18:07,800 close to pulling the trigger on this one. I can 286 00:18:07,920 --> 00:18:09,780 see using it walking my dog or doing 287 00:18:09,780 --> 00:18:11,700 the dishes, but the only thing 288 00:18:11,840 --> 00:18:13,760 stopping me is that the vinyl records I buy 289 00:18:13,960 --> 00:18:15,840 don't come with MP3 download codes 290 00:18:16,000 --> 00:18:17,840 anymore. And I don't see myself 291 00:18:18,080 --> 00:18:19,780 buying albums on MP3 again, 292 00:18:20,620 --> 00:18:21,880 nor do I want to pirate them. 293 00:18:22,660 --> 00:18:23,640 So in my case, it really 294 00:18:23,760 --> 00:18:25,700 would be a nostalgia device as I would have to listen 295 00:18:25,700 --> 00:18:27,860 to all the CDs I ripped or MP3s I bought 296 00:18:28,460 --> 00:18:29,760 right up until about 15 297 00:18:29,920 --> 00:18:31,600 years ago when it just stops because I 298 00:18:31,620 --> 00:18:32,640 started listening to records. 299 00:18:33,620 --> 00:18:35,000 But man, this thing is adorable. 300 00:18:36,120 --> 00:18:37,040 It's really cute. 301 00:18:37,720 --> 00:18:42,700 And it totally is hitting at the right time because there are so many like two generations 302 00:18:43,060 --> 00:18:43,780 below us, I think. 303 00:18:44,280 --> 00:18:48,740 Kids that are just becoming kind of cognizant of music are really wanting to use their 304 00:18:49,020 --> 00:18:50,120 parents' iPods and stuff. 305 00:18:50,200 --> 00:18:51,960 But like, you know, old iPods are kind of hard to get working. 306 00:18:52,160 --> 00:18:55,840 And so this could be a nice, like this is a smaller lighter than an iPad lasts for longer 307 00:18:55,980 --> 00:18:56,440 on a battery. 308 00:18:56,900 --> 00:18:57,080 Right. 309 00:18:57,180 --> 00:18:58,020 It stores more songs. 310 00:19:00,560 --> 00:19:01,580 But yet gives you that retro. 311 00:19:01,600 --> 00:19:02,500 a field because you can plug in 312 00:19:02,720 --> 00:19:03,400 where wired headphones 313 00:19:03,540 --> 00:19:04,240 into it and get like, 314 00:19:04,300 --> 00:19:04,420 you know, 315 00:19:04,460 --> 00:19:05,580 eight hours of playing around 316 00:19:05,660 --> 00:19:05,880 on a, 317 00:19:06,260 --> 00:19:07,060 you sure can. 318 00:19:08,700 --> 00:19:09,040 All right, 319 00:19:09,080 --> 00:19:10,140 what's your last one for us? 320 00:19:10,680 --> 00:19:11,220 That's amazing. 321 00:19:11,820 --> 00:19:12,520 There is this, 322 00:19:12,900 --> 00:19:13,900 one of these awesome lists 323 00:19:14,060 --> 00:19:15,460 called awesome self-hosted. 324 00:19:16,440 --> 00:19:17,560 You've seen all the awesome lists 325 00:19:17,640 --> 00:19:17,960 that are out there, 326 00:19:18,160 --> 00:19:19,700 usually on GitHub as a markdown file. 327 00:19:20,400 --> 00:19:21,000 This one's about 328 00:19:21,620 --> 00:19:22,840 free open source alternatives 329 00:19:23,040 --> 00:19:24,100 to all the cloud-based 330 00:19:24,360 --> 00:19:26,680 subscription services that we're drowning in. 331 00:19:27,020 --> 00:19:27,500 I've been increasingly 332 00:19:27,600 --> 00:19:28,600 concerned that we're just becoming 333 00:19:28,940 --> 00:19:30,560 tenant farmers of our own information, 334 00:19:31,180 --> 00:19:33,780 seemingly barely owning anything we in creator enjoy. 335 00:19:34,500 --> 00:19:37,760 Instead, paying increasingly higher monthly fees to just live our lives. 336 00:19:38,480 --> 00:19:42,680 And now AI is eating up all of our creative output and regurgitating it back to us for a fee. 337 00:19:42,920 --> 00:19:44,380 I'm a little worried, you know. 338 00:19:45,500 --> 00:19:49,440 But hey, the awesome self-hosted list might have some solutions for us. 339 00:19:50,740 --> 00:19:54,840 It has links to hundreds of network services and web applications you can install 340 00:19:55,140 --> 00:19:57,860 that accomplish most of what we use cloud services for. 341 00:19:58,600 --> 00:20:01,140 Of course, it has links to how to turn, to how to run your own. 342 00:20:01,160 --> 00:20:05,300 own Gmail like server or web servers or get repositories, all the standard nerd stuff, 343 00:20:05,940 --> 00:20:11,140 but also has links to CMS document systems for small businesses or mapping systems like 344 00:20:11,300 --> 00:20:17,400 Google Maps, URL shorteners like Bitly, or backup systems like Backblaze, or even video 345 00:20:17,700 --> 00:20:21,840 conferencing tools like Google Meet, all open source, all installable by you. 346 00:20:22,860 --> 00:20:26,660 Most of these are bundled up into Docker light containers, so you can run multiple of these 347 00:20:26,800 --> 00:20:31,120 services on a single box. You could even run them on a remote virtual machine from digital 348 00:20:31,140 --> 00:20:36,120 or Linode. Sure, it's another subscription cloud service, but it's only one instead of many, 349 00:20:37,060 --> 00:20:40,880 and you control all the data that's inside of it and it's all security you. Or you can find an old 350 00:20:41,140 --> 00:20:45,460 laptop or PC and put Linux and Docker on it and host some of those services. Most of these 351 00:20:45,660 --> 00:20:53,540 services don't need much CPU. You know, you're just one or one or a family of people. How much data 352 00:20:54,160 --> 00:20:58,100 do you actually need? Or do you actually have? One of the nice things about having your data 353 00:20:58,260 --> 00:21:01,060 locally is it will often feel faster when using it. 354 00:21:01,660 --> 00:21:16,960 And if you're interested in tuning an AI, having a local one instead of a remote one that you don't own, that pokes around in your local data is much faster and cheaper and more secure than doing a bunch of remote API calls to a corporation you barely trust. 355 00:21:18,399 --> 00:21:27,920 So I run several local servers already for things, but this list has got me thinking about moving more of my life to be directly more under my own control. 356 00:21:28,640 --> 00:21:30,260 And it might be fun, you know. 357 00:21:30,980 --> 00:21:31,320 Who knows? 358 00:21:31,860 --> 00:21:33,860 Yeah, I love the whole HomeLab movement. 359 00:21:34,700 --> 00:21:36,180 That's really behind a lot of this. 360 00:21:36,560 --> 00:21:37,680 I think it's just fantastic. 361 00:21:37,860 --> 00:21:41,840 Now, the only caveat I would say is you kind of touched on it is when you're maintaining 362 00:21:41,960 --> 00:21:44,960 it yourself is to do it securely, right? 363 00:21:45,140 --> 00:21:45,760 Read up on it. 364 00:21:45,860 --> 00:21:47,720 Make sure that you understand security best practices. 365 00:21:48,260 --> 00:21:52,760 Because some of these software can sometimes be easily hacked via zero day and that kind 366 00:21:52,800 --> 00:21:53,360 of fun stuff. 367 00:21:53,600 --> 00:21:53,840 Yeah, yeah. 368 00:21:54,760 --> 00:21:54,840 No, totally. 369 00:21:55,320 --> 00:21:58,520 This is where I'm more akin to liking to the done. 370 00:21:58,540 --> 00:22:01,980 Docker solution because instead of just, oh, install these random packages on a Linux server, 371 00:22:02,560 --> 00:22:06,160 you would do it in sort of these little bundles that are kind of secure by only exposing one port 372 00:22:06,210 --> 00:22:08,200 or whatever. But as you were saying. 373 00:22:08,540 --> 00:22:11,820 But yes, we talked about this in a couple episodes ago. 374 00:22:12,380 --> 00:22:16,120 It's absolutely worth learning Docker. I know the basics of it. I've got a couple of containers 375 00:22:16,320 --> 00:22:21,680 running that do some of this stuff. I've got a ebook reader software hosted on a Docker container 376 00:22:21,840 --> 00:22:23,760 that it manages all my ebooks for me, for example. 377 00:22:23,760 --> 00:22:24,960 Oh, yeah, definitely. Yep, yep. 378 00:22:25,420 --> 00:22:27,360 It's probably on that self-hosted list somewhere. 379 00:22:29,180 --> 00:22:31,560 Yeah, the list is a little daunting, I must say. 380 00:22:31,960 --> 00:22:32,720 There's a lot of stuff. 381 00:22:33,220 --> 00:22:37,140 But it is absolutely worth putting some time into Learn Docker and doing some of this yourself. 382 00:22:38,100 --> 00:22:38,200 Yep. 383 00:22:38,620 --> 00:22:43,000 And even if you don't use it for Reelsies, just playing around with the concepts is really fun. 384 00:22:43,460 --> 00:22:46,920 You know, like I was poking around at one of the mapping examples. 385 00:22:47,160 --> 00:22:52,780 It's like, oh, wow, there are these open source map tile servers or map tile datasets. 386 00:22:53,000 --> 00:22:54,780 You can just use, install, and download. 387 00:22:54,860 --> 00:22:58,600 And if you want to make it totally local and totally self-contained, 388 00:22:58,700 --> 00:23:01,220 it doesn't even need a network connection for all the, 389 00:23:01,600 --> 00:23:04,280 if you're doing local maps, you know, it's kind of cool, 390 00:23:04,360 --> 00:23:05,860 all the stuff that's out there that we can just play with. 391 00:23:06,640 --> 00:23:08,440 All right, Paul, what's your number three for this month? 392 00:23:09,280 --> 00:23:10,780 My last two are headphones related. 393 00:23:11,340 --> 00:23:13,880 The first has been in the news for a bit, oh, is still new to me. 394 00:23:14,560 --> 00:23:18,140 Are you in the Android or Linux ecosystems and never been jealous of the functionality 395 00:23:18,300 --> 00:23:19,440 Apple's AirPods have? 396 00:23:19,980 --> 00:23:21,800 Well, thanks to a project called LibrePods, 397 00:23:21,880 --> 00:23:24,760 you can now use AirPods-like features on Linux and Android. 398 00:23:24,780 --> 00:23:26,680 Android. The developer has used 399 00:23:27,080 --> 00:23:28,560 Wireshark to reverse engineer Apple's 400 00:23:28,740 --> 00:23:30,720 proprietary protocols. You can use 401 00:23:30,800 --> 00:23:32,520 features like Auto Connect, listening 402 00:23:32,720 --> 00:23:34,180 mode, battery status, and more. 403 00:23:34,880 --> 00:23:36,700 No more feeling of missing out. If you want 404 00:23:36,780 --> 00:23:38,620 to use Apple hardware with your Android phone, 405 00:23:38,760 --> 00:23:40,760 now you can. I've linked to the project 406 00:23:40,880 --> 00:23:41,540 in the show notes. 407 00:23:42,740 --> 00:23:44,800 And my last one is via Tom's Hardware, 408 00:23:45,240 --> 00:23:46,700 which recently covered the Sony 409 00:23:46,920 --> 00:23:48,980 Head Tracker project by Nicholas Slattery 410 00:23:49,120 --> 00:23:50,740 on GitHub. If you have 411 00:23:50,740 --> 00:23:52,780 a high-end pair of Sony's noise-canceling 412 00:23:52,880 --> 00:23:57,460 headphones like the Sony WH1000 XM-5s, you're in luck. 413 00:23:58,160 --> 00:24:01,720 These headphones have support for spatial audio, meaning they have sensors including 414 00:24:01,940 --> 00:24:05,880 gyroscopes and accelerometers for head tracking. Mr. Slattery has reversed 415 00:24:06,080 --> 00:24:10,860 engineered the sensor's firmware to allow you to use head tracking in games on MacOS 416 00:24:11,850 --> 00:24:15,860 and Windows. Once you have everything set up, you put your Sony headphones on and the 417 00:24:16,070 --> 00:24:21,280 in-game camera will respond to your head movements. For example, look to the left in a driving 418 00:24:21,400 --> 00:24:26,080 SIM and your view changes from the front window to the side window, making it that much more 419 00:24:26,800 --> 00:24:26,900 immersive. 420 00:24:27,500 --> 00:24:30,900 Check out the article to see the list of headphones that are compatible and for more details 421 00:24:30,940 --> 00:24:31,760 on how it works. 422 00:24:32,220 --> 00:24:36,820 I've linked to both the article on Tom's hardware and the GitHub repository for the Sony 423 00:24:36,980 --> 00:24:37,980 Head Tracker. 424 00:24:38,280 --> 00:24:38,660 That's cool. 425 00:24:39,100 --> 00:24:41,760 Yeah, I'm a huge fan of Apple AirPods. 426 00:24:42,060 --> 00:24:45,780 I think it's like one of Apple's best products they've ever made, but I have not even tried 427 00:24:45,780 --> 00:24:49,140 to put, try to get them to hook up to any of my Linux devices. 428 00:24:50,700 --> 00:24:51,980 Yeah, I wouldn't have thought to try it. 429 00:24:52,380 --> 00:24:53,560 Once you're in that ecosystem, 430 00:24:54,060 --> 00:24:57,720 the stuff just works and it flat out doesn't if you're not in it. 431 00:24:58,160 --> 00:24:58,500 Yeah, yeah. 432 00:24:58,600 --> 00:25:01,840 But it looks like there's a lot of the cool features that beyond just being a basic 433 00:25:02,140 --> 00:25:04,400 Bluetooth headphone, which I think they've always been able to be, 434 00:25:04,940 --> 00:25:07,960 it sounds like some of the cool features actually kind of can work now on Linux. 435 00:25:08,360 --> 00:25:09,040 Yeah, it looks that way. 436 00:25:10,020 --> 00:25:10,680 Well, that's our show. 437 00:25:11,660 --> 00:25:16,420 Our special announcement is that Circuit Python Day will be later this month on Friday, August 21st. 438 00:25:17,120 --> 00:25:20,320 Tod and I will be hosting a live edition of The Bootloader all about CircuitPython 439 00:25:20,340 --> 00:25:22,140 on the Adafruit YouTube channel. 440 00:25:22,780 --> 00:25:27,800 Follow us on social media or join our newsletter, and we'll share what time the show is on as soon as we know. 441 00:25:28,380 --> 00:25:30,260 Until next time, stay positive.