1 00:00:00,000 --> 00:00:03,040 My name is Tim O'Shea. I'm one of the Gineradio developers. 2 00:00:04,100 --> 00:00:07,440 I currently work at Virginia Tech, and I have O'Shea Research LLC, 3 00:00:08,120 --> 00:00:10,080 in case any of you have Gineradio needs. 4 00:00:10,940 --> 00:00:14,960 All right, so I'm going to go through. This talk is two parts. 5 00:00:15,140 --> 00:00:16,980 The first is going to be more brief. 6 00:00:17,140 --> 00:00:22,660 This is just kind of talking through kind of about Gineradio as an intro, 7 00:00:22,760 --> 00:00:26,380 but I'm going to try to make it higher level because it really looks like people 8 00:00:26,380 --> 00:00:29,580 kind of are familiar with Gineradio a little bit more than I was expecting here today. 9 00:00:29,580 --> 00:00:36,140 And then part two is looking at some hands-on exercises with Gineradio, 10 00:00:36,300 --> 00:00:40,860 and I'm going to try to add some kind of make it more interesting than one people 11 00:00:40,860 --> 00:00:46,020 may have seen in the past and try to show off some of the newer things that are in Gineradio 12 00:00:46,020 --> 00:00:50,740 that people may or may not be using yet, which are some kind of cool features. 13 00:00:51,940 --> 00:00:55,160 All right, so a quick plug. 14 00:00:55,720 --> 00:00:59,460 Virginia Tech is hiring, so anyone who wants to play with you, sir, 15 00:00:59,580 --> 00:01:06,300 and SDR all day as their job, definitely look at our postings or come talk to me. 16 00:01:07,920 --> 00:01:11,580 Yes, we're also looking for grad students if you would like to study. 17 00:01:12,130 --> 00:01:13,560 All right, anyway, that's enough. 18 00:01:13,940 --> 00:01:15,160 All right, so intro to Gineradio. 19 00:01:15,500 --> 00:01:17,620 So a brief history. 20 00:01:17,780 --> 00:01:25,140 So basically Gineradio was started by a grant from John Gilmore to Eric Blossom. 21 00:01:25,460 --> 00:01:29,440 At that time, the problem was Congress was proposing, 22 00:01:29,580 --> 00:01:33,200 to put a bit in broadcast television called the no copy bit, 23 00:01:33,360 --> 00:01:38,380 which literally tells your receiver equipment you can't record this show because a bit is set. 24 00:01:40,640 --> 00:01:46,120 And kind of as a point to show Congress how silly that was, this project was born to say, 25 00:01:46,240 --> 00:01:50,580 well, here's an open source TV receiver, do what you want with this bit. 26 00:01:51,680 --> 00:01:54,320 If it's open source, it's pretty easy to flip a bit. 27 00:01:55,540 --> 00:01:57,640 So that was kind of initial motivation. 28 00:01:58,180 --> 00:01:59,560 It was kind of born out of, you know, 29 00:01:59,560 --> 00:02:02,320 of this program at MIT called P-Spectra, 30 00:02:02,460 --> 00:02:08,940 which was kind of a predecessor that did kind of stream processing software radio a while ago. 31 00:02:09,140 --> 00:02:13,280 And then Eric Blossom basically threw that all away and did a fresh rewrite. 32 00:02:14,860 --> 00:02:20,320 And so Eric was a big piece of this, or a huge piece of Gineradio. 33 00:02:21,560 --> 00:02:28,940 And he was very, he kind of instilled a strong sense of software engineering and code colonialism. 34 00:02:29,560 --> 00:02:33,620 And he's doing this in Gineradio, which I think has been a headache at times, 35 00:02:33,700 --> 00:02:35,720 but has been worth it every time. 36 00:02:35,940 --> 00:02:39,360 And I think, I think we've done a reasonable job of keeping things clean, 37 00:02:39,480 --> 00:02:43,860 even though it's hard, just because it's such an unwieldy, large project. 38 00:02:45,800 --> 00:02:47,780 So there's always still shortcomings. 39 00:02:47,900 --> 00:02:51,760 And then the last note, so Matt Eddis also was very involved from the beginning 40 00:02:52,140 --> 00:02:56,400 in contributing to Gineradio as he built and sold the user on the side. 41 00:02:57,600 --> 00:02:59,440 So that was kind of, they kind of grew up together. 42 00:02:59,560 --> 00:03:05,180 And then a few years ago, Tom Rondeau took over the project from Eric Blossom 43 00:03:05,180 --> 00:03:08,940 And John Corgan is the head maintainer of the Git repo 44 00:03:10,460 --> 00:03:18,260 And then there's a handful of core developers that work on feature groups and maintenance sorts of issues 45 00:03:19,960 --> 00:03:24,200 Alright, so we have kind of moved to GitHub for development 46 00:03:24,200 --> 00:03:30,740 So if you ever want to submit changes to Git Radio, pull requests on GitHub are a great way to do it 47 00:03:30,740 --> 00:03:35,900 They will get looked at and commented and merged if Corgan is happy 48 00:03:35,900 --> 00:03:37,920 And they pass the mix 49 00:03:37,920 --> 00:03:45,100 There's a long testing regression process that gets run before merging things 50 00:03:45,100 --> 00:03:47,120 So that we don't break our code repeatedly 51 00:03:49,040 --> 00:03:53,380 And that kind of thoroughness 52 00:03:53,380 --> 00:03:56,660 Thoroughness has been very helpful to Gini Radio, even though it's sometimes painful. 53 00:03:57,760 --> 00:03:58,900 All right, so working groups. 54 00:03:59,600 --> 00:04:01,620 There's, I think, six working groups. 55 00:04:02,160 --> 00:04:05,000 These are kind of technically focused working groups. 56 00:04:05,160 --> 00:04:11,900 They're typically just a handful of people who are working on kind of advancing features in their area 57 00:04:11,900 --> 00:04:19,760 and helping to compile work going on amongst people who have a strong interest in that technical area. 58 00:04:20,020 --> 00:04:21,280 So these are embedded. 59 00:04:21,280 --> 00:04:26,600 There's a lot of work putting Gini Radio on ARM processors and Android phones and Android platforms recently. 60 00:04:28,020 --> 00:04:30,960 There's a coprocessor working group who's really interested in, 61 00:04:31,040 --> 00:04:43,320 can I put graphics processing units or DSP PCI cards or some sort of coprocessor in my Intel box or whatever 62 00:04:43,320 --> 00:04:47,200 and use it as an offload inside your Gini Radio graph? 63 00:04:47,420 --> 00:04:49,320 And so coming up with better ways to do that. 64 00:04:49,940 --> 00:04:50,780 There's VULC. 65 00:04:50,880 --> 00:04:51,120 VULC. 66 00:04:51,280 --> 00:04:57,600 VULC is basically looking at SIMD instruction level optimization inside your SDR kernels, 67 00:04:58,300 --> 00:05:02,780 which has technically now split off into its own project, but is still very much in the Gini Radio ecosystem. 68 00:05:04,340 --> 00:05:05,360 There's GRC. 69 00:05:05,600 --> 00:05:14,400 So a couple guys who are really focused on improving the graphical tools and kind of the usability of Gini Radio. 70 00:05:16,480 --> 00:05:17,600 There's community. 71 00:05:17,700 --> 00:05:20,820 So this is Martin Braun kind of looking at, 72 00:05:20,820 --> 00:05:28,420 you know, working with people in the user community to understand what people's needs are with Gini Radio and software radio 73 00:05:28,420 --> 00:05:35,020 and where stumbling blocks are as people try to learn it to try to improve our documentation and our examples. 74 00:05:35,300 --> 00:05:40,800 And I think that's been a great effort to try to improve the learning curve for Gini Radio 75 00:05:41,360 --> 00:05:44,940 since it is kind of a lot of disciplines jammed into one package. 76 00:05:45,600 --> 00:05:50,480 And then there's FOSS, which I lead, which is the functional architectures for signal processing systems, 77 00:05:50,480 --> 00:05:58,680 group, and this is really looking at how do you, how do you do signal processing in Gini Radio. 78 00:05:58,940 --> 00:06:05,960 So we've had a stream processing system in Gini Radio for a long time where you tie together streams with these circular buffers 79 00:06:05,960 --> 00:06:12,440 and you pass these continuous streams of information around, and then more recently we put in the message passing system, 80 00:06:12,620 --> 00:06:19,780 which instead passes these discrete messages around by pointer, and then we're also looking at events. 81 00:06:20,020 --> 00:06:20,460 So how do you do that? 82 00:06:20,460 --> 00:06:27,460 How do you kind of tie this to an event system, and how do you go back and forth between streams and messages and events quickly 83 00:06:28,000 --> 00:06:32,920 in kind of a uniform way that doesn't get in people's way and actually helps people save time in their development? 84 00:06:34,640 --> 00:06:37,960 All right, so lastly, there's a Gini Radio conference. 85 00:06:38,180 --> 00:06:43,780 Our first one was in 2011 in Philly, but this year it is, is it August yet? 86 00:06:43,800 --> 00:06:45,920 Yes, this month, I think, in Washington. 87 00:06:47,080 --> 00:06:50,280 So if anyone is interested, I would definitely encourage you all. 88 00:06:50,320 --> 00:06:50,440 Do it. 89 00:06:51,220 --> 00:06:59,040 It's like a tutorial day, three developer conference days, which are focused on applications and systems within Gini Radio, 90 00:06:59,280 --> 00:07:01,120 and then a Hackfest day on Friday. 91 00:07:02,040 --> 00:07:04,000 So that will be a great time. 92 00:07:05,860 --> 00:07:08,200 All right, so what does Gini Radio provide? 93 00:07:08,600 --> 00:07:10,520 So Gini Radio is kind of two things. 94 00:07:10,680 --> 00:07:14,600 It's this core of core modules to enable software radio, 95 00:07:14,820 --> 00:07:19,500 and then it's this whole ecosystem of out-of-tree modules surrounding it, 96 00:07:19,540 --> 00:07:20,440 maintaining it. 97 00:07:20,440 --> 00:07:21,900 It's designed by other people as other projects. 98 00:07:22,400 --> 00:07:31,860 And so the in-tree portion, which you get when you install Gini Radio through AppGat or through the source build, 99 00:07:32,980 --> 00:07:37,580 is basically these constructs of blocks with ports that form flow graphs, 100 00:07:37,860 --> 00:07:44,400 and then a scheduler, which ties them together and allocates these circular buffers between them 101 00:07:44,400 --> 00:07:49,320 so that they can stream samples and items around between the blocks, between the different algorithms. 102 00:07:50,720 --> 00:07:54,940 You get VULC, which provides you all these SIMD kernels, 103 00:07:54,940 --> 00:07:57,800 which are used down inside many different algorithms. 104 00:07:58,360 --> 00:08:01,240 And then you get a number of performance monitoring tools 105 00:08:02,320 --> 00:08:05,800 to do measurements of how well these things are running. 106 00:08:06,860 --> 00:08:10,880 On a graphical side, you've got GRC, which is kind of the Gini Radio companion, 107 00:08:11,080 --> 00:08:14,740 which helps you build, rapidly build and prototype waveforms. 108 00:08:14,740 --> 00:08:16,980 You've got QT plotters, WX plotters. 109 00:08:17,200 --> 00:08:19,460 I don't know why this isn't graphical, but file tools. 110 00:08:20,440 --> 00:08:27,280 And then we have kind of the core blocks, filters, resamplers, IOT blocks, test and debug blocks, 111 00:08:27,560 --> 00:08:34,240 some basic modulation tools and channel simulation tools, and also the forward error correction tools. 112 00:08:35,780 --> 00:08:40,540 And then the runtime, there's kind of three ways to use it, even though it's really only two. 113 00:08:41,360 --> 00:08:47,380 You're running from Python, or you can actually import and use Gini Radio blocks from C++ applications, 114 00:08:47,660 --> 00:08:50,220 although it's less commonly done because Python is... 115 00:08:50,440 --> 00:08:51,260 quick and easy. 116 00:08:52,000 --> 00:08:58,080 And when you do use Python, all of the actual low-level signal processing is going on in C. 117 00:08:58,240 --> 00:08:59,200 It's just swig-wrapped. 118 00:08:59,400 --> 00:09:06,560 So it's a convenience for orchestration, and you're not really hurting your performance in most cases using Python. 119 00:09:07,160 --> 00:09:09,300 Although Python blocks are the caveat there. 120 00:09:09,480 --> 00:09:10,400 I'll throw that out. 121 00:09:11,260 --> 00:09:16,940 And then GRC just generates Python, but lets you do it from a nice graphical display. 122 00:09:19,220 --> 00:09:19,900 All right. 123 00:09:20,440 --> 00:09:25,940 Out-of-tree, the out-of-tree module community, there's tons of stuff out there. 124 00:09:26,100 --> 00:09:31,320 There's Wi-Fi modems, ZigBee modems, DVB modems, probably a hundred different things. 125 00:09:31,820 --> 00:09:35,300 And so it's kind of hard to keep track of them all. 126 00:09:36,440 --> 00:09:40,080 And so this is the initial reason that PyBombs was created, 127 00:09:40,660 --> 00:09:43,940 was just kind of to have a big repository of recipes, 128 00:09:44,840 --> 00:09:50,180 which each kind of point to and briefly describe how to build out-of-tree modules, 129 00:09:50,440 --> 00:09:51,020 for GNU Radio. 130 00:09:51,640 --> 00:09:55,180 So you could say, go get me a Wi-Fi modem, and it would come back and do it. 131 00:09:57,480 --> 00:10:06,300 And SeaGran was then a web page, which was reborn to basically show off all of those modules in a graphical way, 132 00:10:06,420 --> 00:10:10,860 and show you basically who maintains them, where is it maintained, what's out there. 133 00:10:11,060 --> 00:10:16,560 So it's a quick way to get a handle on what's in the software radio community that I can go play with right now. 134 00:10:18,980 --> 00:10:19,900 And it's helped. 135 00:10:21,120 --> 00:10:25,700 So these out-of-tree modules, GNU Radio provides basically a template, 136 00:10:25,880 --> 00:10:31,260 this mod tool, which helps you build an out-of-tree module very quickly by running this tool. 137 00:10:31,980 --> 00:10:35,120 And then it sets up basically a CMake build process for you, 138 00:10:35,780 --> 00:10:40,680 and a collection of C modules, Python modules, SWIG wrappers for your C modules, 139 00:10:41,340 --> 00:10:46,460 and then the GRC XML file, which makes things show up in the graphical companion tool. 140 00:10:47,260 --> 00:10:49,340 And so that's kind of what makes an out-of-tree module. 141 00:10:51,740 --> 00:10:55,000 So running it, there's lots of ways to do it. 142 00:10:55,060 --> 00:10:59,980 Everyone has their favorite, and different environments kind of are better for different things. 143 00:11:00,440 --> 00:11:02,740 If you're just starting and you want to play with it, 144 00:11:02,800 --> 00:11:06,660 the live boot environments are definitely the best way to get up and running in like two minutes. 145 00:11:07,340 --> 00:11:12,960 And so either the GNU Radio live DVD or the Pen 2 come loaded with GNU Radio, 146 00:11:13,140 --> 00:11:17,680 and you can just boot it and start running it. 147 00:11:19,000 --> 00:11:20,420 I know that the live... 148 00:11:20,440 --> 00:11:24,660 The live DVD has Pybomb set up so that you can boot up, 149 00:11:24,800 --> 00:11:26,540 and then if you want some of those out-of-tree modules, 150 00:11:26,720 --> 00:11:30,100 you can just install them through that quickly. 151 00:11:32,000 --> 00:11:34,140 And then we have... 152 00:11:35,000 --> 00:11:38,020 So Maitland is our Debian maintainer, 153 00:11:38,060 --> 00:11:42,660 and so stuff gets merged into Ubuntu quite quickly now, I think. 154 00:11:44,200 --> 00:11:46,220 If you want to apt-get, install GNU Radio. 155 00:11:47,380 --> 00:11:49,740 Or you can always build the whole thing if you want. 156 00:11:50,440 --> 00:11:52,040 And hopefully have a good reason to. 157 00:11:54,320 --> 00:11:55,280 So benchmarking. 158 00:11:56,680 --> 00:11:59,540 There's a webpage we have, stats.gnuradio.org, 159 00:11:59,640 --> 00:12:03,740 where we basically just run all of the Vult kernels on a bunch of... 160 00:12:03,740 --> 00:12:04,740 We keep track of... 161 00:12:04,740 --> 00:12:08,160 There's, I don't know, a couple hundred kernels maybe, or maybe a hundred. 162 00:12:09,660 --> 00:12:12,480 And you can run it on many different processors, 163 00:12:12,940 --> 00:12:19,240 everywhere from little arms to bigger arms to Intel to Atoms to PPCs or whatever you have. 164 00:12:19,380 --> 00:12:20,280 And so this keeps... 165 00:12:20,280 --> 00:12:24,320 It keeps track of, you know, what throughput do those kernels get on each architecture. 166 00:12:25,060 --> 00:12:30,760 Because the thing about VULC is it's intended to take advantage of the SIMD instructions 167 00:12:31,300 --> 00:12:32,540 that your architecture has. 168 00:12:32,820 --> 00:12:40,260 So if you're on an i7, it's going to try to use SSE 4.1 or FMA 169 00:12:40,260 --> 00:12:45,580 or some of the newer ISA features that Intel has had for performance. 170 00:12:45,920 --> 00:12:49,500 And if you're on ARM, it's going to try to use NEON kernels. 171 00:12:50,280 --> 00:12:51,580 So for each of these kind of operations, 172 00:12:51,840 --> 00:12:55,120 you might have a half a dozen different implementations 173 00:12:55,120 --> 00:12:58,520 for different levels or different architectures underneath. 174 00:12:58,880 --> 00:13:02,920 But the idea is when you write your signal processing algorithm block, 175 00:13:03,220 --> 00:13:06,380 you're just going to call the functional name of the algorithm. 176 00:13:06,580 --> 00:13:10,020 And you're not going to worry about hard-coding it for NEON or for Intel 177 00:13:11,060 --> 00:13:14,560 because then you get into this, you know, non-portable nightmare. 178 00:13:16,120 --> 00:13:16,660 All right. 179 00:13:16,700 --> 00:13:20,000 So this is a quick way to see what kind of throughput you can expect. 180 00:13:20,280 --> 00:13:22,060 On different platforms for these algorithms. 181 00:13:24,360 --> 00:13:26,620 There's also this kind of cool performance monitor tool. 182 00:13:26,940 --> 00:13:30,720 So if you build a waveform with a bunch of blocks chained together 183 00:13:30,720 --> 00:13:35,580 and you start running it off of your radio or off of a file or off of test data, 184 00:13:37,880 --> 00:13:40,360 this is going to basically connect into the running graph 185 00:13:40,360 --> 00:13:46,020 and then show you the amount of processor time being used by each block's work function 186 00:13:46,660 --> 00:13:49,860 and the buffer fullness. 187 00:13:52,540 --> 00:13:56,400 And so you get this really, this cool kind of view here, 188 00:13:56,580 --> 00:14:01,000 which has a node for each block and then a line. 189 00:14:01,260 --> 00:14:04,560 And the darkness of the line indicates kind of the buffer fullness. 190 00:14:04,840 --> 00:14:08,760 So you can kind of see which algorithms are backing up your buffer, 191 00:14:08,960 --> 00:14:10,780 which ones are taking compute time. 192 00:14:11,000 --> 00:14:14,740 And so when you want to start massaging an application to make it run faster somehow, 193 00:14:15,340 --> 00:14:19,300 this is a great way to quickly intuit, you know, what's going on 194 00:14:19,300 --> 00:14:20,260 and what's slowing down. 195 00:14:20,280 --> 00:14:27,000 And I guess Tom Rondeau just posted this on his blog a week ago or two. 196 00:14:27,360 --> 00:14:29,000 He's got this running on Android now. 197 00:14:29,140 --> 00:14:33,100 So if you want to do performance profiling on Android, 198 00:14:33,960 --> 00:14:37,380 I think he has an APK or something out there. 199 00:14:38,960 --> 00:14:39,540 All right. 200 00:14:39,800 --> 00:14:41,480 So that's it for my overview. 201 00:14:42,960 --> 00:14:44,500 Now I'm going to... 202 00:14:45,640 --> 00:14:47,500 I'm actually on time, which is good. 203 00:14:51,000 --> 00:14:53,260 Although we may have lost the screen. 204 00:15:04,450 --> 00:15:05,620 What are you adjusting? 205 00:15:06,510 --> 00:15:07,120 All right. 206 00:15:11,980 --> 00:15:13,860 All right. 207 00:15:13,860 --> 00:15:14,120 Now... 208 00:15:15,520 --> 00:15:16,460 Now... 209 00:15:17,940 --> 00:15:18,880 Now... 210 00:15:18,880 --> 00:15:20,260 Now... 211 00:15:21,380 --> 00:15:23,400 I've got lots of pixels here. 212 00:15:25,560 --> 00:15:26,140 All right. 213 00:15:26,720 --> 00:15:29,960 So the first example I was going to look at, 214 00:15:30,080 --> 00:15:34,420 and this is kind of the quintessential hello world of Guinea Radio, 215 00:15:34,900 --> 00:15:37,580 but I'm going to change it a little bit from its traditional form, 216 00:15:38,140 --> 00:15:41,100 is to basically just make a dial tone sound. 217 00:15:41,740 --> 00:15:47,280 So this is like your simple first streaming flow graph in Guinea Radio. 218 00:15:48,040 --> 00:15:50,140 And you can see kind of how quick it is to throw things 219 00:15:50,140 --> 00:15:51,920 together in GRC and run them. 220 00:15:54,860 --> 00:15:56,960 I wish I had screen mirroring, but I don't. 221 00:15:57,420 --> 00:15:57,680 All right. 222 00:15:57,860 --> 00:15:59,960 So if you throw down... 223 00:15:59,960 --> 00:16:01,080 So also I should mention, 224 00:16:01,600 --> 00:16:03,720 once you kind of know which blocks you're looking for, 225 00:16:03,880 --> 00:16:06,800 you can just search over on this panel here 226 00:16:06,800 --> 00:16:07,920 for the block that you want. 227 00:16:08,640 --> 00:16:10,260 And it's really fast. 228 00:16:10,560 --> 00:16:11,560 Once you kind of... 229 00:16:12,740 --> 00:16:13,180 Yes. 230 00:16:13,540 --> 00:16:18,060 So most people tend to find things this way. 231 00:16:18,700 --> 00:16:20,120 Once they've worked with it a little bit. 232 00:16:20,120 --> 00:16:23,260 So we're going to put down two signal sources. 233 00:16:23,560 --> 00:16:25,160 Each of this will generate a sine wave. 234 00:16:25,720 --> 00:16:30,040 I think it's 440 hertz and 330 maybe. 235 00:16:30,660 --> 00:16:31,360 I don't know. 236 00:16:34,100 --> 00:16:35,460 We can add them together. 237 00:16:35,720 --> 00:16:39,520 So these are going to basically output sine wave streams. 238 00:16:40,260 --> 00:16:43,000 And so the color here indicates the type of data. 239 00:16:43,140 --> 00:16:46,820 So blue is a complex float where there's one real 240 00:16:46,820 --> 00:16:49,020 and one imaginary sample for each item. 241 00:16:49,300 --> 00:16:50,100 So if you do that, 242 00:16:50,120 --> 00:16:52,720 you can use just the arrow keys to change the data type. 243 00:16:53,420 --> 00:17:00,980 And you'll know, of course, that this fine color is float. 244 00:17:01,180 --> 00:17:02,480 So this is single float version. 245 00:17:02,740 --> 00:17:05,260 So we've changed it from complex to a single float. 246 00:17:05,700 --> 00:17:10,780 So if we then put down an audio sync, 247 00:17:16,040 --> 00:17:18,500 we've basically created it. 248 00:17:18,620 --> 00:17:18,840 All right. 249 00:17:18,840 --> 00:17:20,920 So if I just make sure this is all disabled, 250 00:17:21,620 --> 00:17:22,640 our reference design. 251 00:17:24,440 --> 00:17:25,160 All right. 252 00:17:25,180 --> 00:17:26,880 So if we run this... 253 00:17:32,560 --> 00:17:33,280 All right. 254 00:17:33,340 --> 00:17:34,780 I think we've picked the wrong frequencies, 255 00:17:34,820 --> 00:17:35,440 but you get the point. 256 00:17:35,760 --> 00:17:36,720 Can you reduce your amplitudes? 257 00:17:38,200 --> 00:17:38,560 Yes. 258 00:17:38,780 --> 00:17:39,700 They may be clipping. 259 00:17:39,880 --> 00:17:42,140 So when we sum... 260 00:17:43,680 --> 00:17:44,280 All right. 261 00:17:50,000 --> 00:17:53,180 So there were lovely harmonics being generated. 262 00:17:53,820 --> 00:17:54,560 All right. 263 00:17:55,400 --> 00:17:56,680 So there we have a dial tone. 264 00:17:57,980 --> 00:17:58,740 All right. 265 00:17:58,760 --> 00:18:03,100 So if we want to do something a little more interesting, 266 00:18:04,420 --> 00:18:08,160 we know that a busy signal is 480 and 620. 267 00:18:11,280 --> 00:18:13,040 So let's put that in. 268 00:18:17,660 --> 00:18:18,320 All right. 269 00:18:18,380 --> 00:18:19,380 And it's also... 270 00:18:19,380 --> 00:18:21,880 So it's on and off for half a second at a time. 271 00:18:22,080 --> 00:18:28,320 So what we can do is just multiply this thing by a square wave, 272 00:18:31,700 --> 00:18:34,740 which is going to have a frequency of one hertz. 273 00:18:37,020 --> 00:18:37,860 Amplitude of one. 274 00:18:39,080 --> 00:18:39,640 Oh, wait. 275 00:18:40,220 --> 00:18:40,660 Yeah. 276 00:18:40,660 --> 00:18:43,280 So we need a multiply block. 277 00:18:46,660 --> 00:18:48,440 Again, we change the types. 278 00:18:53,860 --> 00:18:54,440 All right. 279 00:18:54,500 --> 00:18:57,340 And if all goes well, we have a nice busy signal. 280 00:19:00,240 --> 00:19:00,920 All right. 281 00:19:04,780 --> 00:19:05,220 So... 282 00:19:05,220 --> 00:19:06,200 All right. 283 00:19:06,220 --> 00:19:09,980 So that's like your simple version multiplying... 284 00:19:09,980 --> 00:19:13,520 Or adding and multiplying three signal generators together 285 00:19:13,520 --> 00:19:16,780 and spitting the resulting stream out the sound card. 286 00:19:18,560 --> 00:19:19,220 All right. 287 00:19:19,280 --> 00:19:20,980 So let's do something a little more interesting. 288 00:19:21,120 --> 00:19:24,280 So this is really intended for radio. 289 00:19:24,760 --> 00:19:27,080 So I'm just going to show basically an example 290 00:19:27,080 --> 00:19:30,520 of how you can kind of start throwing together some tools 291 00:19:30,520 --> 00:19:32,740 to start browsing around kind of the radio spectrum 292 00:19:32,740 --> 00:19:34,340 and looking at things. 293 00:19:36,160 --> 00:19:38,740 So I was going to use an RTL, 294 00:19:38,740 --> 00:19:41,060 but I've decided to be lazy and use the USRP. 295 00:19:42,460 --> 00:19:44,940 But the same thing applies to all of this. 296 00:19:45,400 --> 00:19:46,420 They work the same. 297 00:19:48,740 --> 00:19:50,240 I just have more bandwidth. 298 00:19:52,220 --> 00:19:52,860 All right. 299 00:19:52,920 --> 00:19:55,860 So we basically just put down a USRP source. 300 00:19:56,040 --> 00:19:57,880 There's also an RTL source, 301 00:19:58,140 --> 00:20:01,020 which operates exactly the same way. 302 00:20:01,820 --> 00:20:04,400 And you can use either one here interchangeably. 303 00:20:05,660 --> 00:20:07,740 There is actually the Osmo... 304 00:20:08,260 --> 00:20:08,740 Osmo... 305 00:20:10,560 --> 00:20:11,400 OsmoCom source, 306 00:20:12,740 --> 00:20:16,880 which tries to figure out what radio you have on your machine 307 00:20:16,880 --> 00:20:18,080 and then uses that one 308 00:20:18,640 --> 00:20:21,020 so that if you put this in your waveform, 309 00:20:21,280 --> 00:20:24,820 it should work kind of depending on whichever device you plug in 310 00:20:24,820 --> 00:20:26,580 as long as OsmoCom supports it. 311 00:20:26,720 --> 00:20:30,340 So it's a little kind of an API for your radio, I guess. 312 00:20:30,500 --> 00:20:32,760 But I won't use that for now. 313 00:20:34,200 --> 00:20:34,840 All right. 314 00:20:34,880 --> 00:20:36,480 So the first thing to do 315 00:20:36,480 --> 00:20:39,360 is really just to look at the data. 316 00:20:39,800 --> 00:20:43,420 And so the QT plotters, 317 00:20:44,760 --> 00:20:48,640 if you go under GUI widgets, 318 00:20:48,840 --> 00:20:50,740 you have QT and WX. 319 00:20:52,120 --> 00:20:55,500 You've thoroughly seen the WX ones yesterday from Balanced Talk. 320 00:20:56,980 --> 00:20:58,720 So I will use the QT ones. 321 00:21:02,580 --> 00:21:03,620 Except that... 322 00:21:05,060 --> 00:21:06,460 I can really only find two. 323 00:21:06,480 --> 00:21:07,020 So I'm going to do two things by searching. 324 00:21:14,640 --> 00:21:15,360 All right. 325 00:21:15,420 --> 00:21:18,340 Now, there are these nice widgets 326 00:21:18,980 --> 00:21:22,340 that let you input values from the GUI. 327 00:21:22,520 --> 00:21:25,340 I think Balanced was also using these the other day. 328 00:21:25,680 --> 00:21:29,820 So I'm going to name this one FC as the center frequency. 329 00:21:30,260 --> 00:21:33,620 And this will just be a variable that you can move around. 330 00:21:33,620 --> 00:21:47,040 And so let's say we want to go from 500 megs to 3 gigs. 331 00:21:50,820 --> 00:21:57,140 And let's just point it at the Wi-Fi band, 332 00:21:58,680 --> 00:22:01,000 which I can never remember exactly where it is. 333 00:22:02,480 --> 00:22:03,540 Let's go 44. 334 00:22:03,540 --> 00:22:03,900 44, 45. 335 00:22:05,620 --> 00:22:06,180 All right. 336 00:22:10,920 --> 00:22:11,360 Yes. 337 00:22:12,180 --> 00:22:12,940 Let's do that. 338 00:22:15,180 --> 00:22:15,760 All right. 339 00:22:16,900 --> 00:22:18,640 We'll do the same for gain, 340 00:22:20,440 --> 00:22:23,720 which we'll go start at 40 and go from 0 to 100. 341 00:22:24,120 --> 00:22:25,960 I think the max is really like 70, 342 00:22:26,120 --> 00:22:28,780 but it depends on the user and the receiver you're using. 343 00:22:31,460 --> 00:22:31,900 And... 344 00:22:31,900 --> 00:22:33,700 I think that's all we need. 345 00:22:34,240 --> 00:22:35,260 So the sample rate, 346 00:22:35,380 --> 00:22:40,720 let's put this up to 32 mega samples. 347 00:22:42,660 --> 00:22:46,220 And then you can just put the variables in here, 348 00:22:46,380 --> 00:22:48,700 except that it's not there. 349 00:22:55,960 --> 00:22:57,120 FC gain. 350 00:22:58,060 --> 00:22:58,680 All right. 351 00:23:00,540 --> 00:23:01,880 Let's disable all this. 352 00:23:01,900 --> 00:23:02,220 All this stuff. 353 00:23:08,160 --> 00:23:08,780 All right. 354 00:23:08,820 --> 00:23:11,400 So if you put FC here, 355 00:23:11,560 --> 00:23:14,260 also it displays the right frequency bands for you. 356 00:23:14,900 --> 00:23:15,580 All right. 357 00:23:15,600 --> 00:23:16,420 So running that, 358 00:23:17,800 --> 00:23:20,940 it will not work, of course. 359 00:23:23,080 --> 00:23:24,340 Why are you not happy? 360 00:23:35,480 --> 00:23:36,180 Oh, no. 361 00:23:36,720 --> 00:23:38,200 This is a terrible video cable. 362 00:23:39,780 --> 00:23:40,260 . 363 00:23:46,720 --> 00:23:51,880 So this is a good time to show you the UHD tools. 364 00:23:53,660 --> 00:23:54,140 . 365 00:24:01,860 --> 00:24:04,840 So if you install with PyBOMs, 366 00:24:04,940 --> 00:24:06,940 one of the things that is typically done 367 00:24:06,940 --> 00:24:08,100 is installing into a prefix 368 00:24:08,100 --> 00:24:09,860 so that you can have multiple working copies 369 00:24:09,860 --> 00:24:10,940 of all of your modules, 370 00:24:12,340 --> 00:24:14,120 and thus the sourcing. 371 00:24:16,360 --> 00:24:16,840 . 372 00:24:20,780 --> 00:24:21,900 All right. 373 00:24:21,960 --> 00:24:25,580 So I apparently need to do this real quick. 374 00:24:25,880 --> 00:24:29,540 But I'll let it go and focus on another demo first. 375 00:24:41,340 --> 00:24:42,060 All right. 376 00:24:42,100 --> 00:24:46,040 So we will come back to Spectrum Browsing momentarily. 377 00:24:47,940 --> 00:24:48,540 . 378 00:24:48,540 --> 00:24:52,020 And I'll work on the message example for now. 379 00:24:53,120 --> 00:24:53,720 . 380 00:24:55,420 --> 00:24:56,160 All right. 381 00:24:56,220 --> 00:25:00,080 So stream ports have been in GineRadio since the beginning. 382 00:25:01,060 --> 00:25:04,060 And I believe maybe two years ago, 383 00:25:04,120 --> 00:25:04,920 we added messages. 384 00:25:05,240 --> 00:25:07,160 And the idea is to be able to pass around 385 00:25:07,160 --> 00:25:09,480 these discrete-sized items. 386 00:25:10,680 --> 00:25:12,860 So the idea being like one packet 387 00:25:12,860 --> 00:25:14,820 or one burst 388 00:25:14,820 --> 00:25:16,340 or one kind of... 389 00:25:16,840 --> 00:25:18,060 PDU of some variety. 390 00:25:20,480 --> 00:25:21,000 And... 391 00:25:25,700 --> 00:25:27,300 All right. Good. It's going. 392 00:25:27,640 --> 00:25:29,920 So PDUs... 393 00:25:29,920 --> 00:25:30,400 Or, sorry. 394 00:25:30,760 --> 00:25:33,040 Messages are built on top of a data structure 395 00:25:33,040 --> 00:25:34,560 in GineRadio called the PMT, 396 00:25:34,700 --> 00:25:36,360 which is the polymorphic type. 397 00:25:37,000 --> 00:25:40,780 And this is kind of modeled after 398 00:25:40,780 --> 00:25:42,100 kind of a functional language, 399 00:25:42,620 --> 00:25:45,100 kind of a loosely typed data type. 400 00:25:45,100 --> 00:25:47,860 And if you... 401 00:25:47,860 --> 00:25:49,720 And there's Python mappings for all of it. 402 00:25:49,900 --> 00:25:53,240 So if we look at a message... 403 00:25:54,920 --> 00:25:56,360 What is strobe? 404 00:25:57,080 --> 00:25:58,980 So a message strobe is a block 405 00:25:58,980 --> 00:26:00,280 that is just going to send out 406 00:26:00,280 --> 00:26:03,860 a message or a PMT data type 407 00:26:03,860 --> 00:26:05,360 at some periodicity. 408 00:26:05,440 --> 00:26:07,820 So here we're sending out the string test 409 00:26:07,820 --> 00:26:10,640 pushed into a PMT every 1,000 milliseconds 410 00:26:10,640 --> 00:26:11,640 or one every second. 411 00:26:12,180 --> 00:26:13,940 So if you put down now a... 412 00:26:15,180 --> 00:26:16,820 A message debug block 413 00:26:16,820 --> 00:26:18,440 and run this, 414 00:26:19,180 --> 00:26:20,980 you're basically just going to see... 415 00:26:22,680 --> 00:26:24,600 Every second, it's going to print out 416 00:26:24,600 --> 00:26:26,120 the message it received, 417 00:26:26,220 --> 00:26:27,260 which is this string test. 418 00:26:27,920 --> 00:26:29,120 So you've basically built 419 00:26:29,120 --> 00:26:30,960 a very simple message passing system here. 420 00:26:32,220 --> 00:26:34,680 And this is the hello world of messages, right? 421 00:26:35,900 --> 00:26:36,380 So... 422 00:26:36,380 --> 00:26:37,600 But this is just... 423 00:26:37,600 --> 00:26:39,060 All this is is a string, right? 424 00:26:39,100 --> 00:26:40,460 We want more interesting data structures. 425 00:26:40,780 --> 00:26:43,020 Typically, we're passing around some kind of a PDU, 426 00:26:43,020 --> 00:26:45,600 whether it's an Ethernet frame or an IP packet 427 00:26:45,600 --> 00:26:48,380 or a big chunk of sample data. 428 00:26:49,280 --> 00:26:51,860 And so we have this other construct 429 00:26:51,860 --> 00:26:53,920 which is called a PDU, 430 00:26:54,820 --> 00:26:57,920 which is basically just a PMT type 431 00:26:57,920 --> 00:26:58,980 with the right structure. 432 00:26:59,220 --> 00:27:02,020 So it's a tuple where the first element 433 00:27:02,020 --> 00:27:04,300 is a vector of data, 434 00:27:04,400 --> 00:27:05,900 typically samples or bits, 435 00:27:06,060 --> 00:27:08,000 and the second one is a dictionary, 436 00:27:08,100 --> 00:27:11,500 which can contain annotations to the packet. 437 00:27:11,500 --> 00:27:13,620 That you might want to add. 438 00:27:14,560 --> 00:27:17,320 So we have a couple blocks in here. 439 00:27:17,820 --> 00:27:20,880 We have this random PDU generator, 440 00:27:21,120 --> 00:27:22,300 which we can put in the middle here. 441 00:27:27,760 --> 00:27:30,240 And we will go to print PDU now. 442 00:27:31,320 --> 00:27:32,520 And let's make this smaller. 443 00:27:32,760 --> 00:27:34,660 So we'll say that we want to generate PDUs 444 00:27:34,660 --> 00:27:36,980 that are between 4 and 8 bytes. 445 00:27:38,820 --> 00:27:40,360 All right, so we run it. 446 00:27:41,500 --> 00:27:42,320 And we see... 447 00:27:43,440 --> 00:27:44,760 We're now basically generating 448 00:27:44,760 --> 00:27:47,080 these random chunks of bytes 449 00:27:48,440 --> 00:27:52,240 that are somewhere between 4 and 8 bytes long. 450 00:27:53,080 --> 00:27:55,000 I think with modulo 2 length. 451 00:27:55,120 --> 00:27:56,640 So we always have an even length in bytes. 452 00:27:58,420 --> 00:28:01,160 So this is useful for testing radios. 453 00:28:01,240 --> 00:28:03,260 You might just want a bunch of random packets 454 00:28:03,260 --> 00:28:03,900 to send out. 455 00:28:05,740 --> 00:28:06,540 And so... 456 00:28:09,040 --> 00:28:10,560 So there's lots of things we can do with that. 457 00:28:12,680 --> 00:28:13,240 So...all right. 458 00:28:13,840 --> 00:28:15,000 If we look at... 459 00:28:15,000 --> 00:28:16,820 So there's these tools that come with GNRADIO. 460 00:28:16,900 --> 00:28:19,020 There's the socket PDU and the tun-tap PDU. 461 00:28:19,180 --> 00:28:20,600 And these are built to interface 462 00:28:20,600 --> 00:28:22,880 with this message PDU construct. 463 00:28:23,180 --> 00:28:25,760 So the socket PDU is simple. 464 00:28:26,320 --> 00:28:27,620 This is just going to set up 465 00:28:29,540 --> 00:28:32,300 whether we want a TCP client or server 466 00:28:32,300 --> 00:28:33,340 or a UDP client or server. 467 00:28:34,120 --> 00:28:35,460 Let's just do a TCP server 468 00:28:35,460 --> 00:28:39,380 on localhost 5201. 469 00:28:40,680 --> 00:28:41,240 All right. 470 00:28:41,500 --> 00:28:42,320 So if we run this... 471 00:28:44,040 --> 00:28:45,840 We see no output, which is fine. 472 00:28:45,900 --> 00:28:46,680 We disabled the debug. 473 00:28:47,340 --> 00:28:52,060 But if we telnet to localhost 5201... 474 00:28:53,220 --> 00:28:53,920 There we go. 475 00:28:54,040 --> 00:28:59,520 So we're getting our messages out of that socket. 476 00:28:59,740 --> 00:29:00,680 So this is a great way, 477 00:29:00,760 --> 00:29:02,680 if you want to interface with some other software 478 00:29:02,680 --> 00:29:03,340 on your system, 479 00:29:03,480 --> 00:29:06,000 to work with GNRADIO. 480 00:29:06,240 --> 00:29:09,180 You could quickly build up any kind of socket program 481 00:29:09,180 --> 00:29:11,000 you wanted to interface with that. 482 00:29:11,960 --> 00:29:12,440 Um... 483 00:29:14,540 --> 00:29:16,160 And somehow I'll quit telnet. 484 00:29:16,600 --> 00:29:17,160 All right. 485 00:29:18,240 --> 00:29:19,360 You can do the same. 486 00:29:19,460 --> 00:29:22,240 So tun-tap PDU is kind of cool. 487 00:29:22,340 --> 00:29:24,060 This brings up a tunnel interface 488 00:29:24,060 --> 00:29:25,280 on your computer. 489 00:29:26,060 --> 00:29:27,840 In this case, it'll be called TAP0. 490 00:29:28,380 --> 00:29:31,880 And so along with E0 and WLAN0, 491 00:29:32,060 --> 00:29:33,060 you'll have TAP0. 492 00:29:33,800 --> 00:29:36,660 And essentially, any PDUs that come into it 493 00:29:36,660 --> 00:29:37,800 will look like an Ethernet packet 494 00:29:37,800 --> 00:29:39,020 arriving on that interface. 495 00:29:39,440 --> 00:29:41,120 And anything that goes into it, 496 00:29:42,520 --> 00:29:43,900 will then go out. 497 00:29:43,920 --> 00:29:46,000 So you see that there's a message in and a message out. 498 00:29:46,100 --> 00:29:46,980 So we could, for instance, 499 00:29:47,780 --> 00:29:48,860 put a message debug 500 00:29:50,440 --> 00:29:51,540 on the output. 501 00:29:52,560 --> 00:29:54,360 And we'll see whatever the OS does 502 00:29:55,460 --> 00:29:56,860 sends into a new interface 503 00:29:56,860 --> 00:29:57,680 when it comes online. 504 00:30:01,980 --> 00:30:04,580 And I don't think I can do TAPs as root. 505 00:30:04,660 --> 00:30:06,180 So let's run this with sudo. 506 00:30:09,180 --> 00:30:10,140 Or non-root. 507 00:30:19,940 --> 00:30:20,560 Uh... 508 00:30:21,700 --> 00:30:22,320 Examples. 509 00:30:24,520 --> 00:30:25,360 All right. 510 00:30:27,380 --> 00:30:28,480 Oh, actually, 511 00:30:29,100 --> 00:30:30,680 this user doesn't have sudo. 512 00:30:33,300 --> 00:30:34,440 Just a second. 513 00:31:06,540 --> 00:31:07,340 So, all right. 514 00:31:07,520 --> 00:31:09,320 So, we're back in... 515 00:31:09,320 --> 00:31:10,440 All right. 516 00:31:11,500 --> 00:31:12,160 Examples directory. 517 00:31:13,280 --> 00:31:15,860 All right, so if we run example 2, 518 00:31:17,240 --> 00:31:20,680 we first have to import the environment. 519 00:31:22,880 --> 00:31:24,120 And then we run it. 520 00:31:27,680 --> 00:31:29,140 Why is it... 521 00:31:30,100 --> 00:31:32,420 There should be no usurp in this waveform. 522 00:31:32,940 --> 00:31:34,360 Oh, I ran the wrong example. 523 00:31:34,460 --> 00:31:34,880 Great. 524 00:31:36,740 --> 00:31:37,980 Usually user error. 525 00:31:39,320 --> 00:31:40,020 All right. 526 00:31:41,960 --> 00:31:43,380 All right, so... 527 00:31:45,480 --> 00:31:47,540 It should have set up our interface. 528 00:31:58,920 --> 00:32:00,560 All right, so we have tap 0. 529 00:32:01,320 --> 00:32:02,860 And if we were to bring up... 530 00:32:03,720 --> 00:32:05,440 run that command to set an IP, 531 00:32:05,600 --> 00:32:07,220 you would see a flood of Ethernet traffic 532 00:32:07,220 --> 00:32:09,860 and whatever the OS likes to send out 533 00:32:09,860 --> 00:32:11,140 to volunteer to the local network. 534 00:32:12,940 --> 00:32:14,460 So another great way 535 00:32:14,460 --> 00:32:16,320 to interface your radios with Linux. 536 00:32:16,860 --> 00:32:17,740 So basically, 537 00:32:17,860 --> 00:32:20,880 if you build the modem side to these messages, 538 00:32:21,400 --> 00:32:23,380 you now have a really standard way 539 00:32:23,380 --> 00:32:25,020 to just take any modem and plug it in 540 00:32:25,020 --> 00:32:26,240 as if it were a Wi-Fi adapter 541 00:32:27,080 --> 00:32:29,980 with any kind of PHY that you want attached, 542 00:32:30,700 --> 00:32:31,680 which is really cool. 543 00:32:33,720 --> 00:32:35,100 All right, so then the last thing, 544 00:32:35,940 --> 00:32:37,720 there's also this PCAP block. 545 00:32:39,680 --> 00:32:40,160 So... 546 00:32:40,700 --> 00:32:41,480 And I... 547 00:32:41,500 --> 00:32:41,920 I don't know why. 548 00:32:48,080 --> 00:32:50,120 So we can, if we want, 549 00:32:53,120 --> 00:32:56,900 just write PDUs out to PCAP file, 550 00:32:58,660 --> 00:33:00,800 which we just tell it it's Ethernet. 551 00:33:01,780 --> 00:33:04,640 We're really just putting garbage in these. 552 00:33:04,800 --> 00:33:07,980 But if you were to use a real radio, 553 00:33:08,040 --> 00:33:09,320 you could put whatever you wanted in there. 554 00:33:16,480 --> 00:33:18,220 Which of course comes up over here. 555 00:33:20,220 --> 00:33:22,100 All right, so here we have... 556 00:33:22,100 --> 00:33:23,580 Of course, it's malformed 557 00:33:23,580 --> 00:33:26,480 because we just put garbage in there, 558 00:33:26,620 --> 00:33:27,680 which is what we expected. 559 00:33:28,160 --> 00:33:29,340 But we can... 560 00:33:30,540 --> 00:33:30,980 Pretty... 561 00:33:30,980 --> 00:33:32,860 This is a great way to, you know, 562 00:33:32,860 --> 00:33:35,140 use tools like Wireshark with Gini Radio 563 00:33:36,660 --> 00:33:38,140 so we don't have to reinvent 564 00:33:38,140 --> 00:33:40,200 the whole Mac layer in Gini Radio. 565 00:33:41,660 --> 00:33:43,320 All right, there's also a playback. 566 00:33:43,500 --> 00:33:47,820 So if you want to have some traffic 567 00:33:47,820 --> 00:33:50,720 that you want to play back into some kind of a radio, 568 00:33:51,080 --> 00:33:52,600 you can just play your PCAP back 569 00:33:53,420 --> 00:33:55,480 through messages in that way. 570 00:33:55,600 --> 00:33:56,340 And it's really cool. 571 00:33:56,400 --> 00:33:59,340 It uses the timing that's in the file 572 00:33:59,340 --> 00:34:01,660 so that everything is, you know, 573 00:34:01,660 --> 00:34:03,840 timed as if you had seen it previously. 574 00:34:05,140 --> 00:34:07,440 All right, I think we should be able to run this now. 575 00:34:09,040 --> 00:34:09,400 Potentially. 576 00:34:13,780 --> 00:34:15,680 Now we have a firmware image. 577 00:34:32,680 --> 00:34:33,360 All right. 578 00:34:33,840 --> 00:34:37,080 So Wi-Fi is bursting all over the place. 579 00:34:38,480 --> 00:34:39,000 Um... 580 00:34:39,000 --> 00:34:39,620 Um... 581 00:34:40,180 --> 00:34:40,700 Um... 582 00:34:42,000 --> 00:34:43,040 You can... 583 00:34:43,040 --> 00:34:44,680 There's a... 584 00:34:44,680 --> 00:34:46,660 So Tom added this control panel recently, 585 00:34:46,880 --> 00:34:50,180 which makes the QT GUI a little bit more friendly, 586 00:34:50,340 --> 00:34:51,580 kind of like WX was. 587 00:34:51,740 --> 00:34:53,820 And this was a complaint for people for a long time. 588 00:34:55,100 --> 00:34:56,840 But now you can come in here 589 00:34:56,840 --> 00:34:59,460 and kind of play with things pretty easily. 590 00:35:02,100 --> 00:35:03,260 And auto-scale. 591 00:35:04,780 --> 00:35:05,880 All right, so basically, 592 00:35:07,140 --> 00:35:09,620 here's our nice spectrum plots. 593 00:35:09,840 --> 00:35:11,180 So, um... 594 00:35:11,500 --> 00:35:11,620 Um... 595 00:35:13,120 --> 00:35:14,900 We may want to look at a few things. 596 00:35:15,100 --> 00:35:19,620 So if we look at the QT time sync 597 00:35:21,440 --> 00:35:22,800 and waterfall sync. 598 00:35:24,420 --> 00:35:24,900 Um... 599 00:35:25,280 --> 00:35:26,900 So one of the things in QT GUI 600 00:35:26,900 --> 00:35:28,320 is you can give it these GUI hints. 601 00:35:28,840 --> 00:35:30,180 And if you're... 602 00:35:31,200 --> 00:35:33,280 This basically tells you the position 603 00:35:33,280 --> 00:35:35,340 to put it in a window. 604 00:35:35,780 --> 00:35:36,260 So... 605 00:35:37,220 --> 00:35:37,700 Um... 606 00:35:38,200 --> 00:35:40,200 I think WX does the same thing. 607 00:35:43,200 --> 00:35:44,940 So we can kind of quickly lay out 608 00:35:44,940 --> 00:35:49,040 a little GUI type thing. 609 00:35:54,900 --> 00:35:55,500 All right. 610 00:35:55,540 --> 00:35:56,960 So now we should have a time plot, 611 00:35:57,040 --> 00:35:57,680 a frequency plot, 612 00:35:57,900 --> 00:35:59,300 and a waterfall plot. 613 00:36:01,060 --> 00:36:02,800 And we're gonna overflow, but that's fine. 614 00:36:03,080 --> 00:36:03,980 We'll just ignore that. 615 00:36:05,020 --> 00:36:05,560 All right. 616 00:36:05,860 --> 00:36:07,760 So now we have Wi-Fi coming in. 617 00:36:08,660 --> 00:36:09,100 Um... 618 00:36:09,100 --> 00:36:11,480 So triggering was also missing for a long time. 619 00:36:11,480 --> 00:36:12,280 from QT GUI, 620 00:36:12,380 --> 00:36:13,880 but is now in, 621 00:36:14,480 --> 00:36:15,200 which is great. 622 00:36:15,620 --> 00:36:17,080 So if we look at... 623 00:36:17,080 --> 00:36:19,320 Now we're going up to, what, 0.1. 624 00:36:19,840 --> 00:36:21,220 So let's trigger... 625 00:36:24,320 --> 00:36:26,020 at, let's say, 0.15. 626 00:36:28,720 --> 00:36:29,260 All right. 627 00:36:29,280 --> 00:36:31,480 So now we're triggering. 628 00:36:32,640 --> 00:36:33,040 Um... 629 00:36:34,140 --> 00:36:36,180 So if you wanted to look at some bursting data, 630 00:36:36,700 --> 00:36:38,480 kind of like any traditional oscilloscope, 631 00:36:38,660 --> 00:36:39,980 you can do the same sort of thing here. 632 00:36:40,700 --> 00:36:41,200 Um... 633 00:36:41,890 --> 00:36:43,540 And, um... 634 00:36:43,540 --> 00:36:45,760 I'm sure you could play with the thresholds 635 00:36:45,760 --> 00:36:47,380 and make it look nicer than that 636 00:36:47,890 --> 00:36:48,680 if you wanted to. 637 00:36:48,900 --> 00:36:49,460 All right. 638 00:36:49,500 --> 00:36:51,960 So, uh, one of the things 639 00:36:51,960 --> 00:36:54,660 that has recently been added, 640 00:36:54,860 --> 00:36:55,440 uh, 641 00:36:56,740 --> 00:36:59,060 there's these stream lambda blocks. 642 00:36:59,840 --> 00:37:02,420 Um, and this is new. 643 00:37:02,820 --> 00:37:04,360 Uh, and it's gonna run terribly 644 00:37:04,930 --> 00:37:07,060 because it's Python at 32 mega-samples a second. 645 00:37:07,560 --> 00:37:08,960 Um, but we'll do it anyway, 646 00:37:08,960 --> 00:37:12,380 because the overflows aren't that big a deal 647 00:37:12,380 --> 00:37:13,540 when you're just looking at stuff, 648 00:37:13,980 --> 00:37:14,760 in this case. 649 00:37:16,100 --> 00:37:17,700 Um, so the idea of a... 650 00:37:17,700 --> 00:37:19,900 Well, let's put this guy in the bottom right. 651 00:37:22,820 --> 00:37:24,580 So the idea of this stream lambda block is 652 00:37:24,980 --> 00:37:28,060 if you just want to drop some algorithm into Gini Radio, 653 00:37:28,500 --> 00:37:30,680 uh, and you don't want to worry about an out-of-tree module 654 00:37:31,520 --> 00:37:34,300 or writing a Python block or a C block, 655 00:37:34,500 --> 00:37:36,260 this is, like, a super lazy way 656 00:37:36,260 --> 00:37:38,840 to just put some new function into a flow graph. 657 00:37:39,640 --> 00:37:41,880 And so, um, in Gini Radio, 658 00:37:42,020 --> 00:37:45,060 all of these fields are really Python, essentially. 659 00:37:45,520 --> 00:37:47,220 So you can just put Python expressions 660 00:37:47,220 --> 00:37:48,420 in a lot of these things. 661 00:37:48,740 --> 00:37:51,520 Um, and so what we do here is we define a lambda function 662 00:37:51,520 --> 00:37:53,620 that gets passed into this lambda block, 663 00:37:53,760 --> 00:37:55,560 and then that gets run on the work function 664 00:37:55,560 --> 00:37:57,220 every time data comes through. 665 00:37:58,060 --> 00:37:59,860 So this is, like, a really quick way 666 00:37:59,860 --> 00:38:02,900 to just, um, uh, 667 00:38:03,820 --> 00:38:05,560 do simple things with your data. 668 00:38:06,780 --> 00:38:07,860 So in this case, 669 00:38:07,860 --> 00:38:11,220 the default is to take the, uh, 670 00:38:11,440 --> 00:38:12,540 the magnitude squared. 671 00:38:12,700 --> 00:38:14,320 So we skip. 672 00:38:14,580 --> 00:38:16,500 We take every second element of the data, 673 00:38:16,620 --> 00:38:19,760 we square it, and then we scale it by .1. 674 00:38:19,940 --> 00:38:21,360 So this is kind of meaningless. 675 00:38:21,500 --> 00:38:23,260 It's just kind of the example lambda block. 676 00:38:23,860 --> 00:38:25,020 So let's instead 677 00:38:26,040 --> 00:38:27,380 say we just want 678 00:38:27,980 --> 00:38:29,440 the numpy abs. 679 00:38:34,040 --> 00:38:34,560 Uh... 680 00:38:42,220 --> 00:38:43,280 All right. 681 00:38:43,780 --> 00:38:44,660 One more. 682 00:38:45,180 --> 00:38:49,560 All right, so we've now written a block, 683 00:38:49,700 --> 00:38:51,040 uh, essentially. 684 00:38:51,760 --> 00:38:53,940 It's crappy and it's slow because it's Python, 685 00:38:54,220 --> 00:38:55,160 but that's fine. 686 00:38:55,320 --> 00:38:56,840 Uh, we can optimize later. 687 00:38:58,620 --> 00:38:59,860 And seriously, like, 688 00:38:59,940 --> 00:39:01,680 get things working before you optimize. 689 00:39:04,700 --> 00:39:05,820 All right, so 690 00:39:05,820 --> 00:39:07,640 we now have basically created 691 00:39:07,860 --> 00:39:08,880 a, uh, 692 00:39:09,940 --> 00:39:11,240 complex-to-abs block, 693 00:39:11,440 --> 00:39:13,680 uh, with our quick hackery. 694 00:39:13,840 --> 00:39:15,620 Uh, and now we have the abs, 695 00:39:15,800 --> 00:39:17,440 um, here. 696 00:39:17,560 --> 00:39:19,360 You may also see those red, uh, 697 00:39:19,840 --> 00:39:21,060 triangles flashing through here. 698 00:39:21,420 --> 00:39:23,380 Those are stream tags coming from the usurp 699 00:39:23,380 --> 00:39:25,600 that tell us, uh, the time, frequency, 700 00:39:25,740 --> 00:39:27,980 and sample rate that this thing is set up as, 701 00:39:28,100 --> 00:39:29,400 which are sent periodically, 702 00:39:29,540 --> 00:39:31,060 uh, downstream. 703 00:39:31,400 --> 00:39:33,260 And they just kind of flash on screen briefly. 704 00:39:33,400 --> 00:39:35,540 I think if we change 705 00:39:35,540 --> 00:39:37,260 the number of points to be, like, 706 00:39:39,260 --> 00:39:40,100 I don't know 707 00:39:40,100 --> 00:39:41,520 what's gonna not crash it. 708 00:39:41,740 --> 00:39:41,960 Uh, 709 00:39:43,460 --> 00:39:44,940 you can't make this too big. 710 00:39:49,060 --> 00:39:49,540 Yeah. 711 00:39:50,240 --> 00:39:51,720 You could. That's a good point. 712 00:39:53,360 --> 00:39:53,840 Uh, 713 00:39:54,080 --> 00:39:55,380 I don't know if I've done that before. 714 00:39:59,940 --> 00:40:01,840 Uh, let's figure out an Rx 715 00:40:01,840 --> 00:40:02,400 time. 716 00:40:07,860 --> 00:40:09,400 Yeah, except for the... 717 00:40:10,100 --> 00:40:11,980 UHD has this nasty... 718 00:40:12,900 --> 00:40:13,920 Well, it's not really 719 00:40:13,920 --> 00:40:15,020 UHD's fault. It's... 720 00:40:15,020 --> 00:40:16,960 USB 3 chipsets suck. 721 00:40:17,940 --> 00:40:18,460 Um... 722 00:40:19,520 --> 00:40:21,320 Anyway. All right. 723 00:40:21,360 --> 00:40:21,960 So you get the point. 724 00:40:23,260 --> 00:40:25,720 The last thing here that I want to 725 00:40:25,720 --> 00:40:26,300 show... 726 00:40:28,620 --> 00:40:29,140 is... 727 00:40:29,900 --> 00:40:30,700 recording data. 728 00:40:31,680 --> 00:40:33,040 So, let's say 729 00:40:33,040 --> 00:40:35,380 if this thing will come back to life... 730 00:40:36,960 --> 00:40:37,480 soon... 731 00:40:38,780 --> 00:40:39,540 ... 732 00:40:39,540 --> 00:40:40,960 ... 733 00:40:42,560 --> 00:40:43,320 ... 734 00:40:43,320 --> 00:40:44,320 Or we can always... 735 00:40:44,320 --> 00:40:44,940 ... 736 00:40:46,140 --> 00:40:47,880 We can always x-kill. 737 00:40:49,640 --> 00:40:50,600 All right. 738 00:40:51,640 --> 00:40:52,400 So... 739 00:40:54,300 --> 00:40:55,060 ... 740 00:40:56,080 --> 00:40:56,840 ... 741 00:40:59,340 --> 00:41:00,100 ... 742 00:41:01,200 --> 00:41:01,960 ... 743 00:41:04,420 --> 00:41:05,380 All right. 744 00:41:05,420 --> 00:41:07,160 So we're gonna put now a... 745 00:41:07,860 --> 00:41:08,140 ... 746 00:41:08,140 --> 00:41:08,900 ... 747 00:41:08,900 --> 00:41:10,340 ... 748 00:41:10,340 --> 00:41:10,600 ... 749 00:41:12,220 --> 00:41:13,620 ... 750 00:41:13,620 --> 00:41:15,340 ... 751 00:41:15,340 --> 00:41:16,500 ... 752 00:41:16,500 --> 00:41:16,600 ... 753 00:41:16,600 --> 00:41:16,800 ... 754 00:41:23,100 --> 00:41:26,600 All right. So... 755 00:41:26,600 --> 00:41:27,840 ... 756 00:41:27,840 --> 00:41:28,080 ... 757 00:41:28,080 --> 00:41:29,680 ... 758 00:41:29,680 --> 00:41:29,800 ... 759 00:41:29,800 --> 00:41:29,960 ... 760 00:41:38,200 --> 00:41:39,860 And we'll do this the right way. 761 00:41:40,080 --> 00:41:42,180 A head block will basically make it run for 762 00:41:42,880 --> 00:41:44,500 end samples and then quit. 763 00:41:45,860 --> 00:41:47,420 So it doesn't just run forever. 764 00:41:49,820 --> 00:41:53,060 So let's say int of sample rate. 765 00:41:53,100 --> 00:41:54,640 So we'll record one second worth of data. 766 00:41:57,540 --> 00:41:59,080 All right, so we run this. 767 00:42:02,620 --> 00:42:04,720 He apparently needs the user to be rebooted. 768 00:42:08,120 --> 00:42:10,140 And that will destroy my video cable. 769 00:42:27,940 --> 00:42:30,480 All right, I'll run that again. 770 00:42:30,580 --> 00:42:31,720 It's going to flash the image. 771 00:42:42,900 --> 00:42:44,640 All right, this is annoying. 772 00:42:49,020 --> 00:42:51,240 All right, I was running it as root instead. 773 00:42:59,320 --> 00:43:01,220 Apparently root wasn't allowed to use USB, 774 00:43:02,820 --> 00:43:03,700 which is interesting. 775 00:43:09,240 --> 00:43:14,200 All right, once again, flashing. 776 00:43:20,020 --> 00:43:21,360 It's flashing the FPGA. 777 00:43:21,920 --> 00:43:24,260 So it's loading the stack to execute the FPGA. 778 00:43:24,640 --> 00:43:25,040 Right. 779 00:43:26,280 --> 00:43:28,900 Yeah, it doesn't, so there's no persistent memory. 780 00:43:29,280 --> 00:43:30,940 I think Alan can correct me if I'm wrong, but. 781 00:43:34,620 --> 00:43:35,820 All right, so we run. 782 00:43:37,220 --> 00:43:37,620 And. 783 00:43:37,860 --> 00:43:38,820 And then it should exit. 784 00:43:39,400 --> 00:43:41,440 It's a GUI, so it'll just sit there. 785 00:43:42,440 --> 00:43:45,320 All right, so we have this file now. 786 00:43:45,680 --> 00:43:51,880 So Gneradio has some tools for looking at files, 787 00:43:52,080 --> 00:43:54,640 but they've kind of, they've always been somewhat cumbersome 788 00:43:54,640 --> 00:43:55,700 on large data files. 789 00:43:59,440 --> 00:44:02,620 So there's this tool I put together recently 790 00:44:02,620 --> 00:44:03,780 called such samples. 791 00:44:05,960 --> 00:44:07,840 And the whole idea here is that it's going to be 792 00:44:07,840 --> 00:44:14,980 to make it easier to look at large files on disk. 793 00:44:18,240 --> 00:44:19,880 So we just put our file in there. 794 00:44:20,300 --> 00:44:23,540 It assumes it's this complex 64 type, which it is. 795 00:44:23,740 --> 00:44:26,820 And then what's going on here is there's really just 796 00:44:26,820 --> 00:44:27,780 a couple of blocks here. 797 00:44:29,100 --> 00:44:34,380 You have a message file source, a range input, 798 00:44:34,580 --> 00:44:36,540 and then two plots. 799 00:44:36,740 --> 00:44:37,760 So these are not stream plots. 800 00:44:37,760 --> 00:44:38,840 Like we were showing before, 801 00:44:39,040 --> 00:44:41,020 but these are our message-based plotters, 802 00:44:41,140 --> 00:44:43,100 which take in a chunk of samples 803 00:44:43,100 --> 00:44:44,540 and then just plot that chunk. 804 00:44:46,740 --> 00:44:48,340 All right, so if we run this, 805 00:44:50,680 --> 00:44:55,500 we now have basically the beginning of our file. 806 00:44:56,520 --> 00:45:01,900 And you can kind of move around here at will. 807 00:45:03,300 --> 00:45:07,120 So this is just kind of an easier way to do things 808 00:45:07,120 --> 00:45:07,740 than some of the other things. 809 00:45:07,740 --> 00:45:08,700 So this is just one of the old tools that we had. 810 00:45:12,200 --> 00:45:14,260 So yeah, you can look at your Wi-Fi that we just recorded. 811 00:45:15,100 --> 00:45:19,560 All right, the last thing, there's also a Lambda, 812 00:45:20,720 --> 00:45:22,020 a message Lambda block, 813 00:45:22,180 --> 00:45:24,340 where you can do the exact same thing we were doing before 814 00:45:25,580 --> 00:45:27,960 with the stream Lambda using a message Lambda. 815 00:45:28,580 --> 00:45:30,980 And so if we... 816 00:45:32,520 --> 00:45:37,580 Well, actually, let's use the one that's already been made. 817 00:45:37,740 --> 00:45:38,420 In the interest of time. 818 00:45:40,320 --> 00:45:41,760 So this is basically... 819 00:45:41,760 --> 00:45:46,640 We've defined this variable F2 somewhere here. 820 00:45:47,640 --> 00:45:48,880 And if you look at it, 821 00:45:49,380 --> 00:45:52,780 this is basically just going to compute 822 00:45:52,780 --> 00:45:57,640 a simple autocorrelation of the input. 823 00:45:58,040 --> 00:46:01,060 So this is kind of like the fast autocore 824 00:46:01,060 --> 00:46:03,040 that Ballant was showing yesterday. 825 00:46:03,220 --> 00:46:06,580 This is like a really quick way to build something like that 826 00:46:06,580 --> 00:46:07,720 to look at your... 827 00:46:07,740 --> 00:46:08,280 your signal. 828 00:46:11,880 --> 00:46:13,400 And let's turn this one on, too. 829 00:46:15,380 --> 00:46:15,960 All right. 830 00:46:16,440 --> 00:46:18,700 So now we have autocorrelation, 831 00:46:19,380 --> 00:46:21,560 our time, our power envelope, 832 00:46:21,740 --> 00:46:23,040 and our spectrum. 833 00:46:23,840 --> 00:46:26,500 And we can move around in the file 834 00:46:27,240 --> 00:46:28,860 and kind of see how things change. 835 00:46:29,260 --> 00:46:31,500 So this is a great way to look at data 836 00:46:31,500 --> 00:46:33,820 and figure out what you're dealing with. 837 00:46:37,080 --> 00:46:37,660 All right. 838 00:46:40,400 --> 00:46:41,560 So lastly... 839 00:46:44,420 --> 00:46:47,320 So for the FSK modem... 840 00:46:48,080 --> 00:46:50,480 So this is kind of an example, 841 00:46:50,580 --> 00:46:53,060 a simple FSK transmitter 842 00:46:53,060 --> 00:46:56,100 using all of the message blocks that we've shown here. 843 00:46:56,260 --> 00:46:59,520 So we're basically strobing every 500 milliseconds, 844 00:47:00,150 --> 00:47:01,420 creating a random PDU, 845 00:47:02,900 --> 00:47:04,200 inserting a preamble. 846 00:47:04,280 --> 00:47:07,600 So we insert this kind of known series of bits, 847 00:47:07,740 --> 00:47:09,460 and it's on the front of each burst. 848 00:47:10,780 --> 00:47:15,580 We then just wrote the modem in three lambda blocks, essentially. 849 00:47:16,540 --> 00:47:19,160 And so what happens here... 850 00:47:19,160 --> 00:47:21,580 And this is, I fear, 851 00:47:21,680 --> 00:47:23,340 a whole new level of hackery for GnRadio. 852 00:47:24,240 --> 00:47:28,100 But it's also, like, really, really convenient for prototyping. 853 00:47:30,300 --> 00:47:33,800 And you just have to know that you should optimize later 854 00:47:33,800 --> 00:47:36,240 and write things in C if you care about performance. 855 00:47:36,240 --> 00:47:38,540 Because NumPy is pretty good, 856 00:47:38,660 --> 00:47:41,240 but it's not, like, compiled C. 857 00:47:42,180 --> 00:47:42,900 All right. 858 00:47:43,500 --> 00:47:45,960 So here we're mapping zero and one bits 859 00:47:45,960 --> 00:47:48,720 to plus and minus one, essentially. 860 00:47:51,140 --> 00:47:54,540 Here we are reshaping it 861 00:47:54,540 --> 00:47:58,020 such that we take one bit, 862 00:47:58,100 --> 00:48:01,580 and we have SPS of them, 863 00:48:01,620 --> 00:48:02,480 or samples per symbol. 864 00:48:02,640 --> 00:48:05,660 So we may have multiple, 865 00:48:05,840 --> 00:48:06,220 you know, 866 00:48:06,220 --> 00:48:08,780 multiple samples for each symbol coming out. 867 00:48:10,440 --> 00:48:16,080 We then do our FSK modulator. 868 00:48:16,300 --> 00:48:19,940 So this is multiplying by a complex exponent 869 00:48:20,740 --> 00:48:22,440 at a certain deviation. 870 00:48:22,820 --> 00:48:26,500 So we're basically taking those plus and minus ones replicated 871 00:48:27,180 --> 00:48:30,780 and then multiplying them by these plus and minus sinusoids, 872 00:48:30,860 --> 00:48:32,940 like an FSK modem would do. 873 00:48:33,780 --> 00:48:34,380 Um... 874 00:48:35,220 --> 00:48:35,920 And then... 875 00:48:36,220 --> 00:48:37,720 So this is where event stream comes in. 876 00:48:38,800 --> 00:48:40,440 And the idea here is that 877 00:48:40,440 --> 00:48:43,000 event stream is kind of one way to bridge 878 00:48:45,000 --> 00:48:47,200 between the stream and the message domain. 879 00:48:47,800 --> 00:48:49,760 And so here we can throw messages in, 880 00:48:49,860 --> 00:48:53,020 and we have essentially a stream of samples coming out. 881 00:48:53,580 --> 00:48:55,720 And this stream, it always comes out, right? 882 00:48:55,780 --> 00:48:56,800 So if there's no message in, 883 00:48:56,940 --> 00:48:59,200 it's going to be spitting out zeros constantly. 884 00:48:59,540 --> 00:49:00,740 And so what happens is 885 00:49:00,740 --> 00:49:02,400 we just know that there's samples coming out, 886 00:49:02,480 --> 00:49:03,540 and whenever a message comes along, 887 00:49:03,620 --> 00:49:04,840 he drops it into that stream, 888 00:49:04,840 --> 00:49:08,540 um, goes through a pulse-shaping filter, 889 00:49:08,700 --> 00:49:09,680 through a throttle, 890 00:49:09,860 --> 00:49:11,300 through our channel model, 891 00:49:11,500 --> 00:49:12,820 and then gets plotted. 892 00:49:13,520 --> 00:49:14,080 Um... 893 00:49:15,040 --> 00:49:16,640 So if we run this... 894 00:49:19,140 --> 00:49:21,240 We see that, um... 895 00:49:22,220 --> 00:49:23,720 Every 500 milliseconds, 896 00:49:23,880 --> 00:49:25,120 we get one of these bursts 897 00:49:25,120 --> 00:49:26,860 that gets dropped into the stream. 898 00:49:27,440 --> 00:49:28,000 Um... 899 00:49:28,000 --> 00:49:30,180 And this is the burst samples. 900 00:49:30,640 --> 00:49:33,660 And then you see here the spectrum of the FSK. 901 00:49:34,660 --> 00:49:35,880 Transmitter, you have your two peaks. 902 00:49:36,140 --> 00:49:37,800 It's kind of modulation on each one. 903 00:49:38,760 --> 00:49:38,960 Um... 904 00:49:38,960 --> 00:49:41,520 And so this is just kind of a really quick way 905 00:49:41,520 --> 00:49:43,440 to throw together something like an FSK modem. 906 00:49:44,260 --> 00:49:44,660 Um... 907 00:49:45,660 --> 00:49:46,060 And... 908 00:49:47,060 --> 00:49:48,200 There is a demod half, 909 00:49:48,380 --> 00:49:50,080 but it's slightly more complicated, 910 00:49:50,260 --> 00:49:52,160 and I don't think that there's time at this point. 911 00:49:53,060 --> 00:49:55,000 So if there's any questions, 912 00:49:55,200 --> 00:49:56,180 I would like to take them. 913 00:50:00,460 --> 00:50:01,040 All right. 914 00:50:01,800 --> 00:50:03,640 I guess there's no time for questions. 915 00:50:04,420 --> 00:50:06,280 I will start five minutes early. 916 00:50:08,400 --> 00:50:08,920 Um... 917 00:50:08,920 --> 00:50:09,760 But thanks. 918 00:50:09,840 --> 00:50:11,340 I'm excited to see this many people 919 00:50:11,340 --> 00:50:12,280 interested in Uniradio, 920 00:50:12,380 --> 00:50:15,100 and, uh, excited to see more people 921 00:50:15,100 --> 00:50:17,180 building projects with it and contributing. 922 00:50:17,400 --> 00:50:19,240 So please send pull requests 923 00:50:20,900 --> 00:50:22,520 and flame the mailing list.