 I usually do the show on Thursday. Various circumstances prevented me from doing it yesterday, so I was able to move it to how that goes for you. I know at least one person had to wake up from a nap to watch the show. Thank you, thin man, I appreciate it. Hey, bug lugs from the UK. Welcome, thanks for stopping by, and hi, Davo Dessa over in our YouTube chat. You saw me speak into these. Fine folks right here in our, whoa, what's that sound? Oh, that was my Bluetooth speaker shutting itself down. Thanks for announcing yourself. What was I saying? Hey, look, there's the Discord chat. If you're wondering where the chat is, maybe you're over on Facebook or somewhere else, LinkedIn, Twitch, and you don't see any chat, you can head over to our Discord server, which is at adafrew.it slash discord, and that'll get you an invite right into our Discord server. You can look for that channel right there, live broadcast chat channel. There's lots of other channels too, I think we have over 30,000, maybe more, 35,000 users. I don't think it says it over there anywhere. And we have a bunch of channels for help with different software and coding languages and topics and hardware, as well as pet photos and other good things like that. So head over to our Discord live broadcast chat channels where it's happening during the chat. So hello, Seagrover and Paul Cutler and Jeff. Thank you for stopping by, thin man. Yes, hey, Jim Hendrickson, hey, Todd Bot. You could have been taking a nap. Don't think about it too hard. Stay here, stay here with me. David Desis says, I thought this was Thursday. I look out, I hope I wasn't your clock as I switched it up this week. Let's see, is that, camera might be doing something suspicious. We'll see when we get over there. So we have lots of cool stuff happening on the show today. I think I'm excited about it. So first of all, what are we gonna do? I've got a coupon code for you if you wanna buy some stuff and get a little discount in the store. I've got a recap of the product pick of the week. I've got a Circuit Python Parsec, one that was suggested by Seagrover. Thank you for the suggestion. I have a gear report, a new piece of gear I got and it is a cool sampler from Teenage Engineering. I wanna show just a little bit about that nut. I haven't played with it enough to say anything intelligent about it other than show it to you a little bit and show you the very cool Lego Technic integration that they did on the case, which I love and I wish everyone would do. Just make things with Technic pin holes and we can take it from there. Then I've got my PCBs in. You may remember a couple of weeks ago I was designing what I've renamed the fader wave but that is my 16 fader board with a itsy-bitsy connected to it and some DACs and an ADC or vice versa, some ADCs and a DAC, headphone out, a little RC circuit, a little screen on it. PCBs came in and I've built up one board. I wanna show it to you. I've got some software working on it and I'm gonna do a little revision but it actually works as is which is great. So I'm just trying to refine a few things and this one is just gonna be a board that you could download or just have made for you at a PCB house if you want. It's not gonna be an Adafruit product. Someone says they can't hear me. Dexter, what's going on Dexter? Are your speakers on? I see my microphone levels reacting as if I'm making sound. So maybe, oh, all right, Dexter dropped the message. Okay, sounds like you can hear me now. Hey. So that's gonna be the show. Let's start it off with, I said I've got a coupon code for you. This is the coupon code today, knock out. Knock out, we'll get you 10% off in the store. Head on over to Adafruit.com. It looks like this, go there. Go to Adafruit.com, throw some stuff in your cart, your shopping cart, like a big long TFT display if you want. You can do that and you'll get 10% off. It'll cost $2 and 19 or 20 cents less. 10% off on your order and not only can you use that coupon code to get yourself a nice discount, but if I can find my browser, if you go to Adafruit.com slash free, you can see what some of the promotions are for spending more money. So if you spend 99 or more, you'll get a free PCB coaster. This is the very cool Adafruit PCB coaster. You can spend 149 or more, you'll get the coaster and you'll pick up a KB2040 microcontroller board, which I'll actually be using in my Circuit Python Parsec today. It was a board that I had handy. If you spend 199 or more, you'll get free UPS ground shipping in these continental United States and the KB2040 and the coaster. And if you go all the way up and spend 299 or more, you're gonna get a free Circuit Playground Express and the ground shipping in the continental United States and the KB2040 and the coaster. So you don't have to do anything, it'll tell you in the cart, you don't need a coupon code or anything for that. But you do need this coupon code knockout if you wanna get 10% off in the store today. So head on over to Adafruit and throw some cool stuff in your cart and make it just a little bit cheaper. Speaking of stuff from Adafruit, I've got my Tuesday show, the product pick of the week. I had a nice little product pick, an interesting one actually this week. I thought the HUSB 238 and here is a little recap for you. It is the HUSB 238 USB-C power delivery breakout. When I plug in the HUSB 238, it is now giving me 20 volts. So I'm gonna give it 20 or this 19.6 here by plugging in the other end of one of those little pigtails there and you'll see all of my little wireless LEDs lighting up. And so this one here has the nine volt jumper set there. Now it's gonna provide us with nine to my power input for the little flying faders here. You can see they are now moving around under the power of this power brick that's supplying nine volts. It is the HUSB 238 power delivery breakout. That's right, that's what it is. I think we sold through those, we sold out of those. So it seems like a lot of people have big plans for using their cool USB-C power delivery for all kinds of things. I really like the idea of integrating that into different projects. So you can then just plug in one common USB cable and it doesn't matter if your device wants 12 or nine or five, 15, 18, 20 volts, who cares? One cable will rule them all. Next up, I've got a circuit Python Parsec for you. Yes, circuit Python. Okay, for the circuit Python Parsec today, I wanted to show you how you can use four statements with enumeration. So what does this mean? Well, if you think about looping through a four statement in the typical way, check out my code here. I've got a list, it's called some cool letters and then I've got A, B, C, D, E, F, G and H. So this little list, if I wanna loop through this list and grab each of those values at each of those indices, this is a really common way to do it. I do it this way out of habit, almost always, for I, little variable I, in range the length of the list that I'm trying to enumerate through or loop through rather, I will print some cool letters, bracket I, closed bracket. If I save this right now, you will see down at the bottom is going to loop through those letters and I also have a little pause in there. This works great but it's also a little bit clunky, it's not super clear to read if you're coming in and looking at someone else's code or your own code after a while. So with enumeration, you can instead do something much simpler like this, check it out, for a cool letter in some cool letters, print a cool letter, it doesn't get easier than that. You'll see when I save that, the results are the same, it's gonna go through and read out each of my letters there but instead of having to talk about I and the position in the list, we can just simply enumerate through them with any variable we want and I really like this because it lets you be descriptive with it. I'm not looking at I in there, I'm saying oh, a cool letter, whichever one we're looking at at the time. Now, if you wanna use one extra feature of this, you can grab the count or the index but really it's the count, let me change this in fact, count and print it so you can see which item number it is in that list. So when I save this, you're gonna see, okay, one, two, three, four, five, six, seven, we have those letters. And so this is how you can use enumeration with four statements inside of circuit Python and that is your circuit Python parsec. Yes, circuit Python. Okay, you saw me pause there for a second because I got confused by why am I not seeing my zero item in any of those? How come it's never starting on A? Did I do something wrong? I swear it wasn't doing that before. Someone, this is gonna be a group project. Tell me what I've got happening in there. I'm gonna wait for a moment. Something is up there. I swear it was working better before. What did I do? Check my notes, hold on one second. What or what did I do? Maybe it's a Friday thing. That should, why is that doing that? Is it just a printing problem? Oh, you know what? I've run into some of these printing problems before. I wonder if it's just simply not printing that first one. Let me see. I think, yeah, we'll do it with this first one here. I'm gonna wait for your notes to come in because one of you coders out there surely has spotted the error. Oh, start your code with control C, control D, don't save. Yeah, yeah, yeah. The USB enumeration time is eating the first prints. It's because I'm hitting save, okay. Let's redo this. I'm gonna redo the whole thing. This is gonna make my life easier for editing later. Sorry, okay. Take two, you ready? I hope I am. In fact, you know what? Just because it'll be a little quicker to do it this way, I'm gonna see if I can just add a little pause at the top here. Time, sleep, let's say, will one second work? Yeah, no. We need more time than that for USB to catch up. All right, how about three seconds? Is that outrageous? Okay, Todd, you win, I'm gonna hit control D. Let's do it. It doesn't want to. What the heck? It won't do it, even with that time sleep. All right, I'll get rid of that time sleep. Did that do it? It did not, okay. So now I'm gonna control C, control D. Won't do it. Why? Weird, weird is right. I swear I had something like this happen before. Is it this particular REPL? I wonder. Let's try, I'm gonna open up a terminal window and if I can remember how to get screen. Add the print, a print at the top of your code. Okay, all right, print. Ha-ha, that worked. What the heck? All right, that worked. Thank you, Todd. Can we make it descriptive? Creation. No, that'll be confusing. I'll leave it like this. All right, did that do it? Why did it need that? I don't know. Bug, who knows? Yeah, I'm gonna say it's the ID. Let's blame the ID, okay. So here we go, ready? We're gonna do this from scratch. For the Circuit Python Parsec today, I wanted to show you how to use enumeration in four statements. So in a typical use case with a for loop, we're gonna run through and in this case, print out each item inside of a list. So I start out with this list called some cool letters and I have A, B, C, D, E, F, G, H. If I wanna use each item in that list, in this case, just to print, typical way to do that is to say for I, a variable, in the range of the length of whatever that list is, length of some cool letters, print some cool letters and then in brackets, I. So it's gonna go through the zero, one, two, three, four, five and so on. So I'll save that and you'll see down at the bottom it's gonna print A, B, C, D, E, F, G, H with a little pause in between. Now that is a real common way to do it but this is a much more elegant way to do it using enumeration. For a cool letter in some cool letters. So you can see here, we're not relying on I, we don't have any brackets, we're just simply going to enumerate through the items in that list with a cleaner syntax. So you can see, we get the same result, it prints out each of those. Now one other thing that we can do is also show the count which initially will line up with the index but the count of each item in that list is simply in this case the first item when we use enumerate in that list. So for a variable named count and a variable named a cool letter in enumerate the list, some cool letters, we're gonna print out the count and the cool letter each time it runs through. So if I hit save now, you can see we get the zero, one, two, three, four, five, six, seven count and their values. And so that is how you can enumerate with four statements inside of circuit Python. And that is your circuit Python Parsec. Hey, it takes a village. Thank you so much to the chat for solving or at least hacking our way around what could just be the IDE here. This is a sublime text that I'm using. Some weird buffer flush thing, Mike P says. I like that. Could be a weird buffer flush, buffer flush. Okay, we'll move on. I'll try that out on some other repels and serial outputs later. But one thing I wanna mention is we've only got until I'm gonna end the show by 150. Sometimes I go a little longer than that. I'm gonna end at 150 today because Scott is going to, at least as of yesterday, told me he was planning to do a deep dive at two from two to four. So I will be sure to get out of there by then. So everyone has some time if you're watching that to go grab a beverage and stretch your legs. Let's see, question from the chat, actually. Let me bring up the Discord chat. Non-official says, hey, John, what are your thoughts on the Seed Studio Zhao, Sam-D21? I have used the QDPI Sam-D21, which is a very, very similar design based on the Zhao form factor. In fact, the whole QDPI line, I don't know if you're familiar with these, these are the Aida for QDPI line. These are based on the Zhao. They are great boards. I love the Sam-D21. It's a little underpowered for some more modern things that we like to do, but certainly great chip for a lot of uses. Good for USB stuff, you're doing HID things like joysticks and keyboards, really cool, small board. So if anyone has experience with that specific board, let non-official in the chat know. All right. Okay, so next up, what do I have? Let me look at my notes here. We got gear report. Okay, I'll jump over to the bench cam and let's throw, not that view, this view right here onto there. Let me jump over there. We're not gonna look actually yet at this JLC PCB box, but I wanted to show, this is a brand new hype piece of gear. You may have seen it floating around the internet if you're into synthesizer-y kinds of things. This is from Teenage Engineering. It is their kind of evolution of the pocket operator idea. I don't have one right here. Pocket operator is a little calculator, handheld size. This is like a giant calculator-looking thing, gorgeous design. It's a sampler, so it can sample directly line in or on a microphone and then play out over it's little speaker if you have to or better going through a line out and you can trigger samples. So if I power this up, and in fact I'm gonna turn on the microphone that I've got on that speaker. Let me know if the volume gets kind of blown out, if you can't hear me actually. I'll open up my discord on the phone so I can see that. Not that, but that's right there, yes, okay. So let me know how these levels are. This, so you can see I've got a bunch of drum samples on these 12 pads. If I go down to the next group, I've got bass. Up a little bit. And the way you use it typically is pick a sample you want and then if you wanna play it like a keyboard, either chromatically or with other scales, you can hit keys and now whichever last one I pressed is now available as a playable keys. So you've got these four groups, you can sample into it. I'll show this off more once I'm a little more familiar with it. Once you have the samples loaded that you wanna use, edited, you can then start sequencing them. I'll just so whatever I've got sequenced in here, some demo thing I made. So we've got the four groups at four different lengths. I've got like a four bar track. I've got, I think drums are just over two bars. So that's the basic idea of that. Oh good, C Grover said the sound mix is good. It might have distorted a bit when I turned it up. Yeah, thank you. I think I cranked one fader. So super neat device, lightweight, pretty portable, pretty stylish. Two things I wanna focus on today. One, Lego compatibility. They made this with Lego Technic pin sized holes on the side and spacing. So you can see this is a zoom in effect. Focus looks pretty good. So you can see here I can put a Lego Technic pin, it clicks in there beautifully. I can put in another one next to it. And if you take any Lego Technic compatible object, you can click it onto there. So now you can start to make little stands for it, covers, whatever you want. The first practical thing I've built along those lines for it is using a couple of these Technic lift arms. These come in a couple of different angles. I can make myself a little angle stand for it so it's not flat on the table. I can instead click those in there. And now you can see it's at a cool little angle. There's another set of two down here. I don't know why they did the three up there and the two here. One of the guesses people have is that much like the pocket operator is a line of probably 12 or 16 different devices at this point. Been out for a number of years. This may end up with, it's really likely this is a line and we'll end up with other, this is the sampler, there might be a more drum machine, specific focused one, other synthesizers. And they might click together with these little pins if you wanna do that or maybe there'd be accessories, who knows, MIDI controllers, I don't know. But anyway, that's the one kind of first thing I wanted to talk about with this cool Gizmo. The other thing I wanted to talk about is fader gate. So this happened really quickly but these just came out that people just started getting them in the last week and a half or so. And a lot of people, myself included, have had some problems with this fader. So you'll see there's a fader here that I'm using right now to change the level of whatever group I'm in. You can see if I touch it from the side it is changing the values a whole lot as if I've just slid the thing a third of the way. If I lift up or push down, you can see. So there are loose wipers on the little track, the conductive track inside of this potentiometer. And so people have been taking these apart, pulling the fader apart, pushing those little spring-loaded track or wipers down and then fixing the problem themselves. You can send it in for a warranty RMA or repair. However, these things are kind of back-ordered and if you want to keep it, your main choice right now is either ignore it if you can or fix it yourself one way or another. Some people have not been able to use their devices because this is like constantly moving and taking over the screen and everything if it's super, super broken. Issue may be with a bad batch of slide pots, it could be a problem with the packaging which was super, super tight. At first people thought it was the knobs that they have you put on yourself but I suspect it was more of a shipping problem than anything else. So I'm not gonna fix mine right here right now yet. I'm not sure yet what I wanna do. Mine actually, if I only use it with downward pressure it seems to be pre-reliable. You can see when I let go, it kind of stays there. If I go from the side, I can make a jump. If I wiggle it, that's no good. But I can kind of use it and I kind of wanna have it to use for now. Not sure how many days you have to call in and say you've got a problem but I'll look that up. So the one thing I did want to do though is take a look at inside of a typical slide potentiometer to see what has happened, what has gone wrong. This is a slightly different design but by and large pretty similar. So you can see here slide pots have a little PCB at the bottom and we've got, and I'm sorry I should have pre-unbent these. Oh, I gotta find a better thinner tool. Will you work? Yeah, that'll work. So these little tabs wrap around from the metal outer casing and hold the whole thing together. And so the fix for people who are willing to do it has been to desolder their slide potentiometer on the K02 and then do this, pull these, okay, I gotta get a little tiny screwdriver instead. So yeah, they've gotta desolder it from the board, then pull it apart, then bend those little wiper blades down and re-solder it. I'd considered doing it on air but I decided I'm not quite ready to take those steps with it and one thing I've heard from people who've taken it apart is there are something like 28 tiny little screws so I don't know if I'd wanna do that as a fully on-air experience unless you really love watching someone with a screwdriver. So let me know in the chat. If you'd wanna see that, if I do opt to do the fix, you know, it's a small manufacturer, you cannot get, they can't suddenly make a zillion more of them. I don't think they were prepared for this so it could take you a long time to get your replacement is the problem. Okay, so there's two left. We are so close. Thanks for your patience in watching this. Yanisku7 says that it's like it says Koi. Yeah, it says we're knockout, KO. That's why today's coupon code, if you wanna get 10% off in the store is knockout and they've got like some boxer themed icons on here. One thing by the way, I should also mention is man, this thing has a neat display. It is a believe colored LEDs under LCD, a custom LCD and then this one is a matrix, a typical matrix module but most of this, if you look at, let me play. You can see some of those coming on there. This is all static. This is not a TFT screen. There, that's a good one. You can see I'm blinking on and off. Those are old school LCD style. Those are always that object, that graphic in that position. It's not a TFT, which is partly, I think why they're able to make it so fast and responsive on a fairly modest microcontroller. I think it's a Cypress chip in there. I forget which one and keep the price down so that's a pretty cool. Okay, here we go. I've got all those tabs unbent. Oh no, I don't, I missed one. Savant42 says, at least hoping we can source the OEM slide potentiometers, no sense in resoldering a dodgy component. Yeah, it's a good point. I think they've got a fairly custom looking stem because they designed it to fit techniques pin. And you can see this is kind of just a loose fit on a typical Alp style slide pot. They've got like a plastic compression fit component there they may have done custom or I've just not seen it before. Okay, so here comes the housing off of here. You try to keep everything else intact. So outer housing there has just a little dust guard on it. This is a little sort of low friction piece of plastic of some kind. Maybe it's nylon that helps that slide. Then we have the actual, in this case, there's a spring that I believe helps this thing, prevents this thing from wobbling. The spring doesn't make any contact with anything. It's just like a little leaf spring kind of guy. Grab some tweezers that pushes that little plastic or nylon component up against the shell. Then this is the actual slide with the wipers. Let me see, sorry, there we go. So this is the resistive element. And we're just adjusting the resistance depending on how far away from one end or the other we are with this. So these are what we think are faulty on the KO2 is these little wipers here. So if you look at those, if those which are spring-loaded to touch the track, if those have been damaged by pressing them down hard and possibly that's what's happening in the tight packaging, then they just may be flaky about actually contacting the conductive track. So what people are doing is just giving them a little help like that, unbend them just a little bit so that they wanna always maintain contact with the track. That seems to be the fix that's worked for a number of people. Some people have also come up with ideas on trying to make the repair while everything is still assembled by essentially using a little pick to reach in there like a little bent pin. Sorry, I keep going off-screen with that. Try to reach in there and push down but you're never gonna get that levered beyond the bottom out. So I'm not so sure how much that might just be putting a little strain on the spring. It has worked for some people too. But I don't think it's a dirty contact. I think it's just a squashed spring. So anyway, that's the one issue with that but I wanted to show off the cool new Gizmo and love that Lego compatibility that they've put in there especially if you have lots of techniques and Mindstorm stuff laying around, which I do. Build some fun stuff with that. Okay, that is gear report there. Let me turn down that speaker and then we'll talk about the PCBs came in for fader waves. Let me take that mic down. Come back here for a second. Yeah, Savant42 says your fader is wonky. Yeah, mine's a little wonky unfortunately. Not super busted. Some people have had rattling around parts kind of busted but yeah, it is a cool piece of kit for sure. If you're interested, look, there's some people who've done some teardowns on YouTube so you can see the guts. There's some nice light pipes or guides. There's a board of LEDs that are backlighting all of those graphics. It's a neat looking design. They did sell out quickly, Thinman. You can look at Guitar Center and some other big online or local retailers. You may find it in a local Guitar Center. They had a lot of them. It's hard to find it online at a fair price right now though people are flipping them. Okay. Pete Curry in a hurry. Am I gonna mind storm up the KO2? I don't know if I'll put motors on it or not. I was thinking to add in some wheels but that may be a bad idea. Okay, so let's talk about fader wave. This is, what do I have to, I don't think I've got an easy way to show the PCB design other than the PCB themselves. So these came in. Let me show you and talk about them here and then I'll do it on the overhead and give you a demo. So this is my version 0.1 PCBs that came in. Get that view off of the camera. I'm gonna go to the overhead. In fact, right here, we'll focus. There you have it. It's a little bit of glare, but that's it. Yeah, so it came in. This is 16 slide potentiometers. In fact, the exact one I just took apart there. It has a double row of pins here for socketing and itsy-bitsy, so you can use the itsy-bitsy M4 or the itsy-bitsy RP2040. Itsy-bitsy M4 is coming back in stock by the way. We're out right now, but those are coming back. We finally have those M4, that's MD51 chips. So those will be back. And those have a analog audio out the DAC stereo, two-channel A0 and A1. So that's what I've got wired up here, but you can also use those two same exact pins as a PWM out on the RP2040. And then that runs over to a little RC circuit here. I'm gonna keep noodling with the focus just a bit. Is that dark? No, that monitor is dark. So that output goes to a little stereo TRRS out. We only need the TRS, but that's the breakout that we have. Then we have the two ADCs. They're a pair of eight-channel ADCs on I2C, and those read the two pairs of eight faders. So all 16 faders are read there, and their positions are sent over I2C. This is a DAC output. So if you wanna use control voltage with a modular synth, maybe turn this into like a sequencer of some kind. That is your nice DAC output there. Liz is thinking of doing a project with this. So we'll hopefully get some cool code out of that. I put a little SPI OLED display on here, a rotary encoder with the click wheel, so a little more UI, and then this is where the RC circuit is. That's the original one, not too fancy I didn't do any kooky silk screens or anything, but they came in and I put them together and they work. I put one together in stages, so I didn't wanna solder everything down until I knew it was working, but that's the populated board right there. And so you can see I've got my ITSI-BITSI, I have that socketed, so I've tried both the M4 and the RP2040, they both work. You can see here I have this second row of pins, so I can solder down a second row of these headers in case I wanna be able to prototype stuff by plugging into pins that are not used. So this was a suggestion Lamour had just to make it possible for people who wanna maybe use an I2S amplifier or something and they just wanna get at some pins that aren't routed. And so yeah, you can see I've got my ADS-7830 ADCs, I've got the DAC, I've got the OLED. You can see on the DAC I put a little pigtail there with a mono 3.5 millimeter jack so I could test getting control voltage out of that, it works. And then I've got my push encoder and there's my little RC circuit output. One of the revisions that I'm making is on the more suggestion, the ability to bypass the RC circuit and go straight out if you're using the M4 version. So I've added some little sliceable jumper pads so that it'll reroute the way you want it to. Thank you Todd, Todd said it looks cool. So I've got temporarily just some M3 nylon standoff so it has feet but I'll be designing a proper cover faceplate case, something like that. Could be a PCB, could be a laser cut thing, could be a 3D printed thing but we'll try a couple different options there. And so what does it do? Let's, you know, I was gonna, let me demo it here, this is actually working pretty well. So here's what I'm gonna do. I'm going to give it power, is that power yet? Okay, so a few things light up. You can see I've got something on the screen there, not too much happening with the screen yet. And I'm going to turn this little, just a little speaker here. Back on and it'll announce itself and I'll plug that into the little TRS output there and I'm gonna adjust the focus one more time since we're now looking at parts and not the PCB, it's a little taller. So what I'm gonna do is just send it MIDI. So the idea behind this thing, if you are wondering what even am I doing with it? Yes, you could turn it into a sequencer or a controller. What I've got it doing, this is the idea that Lamour had me look at a project that was existing that was called the reverse hardware oscilloscope. And the basic idea is when you're making a waveform, you can look at the shape of that wave on an oscilloscope. What if you could just dial in the shape of one cycle of that wave that's repeating and being repitched with faders. So if we want to do some sort of a sine wave, we could shape it like this. If we wanted to do a triangle wave like this, if you wanna do a square wave like this. And that is exactly what it does. So I've got synthio and in synthio, you have the ability to specify the individual points of an array which is the waveform. So that's why this exists. So I'm gonna start out with just something like that. And I will, I'm gonna grab this microphone actually, just place that over there. Just because that little speaker is not gonna get picked up on my lavalier mic so well. Okay, so let's, I've got some, the speaker itself has a loose TRS connection, unfortunately. All right, so I'm gonna place the microphone here. Hopefully you don't get a lot of rattling and I'm gonna turn up that volume. So now what I'm gonna do is send MIDI notes to this over USB and synthio running on this is actually what the synthesizer is. That's the synth that we'll be hearing. So I'm gonna just send it some MIDI. Here it comes, gate, hearing nothing. Oh, this is this flaky speaker, darn it. Come on, thing. Place so that we can mix the sounding so that you can explain some things as well as the music. So I'm just gonna give that a moment. Lear, I just saw your message over in the chat. You're listening to this show running through the input of your K02, that's awesome. Let's see, Jim Hendrickson, are you, I see you typing, you're gonna tell me how we sound. Your cat likes them. Okay, I'm gonna hope that you can hear me. So you can hear this certain type of round, mostly fundamental tone. Thanks to Grover, sound mix is good. What I'm gonna do now is just have you listen. With each new note, the software will use the updated waveform. I don't have it running on a continuously playing note yet, but the next note that plays, you'll hear a change in that sort of harmonic timbre. So it almost sounds like I'm using EQ or filter or something, but really what it is, is the shape of this single cycle waveform now emphasizes certain harmonics, higher harmonics than it did previously. Let's do a, okay, so this is a waveform that just has a little blip in it. And as I get smaller, the waveform kind of basically goes away, just doesn't have that much sound to it. You can see picking up some of that higher stuff. One thing I wanna do real quick is just to see if I can loop that. It's actually changing when we do this in code. So let's jump over to the code view and let's open up the code that's running right there on that itsy bitsy. That is not it. I gotta unplug the other KB2040. Okay. There we go. That's the ity bitsy. So I'll go over some of this in a little more detail in a second, but what I just wanna jump to first is what's changing? And it is this right here. This waveform called wave user is a NumPy array and it has 16, since I have 16 sliders, it has 16 values in it. And so if those values are shaped like a sine wave, that is the type of warm round sound that we get. As you can see right now, this note on, that's what's happening when a MIDI note is played. We're calling note on in synth.io. It says right here, synth press, synth dot press voices. The voices in this case are, I think I just have one, you could do stacking of them to get some cool detune, but I wanted to just focus on the one note or the one voice. That array right now, so this could probably be optimized, but right now you can see I just have zero through 15. So those are my 16 faders. Whatever the fader value is, is getting remapped from zero to 123 to negative, so the waveform goes below zero and above zero. So negative 30,000 roughly gives us a little dead band at the top and bottom. Negative 30,000 to positive 30,000. That's the range that that array that is the waveform can occupy. And yeah, so C-Gravity says, it looks like the middle of the fader setting is the baseline of that waveform. That's right. The other things I wanna show you, so just in general about the board, right now I think I have, I'm gonna turn, let me see if I can kind of quiet it just by throwing these down here. I'm gonna play notes into it again and you should see, whoops, not there. You should see right now, I'm just printing the number of the note, the midi note number right now. So 62, 53, 60, 62. So this is playing these little noodley melodies based on some Turing machine like randomness. So that's all I'm using the display for right now in code. What I'll do is look at some commented out stuff I was doing during testing and you'll see for example, let's see what does this one do? Okay, so fader one, I'm just remapping the values right now from zero to 255. Fader two, fader three, fader four. I'm gonna go to a full view of that. So this was useful just in testing. Did I get everything put together right? Have I coded those little ADCs properly? So that lets us know when one of these values changes and it's pretty stable too, which is nice. I don't have a lot of code in there to avoid jitteriness but they're good faders and that's a good ADC. So it is pretty stable, which is great. You can see if I wiggle one, you can get it to, wiggling faders is never good, right? David S asks, could you develop the software to show the waveform on the display? It's an interesting idea. What I found is that this display will cause some little interruptions to the sound. So I think the combination of the processing cycles that we have, the fact that we're doing audio stuff and then trying to write to a screen. I was noticing some, especially if I make the type bigger, the more pixels that are being changed on screen, the more I'm getting glitches and stuff. So that'll be an interesting area to see if we can fix. And I was also doing some tests with like the rotary encoder for that. One test I have on the rotary encoder right now is just it plays a note. And while I hold that note down, listen to the sort of little chatter we'll get when I'm updating the display. It was a little thick, that's because the display is changing. If I, let's see, do I still have, I think I, yeah, so let's go, let's make the scale big. So the more pixels we're trying to change, even though some of them are off the screen, you can hear more. Totally neat for like a weird glitch instrument. Todd says also that the chatter is because of all the I square C traffic you're doing. If I stop updating the screen, let me get rid of this note on message right here and the note off message. Let's see, will this stop updating the screen? Yeah, okay. So you can see that by not updating that screen, that problem goes away. So could be some problems in my PCB design, there may be some filtering I can do, but it's there. One of the ideas behind this is that if you wanna build one of these, you can just use it for a whole lot of different purposes, just having a ton of faders and these couple of outputs and a display and one more extra, like maybe use this encoder for scrolling menus and picking settings or whatever. Kind of a fun platform for doing stuff. Let's see. Oh, Todd also says increasing the audio mixer buffer to 4096 could help a bit too. Oh, interesting. All right, I'll try to remember that after the show. Thank you. Other questions. Andy Lear says, this is cool, need an alternative sketch for it to be a MIDI controller for a Hammond Organ VST for the first nine bars. That's cool. Yeah, I like it. I'm excited to see what Liz does with CV. So we've got control voltage coming out of here and this could be interesting for things like a sequencer. We're not gonna get 16 CVs out, so it's not that kind of thing. For that, look at the 16N project, 16N as in Nancy. That is this sort of thing, but really purpose-built for using with Norns and EuroRack and MIDI and I2C. It's a very specific Gizmo that's really well designed for that and it's also open source. All right, let's see. I said I was gonna end seven minutes ago. Look at me go. I better stop right here right now. So that's the state of that. I'm doing the revision and once that out, I'll put together the guide and you can go grab one, build one yourself. Jeff asks, is Scott coming on as far as I know, but I've only spoken with him yesterday so I haven't double checked yet. Let's see, last things I'll do are mention. There's our coupon code. If you wanna get 10% off in the store, type in knockout on your way out. That'll get your 10% off and remember you get those different freebies at the different price points of $99, $149, $199, $299. Is that right? I may have made up some $99 there. So anyway, slice it. That'll get you 10% off on your stuff from the Adafruit Store today, excluding software gift certificates and subscriptions. Oh hey, and Scott is here, so I better run. Yay, thanks Scott. Scott is up next with a deep dive. So go grab a beverage and walk around for a second and then tune in for that. That's gonna do it. Thanks everyone so much for stopping by. Yeah, have a great weekend. Have a happy rest of your Friday. Pretty different news to you. I'm John Barker. This has been John Barker's Workshop. I'll see you next time. Bye bye.