File: GMT20230627-155417_Recording.cc --- 00:05:53,000 --> 00:05:55,000 Hi. 00:05:55,000 --> 00:06:00,000 Hi, hello. 00:06:00,000 --> 00:06:09,000 Hi, Stefan. 00:06:09,000 --> 00:06:12,000 Hi everyone. 00:06:12,000 --> 00:06:13,000 Hi everyone. 00:06:13,000 --> 00:06:24,000 Bye bye. 00:06:24,000 --> 00:06:28,000 How are you? 00:06:28,000 --> 00:06:30,000 Good, good. 00:06:30,000 --> 00:06:32,000 Very good. 00:06:32,000 --> 00:06:41,000 Great. 00:06:41,000 --> 00:06:55,000 Today is our last appointment. And to close up a bit. The session of the lessons. 00:06:55,000 --> 00:07:25,000 I wanted to create the A complex file. So I'm gonna share my screen. Right now. 00:07:27,000 --> 00:07:36,000 Okay. 00:07:36,000 --> 00:07:46,000 Several Are we gonna create something like that? Where we have. Some of the fish ones we have done. 00:07:46,000 --> 00:08:02,000 In the previous lesson. That you can select and you can use. And then you can switch from a visual to another just by clicking on the Little preview. 00:08:02,000 --> 00:08:14,000 And also like these ones and you can orbit around. You remember this? We did, during, 00:08:14,000 --> 00:08:28,000 And then we have a couple of buttons. That we gonna program together. With a bit of button So for example, these buttons gonna hide all the preview. 00:08:28,000 --> 00:08:37,000 And then it's gonna make up here this maximized window. And then when you click this, this goes full screen. 00:08:37,000 --> 00:08:55,000 And other Operator Bureau are disappearing. So we're gonna also add these sliders and bottles which I just added without the connecting the the output tool. 00:08:55,000 --> 00:09:03,000 To the different visual. This is something you can do later on. So we're just gonna build the module together to see how easy. 00:09:03,000 --> 00:09:14,000 It could be to create like a block of sliders and bottles. And also how to visualize chops like this is the audio filing shop. 00:09:14,000 --> 00:09:23,000 That is playing the music and then you can click this and you have all the different, preview you can change. 00:09:23,000 --> 00:09:40,000 From one to the other. So it's gonna be, A bit longer. There are not many new operators that we will encounter. 00:09:40,000 --> 00:09:48,000 Today it's more about the using Python. And simple scripts inside the touch designer. 00:09:48,000 --> 00:09:59,000 So we're gonna focus more on, how to start to, I'll start to play with the Python. 00:09:59,000 --> 00:10:11,000 It's site designer, how to start to test it, particular script works well. And then, we'll move to shop execute that, which is a particular. 00:10:11,000 --> 00:10:19,000 Oh, operator that can work with chops And then it has a script where you can put your. 00:10:19,000 --> 00:10:31,000 Your functions side so things like this. But then, which is high on the preview. 00:10:31,000 --> 00:10:40,000 It's attached to a null and the null is attached. To chat execute. So we're gonna discover how to use this. 00:10:40,000 --> 00:10:50,000 Particular that. The And so if you are ready. You gonna start? 00:10:50,000 --> 00:10:58,000 It's gonna take some time to adapt to all the different visuals. That we created in the past. 00:10:58,000 --> 00:11:06,000 To this new file because we're gonna need to add the an inlet and an outlet. 00:11:06,000 --> 00:11:18,000 Inside the operator. So that it appears on the on the outside. So we're gonna start by creating a in operator. 00:11:18,000 --> 00:11:30,000 And we might need to add some, selection. Cause because yeah before we were just using with the select so 00:11:30,000 --> 00:11:39,000 And then we're gonna add for each of these container. Simple, shop execute that we're gonna see together. 00:11:39,000 --> 00:11:53,000 To change the switch. At the Above level. This switch here. So we're gonna discover some how to use some simple Python script. 00:11:53,000 --> 00:11:58,000 To create something a bit more complex. 00:11:58,000 --> 00:12:02,000 Which title is, Modular System. 00:12:02,000 --> 00:12:13,000 And this is obviously one example that includes our previous visuals 00:12:13,000 --> 00:12:22,000 And with the same method, you can create the other type of, you user interface. That can. 00:12:22,000 --> 00:12:36,000 The functional for for your for your need. We need some great visuals in the past, even if they were very simple. 00:12:36,000 --> 00:12:49,000 Okay, so let's start from, scratch. So I open a new file. And meanwhile that I open a new file I also open the 0 to feedback loop. 00:12:49,000 --> 00:13:00,000 And if you do not have it, I can share it. With you on the on the chat. So just sending you the same file. 00:13:00,000 --> 00:13:03,000 I'm going to use 00:13:03,000 --> 00:13:07,000 And I'm going to open now. 00:13:07,000 --> 00:13:18,000 Audio is okay. Everything is okay. Yeah. Can hear me well. 00:13:18,000 --> 00:13:22,000 So. 00:13:22,000 --> 00:13:34,000 This is the file. We have done, lesson number 3. Feedback loop and inside the project we have 4 different containers. 00:13:34,000 --> 00:13:42,000 Okay. Today we're gonna work mostly with containers and buttons and then Python. 00:13:42,000 --> 00:13:51,000 We want create a new visuals. We're gonna use the once the one that we have. So we start from the first. 00:13:51,000 --> 00:14:05,000 Visual one. And with a keyboard. Let me show you my keyboard. 00:14:05,000 --> 00:14:09,000 Okay. 00:14:09,000 --> 00:14:20,000 She's there. So with a keyboard, This is my new file that I can. Select all and be late. 00:14:20,000 --> 00:14:29,000 With the back space and then open here. And have some more space. We are inside the project one. 00:14:29,000 --> 00:14:38,000 So now the first thing I do, I take one of the visual from. Our previous lesson. 00:14:38,000 --> 00:14:48,000 The visual feedback will pay out and I'm gonna copy this container with the first visual. Doing Control C. 00:14:48,000 --> 00:14:57,000 And then I'm going my new file and I And here all the operators are. 00:14:57,000 --> 00:15:05,000 Copy pasted on the new file. If you press one. Still will reset. 00:15:05,000 --> 00:15:14,000 The feedback group. And so what we want to create, we want to create a. 00:15:14,000 --> 00:15:27,000 A new user interface. So the first thing I need to check is How does this appear? On the panel locker, so I'm gonna go one level after with you. 00:15:27,000 --> 00:15:41,000 And as you can see, this one appears to be. A 6 40 by 4 by 3 60 layout it on the top left of our project one. 00:15:41,000 --> 00:15:49,000 So what we wanna do, we wanna. Use this as as a thumbnail for view. So a little box. 00:15:49,000 --> 00:16:00,000 And then we wanna have, one big, one big container in the center where we can interact with all the visuals. 00:16:00,000 --> 00:16:11,000 Not only with one. So we gonna start by. First of all, I'm gonna place this as a preview so that I can always check. 00:16:11,000 --> 00:16:23,000 My, my, yeah, my UI, the control monitor. And then here I'm gonna start thinking what I need. 00:16:23,000 --> 00:16:30,000 So first of all, I need this to be smaller. And so I'm gonna go and wheat and height. 00:16:30,000 --> 00:16:38,000 And as you can see there is a division. 1280 divided by 2. Let's make it 1280 divided by 5. 00:16:38,000 --> 00:16:49,000 And also 7 by 8 divided by 5. So this becomes a very small thumbnail Which we can, lay out to. 00:16:49,000 --> 00:16:59,000 On the On the top left, so maybe here we are already I'm correct on the top left. 00:16:59,000 --> 00:17:14,000 And maybe we just take some Big sales are like 2030 pix. And then mine is 30 pixel so that we have it not attached to the border. 00:17:14,000 --> 00:17:28,000 Okay. And then, what we want to have, we want to create the a container in the middle and take the coordinates from this container in the middle. 00:17:28,000 --> 00:17:42,000 So I'm just showing you. What they mean. So this is imagine is our 00:17:42,000 --> 00:17:49,000 This is our final result. So we want to create this container in the middle. 00:17:49,000 --> 00:18:00,000 And then use these as bottles. Okay, so these are not interacting. With you and V, only this one is interacting with USB. 00:18:00,000 --> 00:18:11,000 But these one are like, and are able to select a different vision. So first of all, we need to create this box, this container here. 00:18:11,000 --> 00:18:16,000 That's the width. 00:18:16,000 --> 00:18:19,000 Change one. 00:18:19,000 --> 00:18:25,000 Okay. 00:18:25,000 --> 00:18:28,000 So what we gonna do? 00:18:28,000 --> 00:18:33,000 We're gonna start by. 00:18:33,000 --> 00:18:42,000 Creating an inlet and, outlet. From these. Container visual one. 00:18:42,000 --> 00:18:53,000 So we dive inside. And inside we can find that there is a so we can connect. 00:18:53,000 --> 00:18:59,000 To the Spanner shop we can connect the node called kin. 00:18:59,000 --> 00:19:10,000 Okay, so. In usually creates that any letter. Here above. On the box on the container. 00:19:10,000 --> 00:19:21,000 And, when you connect the A second node to eat the If, nothing is coming inside, this is the second operator. 00:19:21,000 --> 00:19:29,000 We'll substitute the the incoming values, the coming channels that if are not contacted, that these are going. 00:19:29,000 --> 00:19:41,000 Okay. So as we're gonna use another partner shop about. Here and I'm gonna place it the Just now, panel. 00:19:41,000 --> 00:20:02,000 So this banner shop now is connected to the project webinar. For the moment. For the moment we keep it like but in a few I mean it's we're gonna substitute this this component project one with a new component that we're gonna create Here because project one is the entire screen. 00:20:02,000 --> 00:20:14,000 Of the project one right so it's like from left to right So for the moment we can use this. 00:20:14,000 --> 00:20:26,000 And when we use this and we connect it, we're gonna go inside. And we're gonna see that all the channels are going through the math through the filter. 00:20:26,000 --> 00:20:43,000 Through the note. So I think it still works because I can still move the circle because it's just looking for you and the center is just looking for you and me but to 00:20:43,000 --> 00:20:49,000 To make it, corrected and not to leave it like this with all the channels passing it. 00:20:49,000 --> 00:20:57,000 We can place a selected Just after the in job. So we're gonna right click. Selected. 00:20:57,000 --> 00:21:06,000 And then we select only U and V from the channel today. So we gonna, we can also choose them from the list that you. 00:21:06,000 --> 00:21:24,000 And then, the, or you can also type you space V. Okay, so in this way it works exactly in the same way that before but as you can see on the UNV are passing through or this, map filter. 00:21:24,000 --> 00:21:39,000 And then go into the circle. Okay, now the other thing we want to do in the in the container of the visual one we want to output the visuals so that We can take it from the level above. 00:21:39,000 --> 00:21:45,000 So to output it, we can use a top note called art. 00:21:45,000 --> 00:21:58,000 So as soon as you place it and you go one level above. You have it out. That is enabled here on the visual one. 00:21:58,000 --> 00:22:02,000 And here we can connect. A switch. A switch stop. Why? 00:22:02,000 --> 00:22:17,000 Because we will have multiple of these visuals. That we're gonna lay out inside our interface. And then the output of each individual visual will go through this switch. 00:22:17,000 --> 00:22:28,000 So that we are able to select it. A different index. To switch, yeah, to switch from a visual to another. 00:22:28,000 --> 00:22:38,000 So now what I'm gonna do, I'm gonna create a null. Here and I'm gonna use this null. 00:22:38,000 --> 00:22:49,000 And visualize it. Inside the another container. Okay, because Here we're gonna have the selection of different visuals. 00:22:49,000 --> 00:22:55,000 And then the output will go. In the peak one in the big container that we're gonna create. 00:22:55,000 --> 00:23:03,000 Right now. So just double click, go in the comp section, select for container. 00:23:03,000 --> 00:23:15,000 Okay, and then place it. The container is a black box. For the moment. First thing first we have to do we can assign a background to the container. 00:23:15,000 --> 00:23:23,000 And just by dragging the null one on the container and then releasing, you can select background top. 00:23:23,000 --> 00:23:31,000 And as you can see, it appears there. It is stretched. You can already See that there is some stretching. 00:23:31,000 --> 00:23:42,000 But, this is because the width and the height are 400 by 300. So what we can do. 00:23:42,000 --> 00:23:50,000 We can make this. 1280. Divided by 2. 00:23:50,000 --> 00:23:56,000 And then 7 20. Divided by 2. 00:23:56,000 --> 00:24:04,000 It doesn't matter if you could space or no space in Python. You can, you can use how many space you want. 00:24:04,000 --> 00:24:17,000 It doesn't really matter i usually prefer to have some space between the numbers. And, and the symbols. 00:24:17,000 --> 00:24:22,000 But is up to you you can also have it all attached 00:24:22,000 --> 00:24:29,000 10, another thing I like to have are the borders of these containers because most of the time these are black. 00:24:29,000 --> 00:24:40,000 Background so having the borders kind of help me to, lay out it better. So I'm gonna go and the section in the page look. 00:24:40,000 --> 00:24:48,000 And in the page look, I can, assign a border. We have 2 different colors we can assign. 00:24:48,000 --> 00:24:55,000 So I'm gonna go with border A which is white. And I'm assigning it to all the to all the sides. 00:24:55,000 --> 00:25:05,000 So border A. To all the sites. So now what I can do, I can lay out. My, visual. 00:25:05,000 --> 00:25:16,000 But before doing that i wanna connect The panel shop which is now taking the coordinates from the project one background. 00:25:16,000 --> 00:25:25,000 And as you can see. Containers. They block, the project background. So if you try to. 00:25:25,000 --> 00:25:33,000 To click here you won't be able to move the circle because It's a container on top of the project one. 00:25:33,000 --> 00:25:42,000 So these things we gonna. Learn it while doing them. So this container, which is 6 40 by 3 60. 00:25:42,000 --> 00:25:51,000 It's this one. And in order to connect my which is feeding the coordinates for the circle. 00:25:51,000 --> 00:26:05,000 I need to connect. The container one which is on the same level with the pump shop. So to do that, you can just drag container one in the parameter of the pilot shop. 00:26:05,000 --> 00:26:20,000 Just by doing like that. And as you can see this, yeah. Predicted there. So now I press one, I go here and I have the possibility to control this visual from this container. 00:26:20,000 --> 00:26:27,000 Is this clear enough? Because this is like one of the first thing. 00:26:27,000 --> 00:26:35,000 You have to understand. 00:26:35,000 --> 00:26:39,000 It doesn't matter where the 00:26:39,000 --> 00:26:53,000 Channel come from because somehow it's normalized. Normalized means that, no matter, which container it is if I go 00:26:53,000 --> 00:27:01,000 Wait, is there the coordinate? If I go on the left, I would have at 0. If I go on the right, I'll have a one. 00:27:01,000 --> 00:27:06,000 And it's the same for the V. If I go down, I have a 0, I go up, I have one. 00:27:06,000 --> 00:27:15,000 So these was already. Calirated for this type of container. Okay. 00:27:15,000 --> 00:27:17,000 And. 00:27:17,000 --> 00:27:27,000 And so now let's place the container in a position so that it's in the center. And we can use our left ankle. 00:27:27,000 --> 00:27:31,000 So left anchor moves. 00:27:31,000 --> 00:27:42,000 The container box in horizontal. And the origin. The horizontal origin now is at the minimum, but we can place it at 0 point 5. 00:27:42,000 --> 00:27:53,000 And it's gonna be center in horizontal And then for the for the vertical access. 00:27:53,000 --> 00:28:08,000 We can choose to use the encore that brings the visual up. The top and also the origin we can choose to have it at the maximum so that The visual starts from the top. 00:28:08,000 --> 00:28:15,000 And it's anchored on the maximum. Of the vertical alignment. The vertical origin. 00:28:15,000 --> 00:28:28,000 And then from there we can bring it down. 30 peaks. So exactly like our visual urban which is Minus 30 pixel in Y. 00:28:28,000 --> 00:28:38,000 So we gonna go and why and choosing the scale by 10 we go down 3 So it's minus 30 and it's perfectly aligned. 00:28:38,000 --> 00:28:44,000 Okay. So now this. Works. Okay. 00:28:44,000 --> 00:28:47,000 And like that. 00:28:47,000 --> 00:28:57,000 So what we do now, we're gonna continue create other visuals. Okay, and then I will lay out them. 00:28:57,000 --> 00:29:05,000 One after the other. So. It's gonna take some time, but this is good because you can practice. 00:29:05,000 --> 00:29:35,000 To copy paste components and That's the core of today's lesson to not get inimated by the quantity of operators if they are and capsule then inside the container or base they are easier to 2 manage to So we're gonna copy the one number 2 with Conference C. 00:29:35,000 --> 00:29:44,000 And then we can jump to our. Fine and then paste the usual number 2. It's gonna appear as you can see there. 00:29:44,000 --> 00:29:52,000 On the top right. No problem. First of all, we reduced the. 00:29:52,000 --> 00:30:06,000 Resolution from is 1280 divided by 2 so divided by 5 and divided by 5. So we have a small thumbnail. 00:30:06,000 --> 00:30:18,000 And again, here we go inside Visual 2. We add an input. An inlet. In shop family and an outlet in top family. 00:30:18,000 --> 00:30:26,000 So we go inside and we say, look, here there is the panel. I can add the in. 00:30:26,000 --> 00:30:29,000 So I'm adding the in. 00:30:29,000 --> 00:30:40,000 And then I'm also adding the select. So that I can select. Hi, because if I connect my previous panel here. 00:30:40,000 --> 00:30:53,000 Then I have all the channels that are passing through. So I want to just select. UNV so that the filter doesn't have to filter all those channels but just 2 channels. 00:30:53,000 --> 00:31:02,000 So I'm gonna add a select, but it's an next operator. And choose. You space B. 00:31:02,000 --> 00:31:06,000 Okay, so that's another way to. 00:31:06,000 --> 00:31:15,000 To add the UNB on the select after the in. And then I'm gonna go on the last node. 00:31:15,000 --> 00:31:26,000 And add and out. Here. Okay, so now. If I go one level up, I have a in which I connect with my panel shop. 00:31:26,000 --> 00:31:39,000 And I have and I can connect my output to their input of the switch. So now we have 2 visual connected the switch stop. 00:31:39,000 --> 00:31:50,000 And the other thing I have to do I wanna place this visual. The first visual, the first review. 00:31:50,000 --> 00:32:04,000 And to do that, I can use the parent and child method. So first of all, I'm gonna bring this visual to the left. 00:32:04,000 --> 00:32:21,000 Bottom by bringing the anchor down. Good 0. Okay, so all the encores and the origins at 0 so that They little visual of 256 pixels by 144 pixel. 00:32:21,000 --> 00:32:28,000 Is layout on the left bottom. And then if I connect. 00:32:28,000 --> 00:32:41,000 The previous visual. With this cable here. That goes from the bottom. And goes on the top of the second beach well it means parent child. 00:32:41,000 --> 00:32:53,000 And so the second visual Kind of disappeared and it went in the position. Of the first usual. But we want it to be more down. 00:32:53,000 --> 00:32:57,000 So no problem. We can go down. 00:32:57,000 --> 00:33:01,000 Of how many peaks there. 00:33:01,000 --> 00:33:10,000 150 pixel. Let's see if it's enough space. 00:33:10,000 --> 00:33:22,000 Yes, we can. With 60, so a bit more space, 160 bits, so yeah, a bit more space between the 2. 00:33:22,000 --> 00:33:30,000 So now I wanted to 00:33:30,000 --> 00:33:39,000 Continue this, if you feel confident. We can do it for at least 4. 00:33:39,000 --> 00:33:51,000 For the other 2 feedback loop so that we can place them here. And here. And then we're gonna add the possibility to switch. 00:33:51,000 --> 00:34:01,000 From the visual to another. Cause for the moment the only visual that pass is the visual The first one. 00:34:01,000 --> 00:34:14,000 Was the switch is on. Connected yeah and it's on index 0 but if we go index one then we have the second visual and it still work. 00:34:14,000 --> 00:34:20,000 With the coordinates coming from the container that we created here. 00:34:20,000 --> 00:34:23,000 Okay. So then, yes. 00:34:23,000 --> 00:34:39,000 A question. Why did we? May the pattern child connection because we have put the visual to Just like you did, like putting it a little bit down. 00:34:39,000 --> 00:34:43,000 Why would we do the parent child connection? 00:34:43,000 --> 00:34:55,000 We do the parent child connection, cause like this, first of all we If we move the parent All the children will move. 00:34:55,000 --> 00:35:04,000 Okay. 00:35:04,000 --> 00:35:05,000 Okay. 00:35:05,000 --> 00:35:09,000 So you move one component and all the children would follow. But also this is important and you kind of anticipate them. 00:35:09,000 --> 00:35:28,000 Later on we will create a bottom to hide. All the visuals. Okay. And, when the parent is connected to children, if you display off the parent, Oh, so that she'd run up with display of. 00:35:28,000 --> 00:35:29,000 Okay. 00:35:29,000 --> 00:35:38,000 So in the Python script, we're gonna have only one line turning off the display. Of the first visual and all the others will follow. 00:35:38,000 --> 00:35:49,000 Because they are cheaper. So some of the properties of the parent are going in the cascade or the chamber. 00:35:49,000 --> 00:35:57,000 So now what we do, we create the third visual. In the same method. So going our file of the feedback loop. 00:35:57,000 --> 00:36:06,000 Take the visual number 3, control C. And then I'll stop to go back in your. 00:36:06,000 --> 00:36:09,000 The other file. 00:36:09,000 --> 00:36:18,000 And then you can control B and you place. It's third visual and again every time. 00:36:18,000 --> 00:36:30,000 It looks a bit boring. No, I have to redo again. But this is exactly what I want you to do to do again the same action over and over because like this you become faster. 00:36:30,000 --> 00:36:47,000 And in programming and, scripting. But also with operators. Once you get used to do the same thing over and over, then you become faster. 00:36:47,000 --> 00:36:58,000 And that's a very good thing. Faster at the same time. Focus on what you're doing so now we need to add the input and an output to this container. 00:36:58,000 --> 00:37:09,000 So we're gonna go again inside this. Adding an intro. I think a select, to select, to select only UNB. 00:37:09,000 --> 00:37:18,000 Just to show you again if I Connect my new panel shop. It's true that I could select UNV here. 00:37:18,000 --> 00:37:29,000 And then not select the inside the box, but it's always good to have. All the channels arriving and then have a select here. 00:37:29,000 --> 00:37:32,000 And select only UNB. 00:37:32,000 --> 00:37:40,000 Because maybe you don't know maybe in the future you want to use other channels. To create other logics. 00:37:40,000 --> 00:37:53,000 And so you have all the channels entering. You just need to add another select. So now that we placed this in letter, we can also place the output with the outstop. 00:37:53,000 --> 00:37:57,000 And then we have. 00:37:57,000 --> 00:38:08,000 The output going from here inside the switch. So now we have 3. 3 inputs for the switch. 00:38:08,000 --> 00:38:24,000 And again, we can connect. The previous one Sorry, the parent one through the child. And again, the child will go in the position of the parent and we can go down off. 00:38:24,000 --> 00:38:32,000 260, no, 320. Yeah, sure. Yeah. 00:38:32,000 --> 00:38:45,000 160 by 2. Obviously you can also connect the the previous Child Brenda to the next children But then you have to go down only 160. 00:38:45,000 --> 00:38:54,000 Just check, double check if the display. Parts also like these. So it depends. 00:38:54,000 --> 00:39:09,000 From you from what you want to watch in the I mean for what you feel more comfortable or to have only one parent and many children or to have The parent connected to the first children to the first child. 00:39:09,000 --> 00:39:20,000 And then the first chart connected to the second child. And so on. I personally 00:39:20,000 --> 00:39:25,000 Personally, I prefer one parent and many children. 00:39:25,000 --> 00:39:35,000 And then I prefer to move down. the second ch. Yeah, 320. 00:39:35,000 --> 00:39:47,000 But it's really up to you. There is not a rule, that says, You should do one part and then many children or the cascade, So you can do both. 00:39:47,000 --> 00:39:52,000 You can also. Connected child with child. 00:39:52,000 --> 00:40:00,000 Yeah, my suggestion is that as these cables are not really Maybe while you are programming, keep them a bit like that. 00:40:00,000 --> 00:40:11,000 Like this you can see them. Cause if you put them in a vertical layout, then you won't be able to. 00:40:11,000 --> 00:40:16,000 You see when they overlap they are not highlighting. 00:40:16,000 --> 00:40:21,000 Why is that if they don't overlap, they highlight? 00:40:21,000 --> 00:40:33,000 Okay, so maybe for the while you are programming it, you can keep them a bit like this. And then once you close, you can put them in a in a vertical, layout. 00:40:33,000 --> 00:40:43,000 So now we have that the switch, it's having 3 inputs so it can go on the input number index number 2. 00:40:43,000 --> 00:40:57,000 We have this. Input arriving. Right, let's do the number 4 like this. We close the A series, a, 1, 4. 00:40:57,000 --> 00:41:07,000 And then we go here and control D. And this again appears. Big 6 over 3 by 3 60. 00:41:07,000 --> 00:41:13,000 We can. No, divided by 5. 00:41:13,000 --> 00:41:22,000 Divided by 5. And then we can. Bring the oncore to 0. 00:41:22,000 --> 00:41:29,000 And connect the our parent. Through the 00:41:29,000 --> 00:41:39,000 The third children and then move the third children down down down. Until you kind of see that there is the same margin. 00:41:39,000 --> 00:41:52,000 And the number is minus 480. Okay. Now this. Fourth, visual. 00:41:52,000 --> 00:42:07,000 We need to Modify so we enter and We go at the beginning where there is the final chalk and we add the and inchock. 00:42:07,000 --> 00:42:17,000 And then after the in shop we add the select And we select. You space B 00:42:17,000 --> 00:42:26,000 So that when we connect our panel shop from the level above. 00:42:26,000 --> 00:42:35,000 All the channels are entering inside. But the only channels selected are UNB. 00:42:35,000 --> 00:42:49,000 Okay, and then we place, an output. After our last operator. Out. And then we go one level up. 00:42:49,000 --> 00:42:58,000 And we have the output here that we can select. Zoom out, zoom in. 00:42:58,000 --> 00:43:06,000 Is something that you might don't know. When you are Zoom Dean and an operator. 00:43:06,000 --> 00:43:11,000 When you click once you have the cable 00:43:11,000 --> 00:43:20,000 Connected to the mouse position. If you zoom out. And you zoom out from here. It zoom out in this direction, right? 00:43:20,000 --> 00:43:30,000 But if you zoom out from there. Zoom out in the center so from here kind of pan on the right. 00:43:30,000 --> 00:43:35,000 So if you wanna go on the switch, you can zoom on the switch and then you can. 00:43:35,000 --> 00:43:43,000 Gone a year. And click again and it connects. 00:43:43,000 --> 00:43:51,000 Okay, make a lot of practice of this zoom in and zoom out. And 00:43:51,000 --> 00:43:57,000 And we can then. Check. Our index number 3. 00:43:57,000 --> 00:44:04,000 Is the visual. With the Congress okay 00:44:04,000 --> 00:44:17,000 No, let's dive a little bit into Python. Okay, so. First of all, in order to test a Python script. 00:44:17,000 --> 00:44:26,000 You have to use. That operator. So the that operator are these ones. 00:44:26,000 --> 00:44:35,000 And as you can see there are many but we need only one or 2 today We're gonna see others. 00:44:35,000 --> 00:44:39,000 And we guys start with a text that. 00:44:39,000 --> 00:44:54,000 So the text dot. This one. It's just a very simple text field. Where you can type your text and then you can test if your Python script works. 00:44:54,000 --> 00:45:05,000 Okay, so what we gonna do now, we gonna point at this index parameter And we want to change. 00:45:05,000 --> 00:45:14,000 The index with the title script. And not, manually. Or not with chops, but with the script. 00:45:14,000 --> 00:45:20,000 So what we gonna do? We're gonna start to understand what's the syntax of. 00:45:20,000 --> 00:45:30,000 Python inside touch design. And the syntax is always the same. So you start by typing. 00:45:30,000 --> 00:45:40,000 Oh, which stands for Operator. Okay, in lower case. And then usually, You have to include the name of the operator inside. 00:45:40,000 --> 00:45:53,000 Brackets. And. How do you call this? 00:45:53,000 --> 00:45:58,000 And brackets and 00:45:58,000 --> 00:46:07,000 And help. That's this in English. We're gonna hit that. 00:46:07,000 --> 00:46:13,000 Oh, we have a suggestion. Quote, thank you. Yeah, so. 00:46:13,000 --> 00:46:26,000 Something that is very useful probably who are those from programming they know that to be faster you can open close brackets go back once Good. 00:46:26,000 --> 00:46:37,000 2 times the quotation go back once. And then type the name of the operator. Our operator is called Switch One. 00:46:37,000 --> 00:46:46,000 Okay. And I wanted to show you this thing. Because if I type here, switch one. 00:46:46,000 --> 00:47:00,000 This is relative to the position of the text one. Okay. Later on, we're gonna see what's the difference between a relative path and an absolute park. 00:47:00,000 --> 00:47:07,000 So keep in mind that this is a relative part. Because it starts with the name of the operator. Okay. 00:47:07,000 --> 00:47:18,000 If I wanted to have the absolute back. Of the same operator, I just need to add 00:47:18,000 --> 00:47:29,000 The path which is slash project. Slash the name of the operator. So if a path starts with slash. 00:47:29,000 --> 00:47:39,000 That's an absolute. So the absolute path for this operator is project one. Slash switch one. 00:47:39,000 --> 00:47:50,000 Okay. So this is to say go on this operator which is inside project one. And in an operator name is called switch one 00:47:50,000 --> 00:47:59,000 And then go, actually this this absolute path I'm gonna remove it because later I want to show you that this script. 00:47:59,000 --> 00:48:06,000 It won't work inside. The container of usual one. Cause it's relative to this position. 00:48:06,000 --> 00:48:19,000 So let's keep it simple. Operator switch one, which is this operator. Dot which stands for parameter. 00:48:19,000 --> 00:48:31,000 Dot the name of the parameter. So The Python name of every parameter is written if you expand the parameter itself. 00:48:31,000 --> 00:48:39,000 So if you expand the parameter in the exit. This is the Python name. Of that parameter. 00:48:39,000 --> 00:48:50,000 Okay, so every node, even if you expand plan between inputs, plan, every node and you can check all the All the notes, no? 00:48:50,000 --> 00:48:57,000 They have all the parameters and if you expand that You have the Python name. Of the parameter. 00:48:57,000 --> 00:49:04,000 Okay, so that layer for example is there. Weed is W. 00:49:04,000 --> 00:49:15,000 And hide his age. So it's always about Telling to Python, A go on this operator and then go on the parameter. 00:49:15,000 --> 00:49:28,000 Call the index. So dot dot dot index. And then you place equal and you say a number. Let's imagine we go number 0. 00:49:28,000 --> 00:49:45,000 Go back. So our first issue, number 0 would be this one. The caller everyone. So now to test it, we can place this index back to 3. 00:49:45,000 --> 00:50:06,000 So if you write down the script, To write it down, you have to open the every time you want to interact with the inside of an operator you have to make it active So you have to make the viewer active so always this little cross on the bottom right. 00:50:06,000 --> 00:50:14,000 And it's for the that operator is able to edit the the script. Then you close it. 00:50:14,000 --> 00:50:22,000 Once you have done the one line of of code. And to test it, that's very nice and easy. 00:50:22,000 --> 00:50:35,000 You right-click on the operator. On the that operator. And you're gonna find the piece, option here called run script. 00:50:35,000 --> 00:50:45,000 Okay, so If we click it now, you're gonna see that the index value of the switch one will go to 0. 00:50:45,000 --> 00:50:53,000 You see? It went instantly to. If you want to test it again, you can change the number. 00:50:53,000 --> 00:51:01,000 Now maybe go to 2. And then you close again the active viewer. You right-click, run script. 00:51:01,000 --> 00:51:15,000 This works. So. This text that I highly suggest you. Whenever you want to test the 00:51:15,000 --> 00:51:25,000 Whenever you want to test the the script always use this text stuff Okay. Once the script, yes. 00:51:25,000 --> 00:51:38,000 Okay, questions then? Cause I think we will have a Another that that is a script that is that correct so are you saying that this one is 00:51:38,000 --> 00:51:53,000 This one is to test your script. And then now we're gonna use this scripted. Inside another. 00:51:53,000 --> 00:51:54,000 Hmm. 00:51:54,000 --> 00:52:02,000 Node. Which is the chopper execute note Okay. So this one usually is like I used it many times when I wanted to for example. 00:52:02,000 --> 00:52:21,000 Create some more complex script for example here You can say I wanna just have switch. And then I wanna have the number of the switch coming from another. 00:52:21,000 --> 00:52:29,000 Logic or from another, variable. So you can add the 00:52:29,000 --> 00:52:34,000 Of switch. 00:52:34,000 --> 00:52:41,000 Plus, how to say how to take the number. Let's, make like, okay, I can make, a table. 00:52:41,000 --> 00:52:56,000 A table that All right, back to like, a constant chopper Okay, we I convert into Table. 00:52:56,000 --> 00:53:01,000 And so if this number goes one, then this is 00:53:01,000 --> 00:53:13,000 I imagine this is like another variable coming from another logic. And I want to use this variable in my script. 00:53:13,000 --> 00:53:25,000 So I need to transform this number into a string. So I remember that this thing was. Switch plus SDR. 00:53:25,000 --> 00:53:38,000 Which stands for string good And then you say string of Operator. 00:53:38,000 --> 00:53:46,000 That's why sometimes it's good to test it and cyber text that. So you can say operator. 00:53:46,000 --> 00:53:55,000 Shop to One. 00:53:55,000 --> 00:54:02,000 0. Which is. 00:54:02,000 --> 00:54:07,000 So this one should be. 00:54:07,000 --> 00:54:11,000 Operator chopped one. 00:54:11,000 --> 00:54:15,000 Round 0, column 0. 00:54:15,000 --> 00:54:20,000 Chapter one, road 0, column 0, that's in one. 00:54:20,000 --> 00:54:24,000 So if this is correct. 00:54:24,000 --> 00:54:33,000 Even if it's not written, switch one. This we can test it. Yeah, it works. 00:54:33,000 --> 00:54:44,000 So if there was an error, for example, if this was I don't know, chop to 3, which doesn't exist as a operator. 00:54:44,000 --> 00:54:55,000 And then you try to test if it works. This probably goes to error. And he says you have an in line one. 00:54:55,000 --> 00:55:13,000 But This is to say that the sometime even with a simple script like that you can act on multiple switch depending on what your variable is. 00:55:13,000 --> 00:55:27,000 Here. So and this thing, usually I test it inside the text that. Then I if it works it so Now here it's basically it's written. 00:55:27,000 --> 00:55:41,000 Operator switch. Plus a string of operator shop 2 one which is this one this is Rosen Collins to say go to take the cell. 00:55:41,000 --> 00:55:44,000 Take that number. 00:55:44,000 --> 00:55:52,000 And Adi as a stringer to the name called Switch. So here it comes, operator switch one. 00:55:52,000 --> 00:56:08,000 Per index equal 2. So if this, you run script and it works, it means that your variable that is coming from another operator it's working. 00:56:08,000 --> 00:56:14,000 Oh, okay. So this would be like to make it. For the future. 00:56:14,000 --> 00:56:24,000 No? This you can find the you can find online. So SDR is to transform an integer into a string. 00:56:24,000 --> 00:56:31,000 I an integer number into a text. Oh, Nancy, just say, you know, switch one. 00:56:31,000 --> 00:56:41,000 Far index equal. 0 or one. And then this should change. And to what? 00:56:41,000 --> 00:56:43,000 And the second question was. 00:56:43,000 --> 00:56:47,000 The sc that. They sc to that. 00:56:47,000 --> 00:56:54,000 No, okay, that was the first question. Okay, now because there is a clip that I was thinking we should use that one. 00:56:54,000 --> 00:57:06,000 I think we should use the text and the second question was is there a way sort auto-complete. 00:57:06,000 --> 00:57:07,000 Yeah. 00:57:07,000 --> 00:57:12,000 So if you do know when you are in programming. And it was usually can Do the thought and do like that and then you see. 00:57:12,000 --> 00:57:13,000 So if you 00:57:13,000 --> 00:57:14,000 All the parameters or something like that. 00:57:14,000 --> 00:57:24,000 If you split the left and right, the and then you choose to visualize text port and that's. 00:57:24,000 --> 00:57:34,000 This is. So I'm gonna do it again maybe. So this is the Left, right, like we did in the past. 00:57:34,000 --> 00:57:46,000 We can split our pain. Into to vertical pain, not usually in the past we were using the second screen. 00:57:46,000 --> 00:57:54,000 The second for a MIDI controller that can have no parameter controller is another thing I'm gonna show you in a while. 00:57:54,000 --> 00:58:07,000 This This panel here, usually we always used it with geometry viewer not to visualize the geometry or bit but you can also choose to have export and dots. 00:58:07,000 --> 00:58:11,000 And here is the Python. 00:58:11,000 --> 00:58:17,000 So if you bring something, it's gonna appear here. 00:58:17,000 --> 00:58:22,000 Okay, so for example, if in my. 00:58:22,000 --> 00:58:26,000 If in my script it's read them. 00:58:26,000 --> 00:58:33,000 Actually, I don't remember how to print in Python. It's very easy. 00:58:33,000 --> 00:58:41,000 I mean the I think. 00:58:41,000 --> 00:58:52,000 . Yeah between brackets. I just needed to see that. So if you wanna, you can say printer. 00:58:52,000 --> 00:58:57,000 And then between brackets you can say. 00:58:57,000 --> 00:59:07,000 Hello. And if you run this script, That's an invalid. 00:59:07,000 --> 00:59:13,000 I might need to. 00:59:13,000 --> 00:59:14,000 This is Matthew. 00:59:14,000 --> 00:59:20,000 Situation we might run into is we might run into something where we just want to print there print something right so certainly we can print print happens to be the command, right? 00:59:20,000 --> 00:59:21,000 This is what we're asking Python. 00:59:21,000 --> 00:59:24,000 Thank you. 00:59:24,000 --> 00:59:30,000 Thank you, Andrew. Yeah, you need quotes. 00:59:30,000 --> 00:59:35,000 And if you around the script then you have 00:59:35,000 --> 00:59:48,000 The console. So this thing of printing. I have rarely used it. I usually use Python, I touch designer to act. 00:59:48,000 --> 00:59:57,000 And to change parameters. Of different nodes. And I'll show you. 00:59:57,000 --> 01:00:01,000 The pros of doing that. 01:00:01,000 --> 01:00:10,000 So let's go step by step. So for the moment, we don't need to use the console for this. 01:00:10,000 --> 01:00:33,000 Type of Thanks. Keep in mind that the learned. It's online and it's an official website now where you have all the modules are made by Matthew Reagan. 01:00:33,000 --> 01:00:43,000 People like Christa and For example, you have that's creating and Python and you have all these. 01:00:43,000 --> 01:00:49,000 Different chapters so you can Keep learning some Python here. 01:00:49,000 --> 01:01:08,000 Which actually is really good. They are. That coming like some Matthew coming from a programming background. It's really good and explain this and you have all for like it's available it's free. 01:01:08,000 --> 01:01:16,000 You can dive into. These small courses 01:01:16,000 --> 01:01:29,000 But let's go back to our topic. So here we test the script if it works. And then there are a series of, 01:01:29,000 --> 01:01:43,000 Of Operators. That can execute the this line of. Python based on different inputs. 01:01:43,000 --> 01:01:52,000 So I'm gonna show you. First of all we execute that, that even if we are not going to use it, but I want to show you. 01:01:52,000 --> 01:02:04,000 What I mean for for different type of not so they execute that. Is the no that usually? 01:02:04,000 --> 01:02:15,000 I rarely use it, but sometimes I use it for example. When I use audio sometimes the audio plays without at the beginning. 01:02:15,000 --> 01:02:27,000 So you can enable. Start from the parameters. And when you enable it, it means that the phones start. 01:02:27,000 --> 01:02:43,000 Will will work. Okay, so If you want to use only the deaf on start. The definition is, if it's starting the program, then you can do something. 01:02:43,000 --> 01:02:53,000 And when you see return, this is the end of the of the definition. So the in the parameters, you can see that you have on create. 01:02:53,000 --> 01:03:01,000 So when you create a new note, when you exit. When the frame starts so every 10 s. 01:03:01,000 --> 01:03:12,000 When you save the project before saving after saving you can create some logics, okay? So this is present. 01:03:12,000 --> 01:03:37,000 So if in the future you might need to create some logic at the beginning of the file when you open it you can use the default start You can delay the comments, you can delete all the other death and just keep that on start and say okay whenever the software is starting I want to have The switcher equal to 0. 01:03:37,000 --> 01:03:53,000 Okay. So I can use this and whatever I I saved the file. Even if the file it's on index number 2 or 3 when I Save as. 01:03:53,000 --> 01:04:07,000 Let's say with the Weepa 01:04:07,000 --> 01:04:13,000 So when I close it, this step on start, I can check it from start, this works. So. 01:04:13,000 --> 01:04:28,000 Now this is on index number 3. I closed file when I reopen the file. 01:04:28,000 --> 01:04:40,000 As I placed the inside the Therefore start the that little script. My index, which is not this one. 01:04:40,000 --> 01:04:53,000 Sorry, I opened the other. So when it starts, that line of combat. Brings the index equal to 0 as you can see. 01:04:53,000 --> 01:05:11,000 Okay, just because I placed it. Inside this execute and I enable the So this is one, execute the, That's part of it, that operator, which we have. 01:05:11,000 --> 01:05:19,000 Inside that designer and I'm gonna leave it here just for you to have it. And the one that we're gonna use. 01:05:19,000 --> 01:05:37,000 And the one that is probably the most used. It's called chop execute. Okay, so before doing this we go inside our visual one because I want to remind you that we have an objective. 01:05:37,000 --> 01:05:47,000 Which is whenever I click on these different review which are all the different. 01:05:47,000 --> 01:05:50,000 Container of the visual. 01:05:50,000 --> 01:06:05,000 So I go inside visual one. And I go on the panel of visual one now. And I want to have also The Select. 01:06:05,000 --> 01:06:17,000 Okay, so I want to have Select. So that when I click on visual one I have this select going from 0 to one, right? 01:06:17,000 --> 01:06:24,000 Okay, so what I want to do now, I want and keep in mind that I'm using, the selector. 01:06:24,000 --> 01:06:35,000 Of the Panel chocolate of the visual one and not of the container. Which we created in the middle here. 01:06:35,000 --> 01:06:41,000 We are using the one coming from the thumbnail. Let's say the preview. So this one. 01:06:41,000 --> 01:06:54,000 So I want to isolate. The channel called the Select. So I'm gonna use a select jobbook and isolate the channel and select by choosing it from the list. 01:06:54,000 --> 01:07:03,000 So now my select the It's alone. Okay. And. Just to. 01:07:03,000 --> 01:07:13,000 Just to be. Nice and clean. I use a now. Okay, even if here I might not add any. 01:07:13,000 --> 01:07:23,000 But it's good to have another always. And then what I do, I connect the to the output of this now. 01:07:23,000 --> 01:07:33,000 A shop execute the doctor. Okay, so what I do I Hi, I go in the that section. 01:07:33,000 --> 01:07:43,000 Okay, and as you can see I have only a few that operator appearing that I can connect to a chocolate. 01:07:43,000 --> 01:07:52,000 And this is a newborn parameter executed. So chop executes. I place it. 01:07:52,000 --> 01:08:08,000 And shop execute basically. It listen to a chocolate. In this case, it listens to the job now to Okay, the one connected to the selector. 01:08:08,000 --> 01:08:22,000 And the type of, death that we have inside. Are from off to one while on from on to offer while off when the value changes. 01:08:22,000 --> 01:08:35,000 The most used are off to one on to off and value change. Okay, because usually Why, it means that while it's on, it goes 60 frame by second. 01:08:35,000 --> 01:08:45,000 Any any execute whatever script you put inside a while Keep in mind that if you want in this case we want to use off to one. 01:08:45,000 --> 01:08:55,000 So when we click We want to switch the visual. So we're gonna enable from the parameters of one. 01:08:55,000 --> 01:09:01,000 And we're gonna disable value change because we don't use value change. And inside the creek. 01:09:01,000 --> 01:09:10,000 The We can clean it up, but because we don't need all this text. So we can clean up all the comments. 01:09:10,000 --> 01:09:23,000 The comments are these one with the hashtag the beginning. And then we can delay it also all the other which are not, we are not going to use this so we can delay them. 01:09:23,000 --> 01:09:34,000 And we can keep, the off to one. Do not change. This is great. 01:09:34,000 --> 01:09:44,000 Just the. Go here and then, start to do back space return so that you create. 01:09:44,000 --> 01:09:52,000 More lines. And then inside this space here, we're gonna place our script. Inside here. 01:09:52,000 --> 01:10:07,000 But before doing that, I wanted to take that screen and bring it inside. The visual. So I'm gonna take this text that that we did before. 01:10:07,000 --> 01:10:16,000 I control X to cut it. And then I go here and I control B just to have it. Close by. 01:10:16,000 --> 01:10:25,000 So I wanted to show you that If you try to run the script here, Unless there is a switch. 01:10:25,000 --> 01:10:35,000 It is not. This will go to Why? Because there is no operator switch one. At this level. 01:10:35,000 --> 01:10:44,000 And the script is saying go on the operator switch one. And on the parameter index but here at this level there are no operator switch. 01:10:44,000 --> 01:10:51,000 If there was one. Let's imagine also the 01:10:51,000 --> 01:10:59,000 And we can place. The sphere and the box. 01:10:59,000 --> 01:11:08,000 Then this operator, even if it's a, oh, this is selective, so it won't work because it's written input. 01:11:08,000 --> 01:11:18,000 So it has to be a top or as the parameter it's called the input instead of index. 01:11:18,000 --> 01:11:26,000 So if it's if it's just here and then you run the script. The This will go to index number one. 01:11:26,000 --> 01:11:32,000 Or to index number. 14 01:11:32,000 --> 01:11:40,000 It doesn't matter. The only thing is that The sweet shirt. Is not here. So this. 01:11:40,000 --> 01:11:45,000 Is not here. But he's above. So. 01:11:45,000 --> 01:12:05,000 And that comes this explanation of relative versus absolute part. So for the relative path that if you want to go from here to the switch one you have to put the Fine. 01:12:05,000 --> 01:12:14,000 Which means go one level above. Yeah, so let's go to change this switch home to I don't know 3. 01:12:14,000 --> 01:12:27,000 And then. If this works and it goes back to the visual black and white doing run script. It means that my dot dot slash. 01:12:27,000 --> 01:12:39,000 It's actually working so it's saying go up one level and find the operator switch one. But what I learned in my life is that it's always better. 01:12:39,000 --> 01:12:49,000 To put the absolute buck because maybe You gonna move this shop execute somewhere else, maybe you'll put it in a base. 01:12:49,000 --> 01:13:00,000 So if it's relative, then you have to add it the code. If it's absolute, it doesn't matter where you are inside the fetch, inside the network. 01:13:00,000 --> 01:13:12,000 It will always go to find the absolute path. Of the this switch one so it starts from It's a that defines. 01:13:12,000 --> 01:13:20,000 That is an absolute and then goes inside the project form because it's the name of the container. 01:13:20,000 --> 01:13:30,000 So If this change name, then your vital script will go to error. And then after going inside project one, it goes. 01:13:30,000 --> 01:13:42,000 And find the switch one. So now this is script here. And I can say equal 0. Cause it's the. 01:13:42,000 --> 01:13:52,000 15 index I want to have if I click on this This script I can. Copy it. 01:13:52,000 --> 01:14:05,000 And paste it. Inside the Okay, it doesn't matter if you have many return or if you have everything attached to it. 01:14:05,000 --> 01:14:22,000 So you can also have everything. Attached like that. Okay, I personally usually prefer to have some space between the And sometimes I also add the comment. 01:14:22,000 --> 01:14:33,000 This is up to you, but if you want to add a comment you with the hashtag. And you say. 01:14:33,000 --> 01:14:38,000 Switch. 01:14:38,000 --> 01:14:46,000 Top. To the 01:14:46,000 --> 01:14:49,000 There's the usual. 01:14:49,000 --> 01:15:03,000 So this is as a comment because it's hashtag The only rule that you have to keep in mind is that 01:15:03,000 --> 01:15:14,000 This line has to be on the same. Tob of the death. So if you go. 01:15:14,000 --> 01:15:33,000 Back. This is it won't work. This is an error. Okay, so the only a rule that you have to follow that like one of the rule main rule that you have to follow is that It needs to be with tab. 01:15:33,000 --> 01:15:45,000 Hey so these here are taps and they are not 4 spaces okay because some people usually that are not coming from programming. 01:15:45,000 --> 01:15:54,000 They think, Ash, I should put that. At the same level of return. So they add the 4 space. 01:15:54,000 --> 01:16:05,000 This is not good. Okay, and it doesn't even visualize it But if you use 4 spaces, it's not like using tab. 01:16:05,000 --> 01:16:13,000 So in Python they say or you use a tab or you use a space you have to choose one of the 2. 01:16:13,000 --> 01:16:25,000 I suggest you stop. Okay, so. Is the only room and by the way when you return from there it already adds the top automatically. 01:16:25,000 --> 01:16:38,000 Okay. So this is just the only thing that the can bother you at the beginning. Is that if this line of script is not on the same line of return. 01:16:38,000 --> 01:16:57,000 That is gonna give you an effort. So now, basically if you want to test the, this, shop execute the You can go up one level and change the switch into I don't know, the number 3. 01:16:57,000 --> 01:17:06,000 So in theory And we can go check if everything works. If I click on the preview of visual of the first visual. 01:17:06,000 --> 01:17:15,000 Then. It switches. On index 0. As you can as you could see it. 01:17:15,000 --> 01:17:26,000 So it means that My line of Python that I tested before in the text step. Now it works with the chop execute. 01:17:26,000 --> 01:17:40,000 And so what I can do, I can. Copy this 3 notes. Copy. Go up one level, go in the visual number 2. 01:17:40,000 --> 01:17:53,000 Find the panel. Maybe add the select about them. In the panel and then paste. And as you can see, Dash designer is pretty. 01:17:53,000 --> 01:18:01,000 Smart in this if you have a piano shop. And the select was connected to a pilot shop. 01:18:01,000 --> 01:18:16,000 Then it's gonna connect it automatically. To the new partnership. The only thing you have to change is that this part index now we are in the second visual and we want to go index one. 01:18:16,000 --> 01:18:26,000 Okay for the switch So now if I test it, this changes. Black and white and then Colour it. 01:18:26,000 --> 01:18:38,000 So my 2 little bitin scripts that are inside a shop execute, they are working fine. And, I can continue to copy paste this. 01:18:38,000 --> 01:18:47,000 Did you understand this job execute? Then we will do it again for the buttons on the later. 01:18:47,000 --> 01:18:57,000 So we can continue to copy paste this logic. For the other. Visual So we go and visual number 3. 01:18:57,000 --> 01:19:10,000 We add the selected channel, so that we can click and select. And then we paste the notes and we go to change the index. 01:19:10,000 --> 01:19:20,000 From one this has to go to index number 2. So now if I click on this, I have This one. 01:19:20,000 --> 01:19:34,000 You see, it's kind of easy. If you keep it simple for the beginner, now for the beginning, then you understand that is not so difficult. 01:19:34,000 --> 01:19:49,000 Actually, I might have to change this. Good. Third. It's just the comment. 01:19:49,000 --> 01:19:53,000 Exactly. 01:19:53,000 --> 01:20:04,000 So if you keep doing that, then you go on the number. Or you add your select Here and then you can paste. 01:20:04,000 --> 01:20:15,000 The nodes. That are connected then to the shop execute. And this should be part index equal to 3. 01:20:15,000 --> 01:20:20,000 And this is Of course. 01:20:20,000 --> 01:20:30,000 4 things within. Yeah, maybe. And then you have 1, 2, 3, 4. 01:20:30,000 --> 01:20:41,000 So the coordinates are coming from this container. While the selection is coming from these containers which are small. 01:20:41,000 --> 01:20:51,000 In form of a thumbnail. Okay. And. But the UNV coordinates are coming from this opt viewer container. 01:20:51,000 --> 01:20:57,000 Okay. 01:20:57,000 --> 01:21:03,000 Shall we continue to add other visuals? 01:21:03,000 --> 01:21:07,000 You feel confident? 01:21:07,000 --> 01:21:14,000 Okay, that's good. So we go and we open. The. 01:21:14,000 --> 01:21:29,000 3d setup visuals that I 3D that I'm gonna also send you if you don't have it. 01:21:29,000 --> 01:21:37,000 Gonna open both of them and send it to you. If you don't have it, I mean, you can just download it from the website. 01:21:37,000 --> 01:21:51,000 Are the The Toro's twist and and the simple and the simple 01:21:51,000 --> 01:21:59,000 3D. One is here. So here. 01:21:59,000 --> 01:22:05,000 We can a copy. The entire container project one. 01:22:05,000 --> 01:22:18,000 Which is 1280 by 7 20 no problem copy it we minimize this we also minimize this. And then we go up here and we paste it. 01:22:18,000 --> 01:22:23,000 And as you can see, as soon as you paste it, then this goes and it blocks everything. 01:22:23,000 --> 01:22:25,000 You see? 01:22:25,000 --> 01:22:34,000 This is something. That might happen a lot. Actually, it's kind of cool. But. 01:22:34,000 --> 01:22:43,000 Once you can notice is that you cannot interact anymore. With the the container behind. 01:22:43,000 --> 01:22:52,000 So it looks like this project one is taking all the space. And he's not letting you interact with the project behind. 01:22:52,000 --> 01:23:02,000 It's not a big problem because we gotta minimize this container smaller, but just to let you know. 01:23:02,000 --> 01:23:11,000 If you want, you can always say to a certain container to click through. If you enable click through. 01:23:11,000 --> 01:23:16,000 Then you can click through the container. And you can go behind. And be on another container. You got it? 01:23:16,000 --> 01:23:29,000 This is kind of important sometimes. When you work with multiple containers sometimes You wanna just click through. 01:23:29,000 --> 01:23:44,000 One container so that you can interact. With the one below. Yeah, behind. Okay, so for the moment we want to meet that because we gotta create the a smaller layer out there for this one. 01:23:44,000 --> 01:23:56,000 So we're gonna add the our 1280 divided by 5 And then 7 20 divided by 5. And it's behind there. 01:23:56,000 --> 01:24:09,000 Don't see it. So I'm gonna enable the border be visible. So I go inside the book page, how do I look and I enable all the borders. 01:24:09,000 --> 01:24:20,000 And then I might wanna connect it again with the parent in children. So the parent would be. My visual one. 01:24:20,000 --> 01:24:30,000 So now this goes in the position of visual one. And if I want to move it on the right side, I can go with layout. 01:24:30,000 --> 01:24:35,000 And then I go 100. 01:24:35,000 --> 01:24:43,000 Too much. Yeah, that's should be okay. 960 pixels on the right. 01:24:43,000 --> 01:24:49,000 Oh, starting from. 01:24:49,000 --> 01:24:55,000 No, as we did for, as we did for. 01:24:55,000 --> 01:25:05,000 Just minimize this as we did for the others, you know what, maybe I changed the name of this project one into visual number 5. 01:25:05,000 --> 01:25:20,000 Because I prefer to have the same name So, visual 5. Not before we short 5. And I already parented with the previous one. 01:25:20,000 --> 01:25:33,000 I just need to add some. Input and output inside the container but this is Kind of different as you can see we have. 01:25:33,000 --> 01:25:41,000 It was another day, so another project we have, a panel that selects you one B. 01:25:41,000 --> 01:25:50,000 A panel that just takes the select. So now we want to use. In. 01:25:50,000 --> 01:25:59,000 So what we're gonna do, we're gonna create the Yeah, we're gonna create the in here. 01:25:59,000 --> 01:26:03,000 And then I select the 01:26:03,000 --> 01:26:11,000 And we can select the UNV again. You space B. 01:26:11,000 --> 01:26:21,000 And then we can use the same in. And below with meet and click, yeah, we create another selector. 01:26:21,000 --> 01:26:28,000 And we can. Choose. To select the app. 01:26:28,000 --> 01:26:44,000 There is not the challenge. So here we can add it. The in the And then in this second select, we can isolate the select channel. 01:26:44,000 --> 01:26:58,000 And then have it here. So this would be. Another way not to have instead of 2 panels just one panel And then you have 2 selects, one for the UNB, the other one for the select. 01:26:58,000 --> 01:27:02,000 So that now if I connect my 01:27:02,000 --> 01:27:25,000 Input coming from Here. I will probably be able to orbit around the the 3D. Using the container here okay so similar to what we did before just that here we have created a specific logic. 01:27:25,000 --> 01:27:40,000 Separate the UNB and the select. And the other thing we have to do we need to output This visual so that, we can get it from, here. 01:27:40,000 --> 01:27:53,000 And we can connect these to the switcher. And the last thing last we have to do, we have to take the The logic that is making the switch. 01:27:53,000 --> 01:27:57,000 So we can copy this. 01:27:57,000 --> 01:28:04,000 2, 3, no, sir, they select now and the shop execute. We're gonna go in visual 5, which is the 3D. 01:28:04,000 --> 01:28:17,000 And then we need to Fine, the panel. This one where we can. Paste and then it automatically connects to the panel. 01:28:17,000 --> 01:28:25,000 Again, I'm not taking it from the container. Select I'm taking it. From the company, from the premium. 01:28:25,000 --> 01:28:38,000 So I'm taking it from this panel shop which is connected to visual number 5. Good thing. So what I need to do, I need to switch to the 01:28:38,000 --> 01:28:42,000 Treaty set up but 01:28:42,000 --> 01:28:52,000 Visual. Which is index number 4. 01:28:52,000 --> 01:28:58,000 So now if I click here, this appears there. 01:28:58,000 --> 01:29:07,000 Obviously needs to be attached to the switches so you need to have the out going out and then going to the switch. 01:29:07,000 --> 01:29:16,000 And then the switch is changing index. As I'm clicking here, you can see the index changing. 01:29:16,000 --> 01:29:21,000 Okay. 01:29:21,000 --> 01:29:34,000 Something I wanted to tell you. Because we are talking about the buy them now and Sometimes it might happen. 01:29:34,000 --> 01:29:42,000 That you want to Feel there a number. Okay. 01:29:42,000 --> 01:29:48,000 Filter means now you know fitter is like I don't know if you have. 01:29:48,000 --> 01:29:55,000 2 movie file in. One is the banana, the other one is the 01:29:55,000 --> 01:30:14,000 Smiling and you want to Let's use a cross. And you want to cross among this 2 case across the So if you wanna do with the through Python. 01:30:14,000 --> 01:30:22,000 I usually do like this. And you can, follow this suggestion. So again, I do just an example here that like the start example. 01:30:22,000 --> 01:30:34,000 So that you have it. Separate it and I'm gonna use the text that's like this. 01:30:34,000 --> 01:30:47,000 Keeps like your head. And I want to to cross this solve these 2 images from banana to the smiley. 01:30:47,000 --> 01:30:55,000 Bye, I'm not the pro. Invited so I'm gonna use a combination of Python script. 01:30:55,000 --> 01:30:59,000 And filter shop. 01:30:59,000 --> 01:31:06,000 So how to do that? I mean, you can use a constant job. 01:31:06,000 --> 01:31:14,000 Right. The value going from 0 to one. If I expand this, I have the name in Python. 01:31:14,000 --> 01:31:22,000 Of the name of the child and of the value of the channel valued 0 because the first one in the array. 01:31:22,000 --> 01:31:28,000 Okay, so I can connect the filter here. 01:31:28,000 --> 01:31:38,000 And then I can connect the An So now this constant job is 0. 01:31:38,000 --> 01:31:43,000 And if I connect the mall. To my cross. 01:31:43,000 --> 01:31:54,000 And I go to One. Then the filter does the cross default, right? It filters down. The number. 01:31:54,000 --> 01:32:11,000 So usually, That's my favorite. Way is to is to use Python just to write 0 or one or to write a specific number. 01:32:11,000 --> 01:32:20,000 And then use shops. To feel that down that number. So I'm gonna use the Oh, 01:32:20,000 --> 01:32:26,000 And I need to put the name of the operator. Constant one. Probably I also put the Absolutely. 01:32:26,000 --> 01:32:37,000 Project one, flash. Constant Bond. Project one, sorry. 01:32:37,000 --> 01:32:48,000 And then I go on parameter. Valued 0 so It's dot per dot. Valued 0. 01:32:48,000 --> 01:32:58,000 And then I say equal to One. So if I If I want to test it, I do right-click. 01:32:58,000 --> 01:33:03,000 Run script and this works. 01:33:03,000 --> 01:33:13,000 Okay, so I can bring it back to 0. And then run script. This goes change the value. 01:33:13,000 --> 01:33:28,000 Off the constant one and the field filters down. That 0 one. And you can choose how many seconds you want the filter to be 2 s, 3 s. 01:33:28,000 --> 01:33:37,000 And then when you hit The run's creep then. You see it's gonna move from. 01:33:37,000 --> 01:33:47,000 1, 0 in 3 s. Actually, these are also 2 different solutions. This is not good. 01:33:47,000 --> 01:33:56,000 So let's just use a fit. To make it. And we use a 1280 by 7. 01:33:56,000 --> 01:34:01,000 So it's the same for a solution. 01:34:01,000 --> 01:34:10,000 And then you hit run script. So that's very important. Somehow for me because 01:34:10,000 --> 01:34:26,000 It really enables you to create some Python logics and then also filter down your your 0 one is sometimes can be used for example when you want to change the level of capacity. 01:34:26,000 --> 01:34:44,000 Officer then operator. I know you want to feel the right there. Of course you can do it through the script, but you can also easily do it by adding a chalk and I did a field third show. 01:34:44,000 --> 01:34:54,000 So this I leave it here as an example. This gonna be the weep, file. Oh, if you have other. 01:34:54,000 --> 01:35:09,000 Questions. Go through. It's 7 30 we can Keep doing the other 3 visuals. So we're gonna go take the Tourist twist. 01:35:09,000 --> 01:35:17,000 This one, This one is the total twist. I can copy it. 01:35:17,000 --> 01:35:27,000 And then I can go on my Fine and paste it. 01:35:27,000 --> 01:35:38,000 And this again is like big. So I want to reduce it in size. And I wanna reduce it by. 01:35:38,000 --> 01:35:50,000 Going into with and pipe. And add my divided 5 5 01:35:50,000 --> 01:36:04,000 Is French keyboard. Great. And then one I divided by 5, I have it there. Those are actually not the border. 01:36:04,000 --> 01:36:14,000 Inside the usual. We might want to So now I want to lay out this little thumbnail. 01:36:14,000 --> 01:36:17,000 Together with 01:36:17,000 --> 01:36:30,000 Together with the other actually if you want at this point you can use The visual number 5 and parent it to visual number 4. 01:36:30,000 --> 01:36:36,000 Okay, it's gonna go in the position of the visual number 5. And then from there you can go down. 01:36:36,000 --> 01:36:43,000 160 pixel. And there you have. So it really depends. It's up to you. 01:36:43,000 --> 01:36:53,000 You can connect it to the first part or to the or to one of the child. If you feel more confident with that. 01:36:53,000 --> 01:37:04,000 And then yeah, you have to add the input and output. So maybe I'm gonna just make this smaller. 01:37:04,000 --> 01:37:14,000 And then, change the name into Visual 6. 01:37:14,000 --> 01:37:21,000 And then I might wanna. Add. 01:37:21,000 --> 01:37:27,000 The Final shop coming from. 01:37:27,000 --> 01:37:33,000 Coming from outside so I add the in 01:37:33,000 --> 01:37:36,000 And then I add the select. 01:37:36,000 --> 01:37:40,000 So I can select. 01:37:40,000 --> 01:37:48,000 You. Space B. 01:37:48,000 --> 01:37:51,000 And. 01:37:51,000 --> 01:37:59,000 And in the same way I want to add a select so middle click select And here I want to select. 01:37:59,000 --> 01:38:13,000 The channel. Select. Which as you can see is not. Because the spanner shop doesn't have the select but I can always add it. 01:38:13,000 --> 01:38:21,000 Now that I have the select afterwards, I can. Use just one panel shop and then I can connect this. 01:38:21,000 --> 01:38:34,000 Through the filter, the light. The previous banner shop now if I connect my panel shop coming from this container. 01:38:34,000 --> 01:38:42,000 It's gonna substitute. And then I can orbit. Around the 01:38:42,000 --> 01:38:51,000 I can orbit around the the visual. 01:38:51,000 --> 01:39:04,000 Oh yeah, this was the usual number. Alright, and we need to add output so I'm gonna add here an So that it enables here an outlet. 01:39:04,000 --> 01:39:17,000 That I can click. And connect there, right? So now, I wanna take this logic we did in Python scraped. 01:39:17,000 --> 01:39:24,000 Okay, so this is select now and the shop execute. I wanna copy it. 01:39:24,000 --> 01:39:36,000 And now I wanna go inside my Visual 6 and as you can see here we have a base one So that's good that we created the absolute path. 01:39:36,000 --> 01:39:49,000 Because now we are inside. Visual 6 base one, if it was relative we would have have to have dot dot slash dot dot slash Switch one. 01:39:49,000 --> 01:39:59,000 But now here I have Oh actually I don't need to place it at this level. Yeah, I'm stupid. 01:39:59,000 --> 01:40:09,000 I need to place it at this level because it's here. I have the panel. Alright, when I click I have the selector. 01:40:09,000 --> 01:40:21,000 So I can just paste it here. And then when I click I need to go the visual Pretty set up. 01:40:21,000 --> 01:40:27,000 Twist 01:40:27,000 --> 01:40:31,000 And it should be at position 5. So if you place 5 there and you test it, then it works. 01:40:31,000 --> 01:40:43,000 Then you see that the rectangle, I can remove it from the visual because it's kind of. 01:40:43,000 --> 01:40:55,000 And it's inside that here. So yeah, it's this rectangle. So we can delete both the rectangle and be over. 01:40:55,000 --> 01:40:59,000 So that becomes like that. 01:40:59,000 --> 01:41:13,000 Easier. And if you want to make some changes, you can change the. The line with make it larger. 01:41:13,000 --> 01:41:23,000 Pop through you. So you can make some modifications. To the file if you want later on. 01:41:23,000 --> 01:41:27,000 So now we lay out it on this. 01:41:27,000 --> 01:41:36,000 And you can begin. Choose. Other visuals that's Close it up with. 01:41:36,000 --> 01:41:43,000 The last 2 were the sound reactive. The usuals. So we're gonna open. 01:41:43,000 --> 01:41:47,000 Then the number 01:41:47,000 --> 01:41:51,000 Oh. 01:41:51,000 --> 01:42:02,000 I don't remember. Which one was? 01:42:02,000 --> 01:42:14,000 I don't remember where I need to check. 7, 01:42:14,000 --> 01:42:19,000 Yeah, this was one of the 2. 01:42:19,000 --> 01:42:24,000 Which we can use. 01:42:24,000 --> 01:42:36,000 If you wanna stop. Playing it, you can click this cooking on and off. Oh, actually if you minimize the window it's gonna go cooking off. 01:42:36,000 --> 01:42:43,000 And the other visual. Hi, I wanted to take is the 01:42:43,000 --> 01:42:47,000 Sound, 01:42:47,000 --> 01:42:52,000 A sound reactive particle so 01:42:52,000 --> 01:42:58,000 Probably. To the number 4. 01:42:58,000 --> 01:43:06,000 Yeah, this one. That's 0 4 sound reactive party. So. So I'm gonna share with you. 01:43:06,000 --> 01:43:11,000 In the chat, the number 4, 01:43:11,000 --> 01:43:21,000 Obviously you can find it online and then number 7 Instanting the sound rack, you've all known this grid box. 01:43:21,000 --> 01:43:28,000 So these are the other 2. That we can include it there. Beer file. 01:43:28,000 --> 01:43:39,000 It's true that we are repeating the same. Over and over but he's good because like this it remains in press. 01:43:39,000 --> 01:43:47,000 In your mind. We minimize this. We paste. The P one here. 01:43:47,000 --> 01:43:55,000 My frame rate is starting to go down. That's probably because I'm visualizing all these. 01:43:55,000 --> 01:44:01,000 Output and they are all up. 01:44:01,000 --> 01:44:06,000 Yeah, this won't change much. But if I close this and this, this goes back to 60. 01:44:06,000 --> 01:44:18,000 So that's designer now is in this new method of. Cool King, good. So if a visual is visible, it means that all the container is cooking. 01:44:18,000 --> 01:44:32,000 So. For example, if all these visuals are visible then your frame rate goes down. Because that's designer is executing all these visuals. 01:44:32,000 --> 01:44:41,000 So even if I hide them, they are visible here. No, but for example. I'll show you that. 01:44:41,000 --> 01:44:47,000 If you don't. Have this. Review. 01:44:47,000 --> 01:44:53,000 You still are running 30, 40 frames per second, but if you hide them. So if you select them and then you say hi, the viewer, this goes back to 60. 01:44:53,000 --> 01:45:16,000 It means that he's not cooking. Is, containers. Okay, so. That's obviously something that the you can decide that's why I put the hide all the premium bottom later. 01:45:16,000 --> 01:45:22,000 So that you can, if it disturbs you, if it goes very slow, you can always pose. 01:45:22,000 --> 01:45:30,000 We software and you can work even if it's in files. 01:45:30,000 --> 01:45:41,000 Now what we do, we do like the other visual with it. Reducing the resolution. 01:45:41,000 --> 01:45:54,000 Just with, dividing it by 5. And then we can connect to. Let's add the border or their A or their A or their A. 01:45:54,000 --> 01:46:05,000 That's there and we can then connect it to the the visual number 5. Which is this one and bring it down. 01:46:05,000 --> 01:46:10,000 200 320 peaks. 01:46:10,000 --> 01:46:22,000 And then we need to add the same logics. That we had that before so we can call it the The usual 7. 01:46:22,000 --> 01:46:38,000 And add inside the Oh Oh, okay, so this visual. It has. No panel chopper, it has the sound reacting. 01:46:38,000 --> 01:46:50,000 So what we can do, we can probably take this out. And put the in. Yeah. So we're gonna control X this. 01:46:50,000 --> 01:46:59,000 3, out of filing out the analysis and the by south. We can control the X. Go one level above. 01:46:59,000 --> 01:47:11,000 Control B. And then we can connect the audio analysis back there. So that's. So that's how we can have like. 01:47:11,000 --> 01:47:15,000 One audio. 01:47:15,000 --> 01:47:22,000 That can then. Be funneled in 2 different. Visual from 10. 01:47:22,000 --> 01:47:34,000 So this is gonna receive the audio analysis. With the input coming here in chop. And the audio analysis will then. 01:47:34,000 --> 01:47:42,000 Selected and distributed to all the effects. And then the other thing we want to add is the logic. 01:47:42,000 --> 01:47:52,000 That comes from the puddle. Of the visual, which we don't have here. Because we have all the parameter. 01:47:52,000 --> 01:48:04,000 So we can add the a pan of chocolate inside our sound reactive visual and And then we can add the those. 01:48:04,000 --> 01:48:16,000 Notes that we created. With the top executes or these ones. That are inside the usual number 6 we can control See? 01:48:16,000 --> 01:48:28,000 So copy. And then you go. Here and you face. And it automatically collects the panel. 01:48:28,000 --> 01:48:40,000 And then we can say we want to switch top to The Sound. 01:48:40,000 --> 01:48:56,000 Oh, reactive. Which is a Number 6. But also we need to outlet this. 01:48:56,000 --> 01:48:59,000 Again, so here we can say out. 01:48:59,000 --> 01:49:10,000 I'm gonna also remove the borders, like the rectangles here. Yeah. 01:49:10,000 --> 01:49:18,000 And then. We have the output. Or we can connect it to the switch. 01:49:18,000 --> 01:49:34,000 That means Zoom. So now if I click here, I switch to the Number. Index number 6, our visual is the 7. 01:49:34,000 --> 01:49:42,000 Okay 01:49:42,000 --> 01:49:56,000 And just in case. To finish up the US interface we can add the last usual. It is. Like this one. 01:49:56,000 --> 01:50:05,000 So this one is 0 7 instances sound reactive. I'll get all it's 3 box so you can copy the entire container. 01:50:05,000 --> 01:50:13,000 Again. Go in our. You complex file and paste it and then it's gonna appear. 01:50:13,000 --> 01:50:24,000 4 screen, 1280 by 7 20. No problem. First of all, we gotta reduce this. Like 5. 01:50:24,000 --> 01:50:27,000 My 5. 01:50:27,000 --> 01:50:37,000 That's gonna go there. We can visualize the border. 01:50:37,000 --> 01:50:50,000 And then we can connect the parent and child, usual 5. So this one. And it's gonna go on the position of the visual 5 and we can bring it down from that position. 01:50:50,000 --> 01:51:07,000 That here. Going to Minus 480. And now, other things to do or Changing a name. 01:51:07,000 --> 01:51:30,000 2. Visual position it. This is just You can also leave it in that position and then what we need we need to have The same audio analysis coming from there. 01:51:30,000 --> 01:51:42,000 Okay, so this audio analysis is not visible because it's display is off. Okay, but if you turn on the display, this gonna appear there, but we don't need it. 01:51:42,000 --> 01:51:49,000 So we need to add the input. Inside our. 01:51:49,000 --> 01:51:56,000 Here so we can remove this actually we can delay this 01:51:56,000 --> 01:52:00,000 And we can add a in shop. 01:52:00,000 --> 01:52:08,000 And connect it to our null. And then, we have to connect the input. 01:52:08,000 --> 01:52:17,000 To the audio analysis output. And then this goes inside. So both visual are controlled from the same algorithm. 01:52:17,000 --> 01:52:30,000 Which means that if you changes out your file into audio devices. Then it's gonna go not for both of them. 01:52:30,000 --> 01:52:52,000 The last thing last we have to do we have to copy That logic with the panel. That we can take D from the previous summer active visual copy the entire line and go inside our individual and somewhere. 01:52:52,000 --> 01:52:59,000 Paste it maybe Yeah. 01:52:59,000 --> 01:53:03,000 There, here. 01:53:03,000 --> 01:53:14,000 So now, if I click on this, I'm gonna have the selector. Yeah And I need to say. 01:53:14,000 --> 01:53:31,000 Sh to the Second. Sound, which is in index number 7. Hey, so now if I click the Nothing works. 01:53:31,000 --> 01:53:35,000 Number 7, are we sure? Yeah, you should. Right. 01:53:35,000 --> 01:53:44,000 You see, I am on Dexter 7, but I didn't connect my output. 01:53:44,000 --> 01:53:56,000 So I need to add out. And I need to connect something to the switch because the switch is on index number 7. 01:53:56,000 --> 01:54:04,000 It's fine correctly click here. The switch goes to index number 7. But as there are now. 01:54:04,000 --> 01:54:14,000 No input attached to the 7, then it takes the last one. But if I attach my input and then pops right there. 01:54:14,000 --> 01:54:24,000 So I just needed to attach. To connect the outlet to the switch. And now it's fun. 01:54:24,000 --> 01:54:43,000 So, for many of you this might be heavy because for me is already going at 30, because it's visualizing all the preview I mean, this I did it because I wanted to show you. 01:54:43,000 --> 01:54:54,000 That you can also use the container and transform them into buttons. But now we can create some, bought them directly. 01:54:54,000 --> 01:55:03,000 In touch designer. So if you remember. We saw this in the past if you go in the comp section. 01:55:03,000 --> 01:55:11,000 You have buttons and sliders. Thank you can add here. So we're gonna start by adding a button. 01:55:11,000 --> 01:55:25,000 And, we want to have. A bottom that the hide or the preview. So we're gonna start first of all to define, how big is the bottom. 01:55:25,000 --> 01:55:32,000 Just let me check. It's like you say go faster. And check that I mentioned my placed here. 01:55:32,000 --> 01:55:42,000 170 by 60 to 20 by 41 other than 70. 01:55:42,000 --> 01:55:53,000 We went. By 60 in height And then we can place it that. 3 20. 01:55:53,000 --> 01:56:03,000 Okay. 6. One it to be aligned but it's not. 01:56:03,000 --> 01:56:22,000 65. And then we can call that bottom. Without making it. I don't know how much time We can make this button, we can call it the I the all review. 01:56:22,000 --> 01:56:33,000 And also you remember last time we created, our own custom bottle. So you can check again that. 01:56:33,000 --> 01:56:44,000 If you want to do more custom bottom, let me know. But basically, if you just want to change the phone and the size of the phone and use the standard bottle. 01:56:44,000 --> 01:56:53,000 That's okay. Also, like if you go over a certain, font size. No worries because, this is in out of it. 01:56:53,000 --> 01:57:11,000 So even if you go over. It's going out of it. So it's just, and what we just want to do today is to understand the logics of fighting with the shop execute. 01:57:11,000 --> 01:57:19,000 So we're gonna create a new here so that when we press the bottom We want to hide on the preview. 01:57:19,000 --> 01:57:24,000 And when we. Click again and go to 0. We want to show them again. 01:57:24,000 --> 01:57:39,000 So what we're gonna do now, gonna connect. Shop executes to this shop. And so we go right click that shop execute and we place it. 01:57:39,000 --> 01:57:50,000 And this top execute, we need the to that, one that goes from off to one and a second one that goes from on to off. 01:57:50,000 --> 01:57:59,000 So we gonna first of all enable that. From the parameters of one. And off to and on to. 01:57:59,000 --> 01:58:12,000 We will clean up the code. The script here so we can remove this. Remove while on remove value change and while off and keep only these 2. 01:58:12,000 --> 01:58:17,000 And make some space in between. 01:58:17,000 --> 01:58:35,000 I make some space inside the The death and then here. What we wanna do, we want to, display of All the On the preview, right? 01:58:35,000 --> 01:58:43,000 So to display off for the preview. As we use the parent and child, we just need to display off. 01:58:43,000 --> 01:58:47,000 The main part, visual one. 01:58:47,000 --> 01:58:54,000 And then as they are all connected as children, they will all display off. 01:58:54,000 --> 01:59:14,000 Right? So if we just say. Hey, in Python, say operator. Absolute path to arrive to visual one so slash project one slash visual one parameter out the parameter is called display. 01:59:14,000 --> 01:59:29,000 So that's easy. I guess. If you Remember the syntax. And if you don't just, Do we again and again until you remember it. 01:59:29,000 --> 01:59:41,000 Oh, Open close brackets and then close and then you go back one. And then inside you type the absolute path for the operator. 01:59:41,000 --> 01:59:52,000 Which should be slash. Project one. Slash what was the name of the operator. Visual one. 01:59:52,000 --> 02:00:00,000 Which is the name that we gave. So visual one. And then I want to go on the parameter display. 02:00:00,000 --> 02:00:13,000 So I say dot. Bar dot display. Equal. To, when I click it, I want display to go to 0. 02:00:13,000 --> 02:00:21,000 Right? And then I copy this line of. Text it and I paste it. 02:00:21,000 --> 02:00:27,000 In the off on to offer. And I say display what. 02:00:27,000 --> 02:00:37,000 So now when I click this button All the review are disappearing and when I click it back, they are reappearing. 02:00:37,000 --> 02:00:41,000 Okay. 02:00:41,000 --> 02:00:53,000 So. The first thing that you might understand about Python and that is kind of difficult to achieve it. 02:00:53,000 --> 02:01:05,000 Through the chops. Is that you can. On the same parameter of a certain operator. From different, Logics, right? 02:01:05,000 --> 02:01:19,000 So You have different containers and they all go and they re update the index value of this switch If you do it with chops, it's completely a different approach. 02:01:19,000 --> 02:01:28,000 Now you have to do everything inside the logics. And then there is one null. Going into the index. 02:01:28,000 --> 02:01:45,000 So Python kinds of make your life easier because You basically this parameter is still manual. Now you can still change it mildly but you can still only the with the scripts. 02:01:45,000 --> 02:01:49,000 So that's very good. 02:01:49,000 --> 02:01:54,000 The second thing about. Python is that you can. 02:01:54,000 --> 02:02:00,000 And that's this way we'll see it now. Now we want to use. 02:02:00,000 --> 02:02:04,000 We want to use, for example, 02:02:04,000 --> 02:02:15,000 A button here to maximize this window and to make it almost Cool screen. But not exactly full screen. 02:02:15,000 --> 02:02:22,000 Cause the rest we're gonna like we need to lay out it. Take care about mouth on the buttons. 02:02:22,000 --> 02:02:31,000 So we can add the second bottom. Here just by Copy pasting. The previous one. 02:02:31,000 --> 02:02:41,000 And I usually just Copy paste the dial line. Okay, then we take the second bottom. 02:02:41,000 --> 02:02:45,000 We call it, I don't know, Maximize, 02:02:45,000 --> 02:03:01,000 Capital letter maximize window. And we can move it. A bit on the on the right. Okay, can also make it larger if you prefer. 02:03:01,000 --> 02:03:05,000 Awesome. 02:03:05,000 --> 02:03:14,000 So maximize window. Will only appear If I hide the preview. Okay, let's make this logic. 02:03:14,000 --> 02:03:20,000 So we can add the Python script. 02:03:20,000 --> 02:03:33,000 In our bottom 5 or the preview. That says to maximize window to appear. When I click on and disappear when I click off. 02:03:33,000 --> 02:03:44,000 So let's try to do that. And it's pretty easy. So the height of the preview is bottle one and maximize window is bottom. 02:03:44,000 --> 02:03:55,000 2. So what we can do just to get faster and also this open close back once, quotes back once. 02:03:55,000 --> 02:04:06,000 And there we go. Project one. Slash bottom 2 Which is the bottom of maximized window. 02:04:06,000 --> 02:04:10,000 Dot dot dot display. 02:04:10,000 --> 02:04:19,000 And then you say equal one because we want the button to appear when we click hide order review. 02:04:19,000 --> 02:04:28,000 And then we copy paste this line and we say displayed 0. So now if I click here. 02:04:28,000 --> 02:04:32,000 The maximized window appears if I 02:04:32,000 --> 02:04:38,000 Okay, again, it disappears. So that's also how you could. 02:04:38,000 --> 02:04:46,000 That creates Buttons that are disappearing and appearing or some menus that are appearing and disappearing. 02:04:46,000 --> 02:04:58,000 Based on other buttons. Okay. Now we want to use this bottom maximize window to make this window bigger. 02:04:58,000 --> 02:05:07,000 So first of all, we gotta Clean up the shop execute. From these 2 lines of 02:05:07,000 --> 02:05:16,000 That were the one before. And then we go to our container one, which is actually, yeah, this container here. 02:05:16,000 --> 02:05:21,000 Where we have the width and height. 02:05:21,000 --> 02:05:29,000 So actually now if we are using a Python We might wanna use, yeah, everything. 02:05:29,000 --> 02:05:33,000 In here so 02:05:33,000 --> 02:05:47,000 So this is. Okay. In this position is 640 by 360. And, it's, I'm correct at the top, minus 30. 02:05:47,000 --> 02:06:04,000 So let's imagine we want to go. Let me check the resolution like this week down for this time. 02:06:04,000 --> 02:06:09,000 1048 by 500. 02:06:09,000 --> 02:06:17,000 So if we try. To place this numbers 1048 by 02:06:17,000 --> 02:06:23,000 Bye-bye. That's too much. 02:06:23,000 --> 02:06:29,000 So usually what I do, I define the height. 02:06:29,000 --> 02:06:37,000 550. And then I do. Proportion. 02:06:37,000 --> 02:06:47,000 This is something that helps me throughout my life. This. 02:06:47,000 --> 02:06:54,000 1 80. Lance at 7 20. 02:06:54,000 --> 02:07:08,000 Like, stands 2. Bye-bye. 50. Okay, so this thing that you learned in the high school. 02:07:08,000 --> 02:07:11,000 X equal 02:07:11,000 --> 02:07:18,000 1280 by 550 02:07:18,000 --> 02:07:24,000 Multiplied. By 5 50. 02:07:24,000 --> 02:07:28,000 Divided by 7 20. 02:07:28,000 --> 02:07:35,000 This is something that when you work with resolution It's always very, very useful. So keep it in mind. 02:07:35,000 --> 02:07:45,000 You don't need to do it in paint and doing it. To show you what you. Probably need to do is to use the calculator. 02:07:45,000 --> 02:07:55,000 So we're saying 1285 550 Hey, go divided. Bye 7 20. 02:07:55,000 --> 02:08:04,000 900. 7,778. This is to not lose the proportion. Do not stretch it, you know. 02:08:04,000 --> 02:08:11,000 To have always the 16 by 9 proportion. So now these 2 numbers. Are the numbers I want to have when I maximize my window. 02:08:11,000 --> 02:08:18,000 When I make it big. 02:08:18,000 --> 02:08:30,000 So what I start to do, I start to check what are these. Weight and height so but they are called in Python W. 02:08:30,000 --> 02:08:36,000 And age. Okay, this is container one. Okay, let's start. Pipe it down. 02:08:36,000 --> 02:08:48,000 So operator. Open closed brackets back once quotation back once and then I go. With the absolute path. 02:08:48,000 --> 02:08:52,000 Slash container one. 02:08:52,000 --> 02:09:06,000 Don't far. Dot tub. And I go I say equal. 978 Alright. 02:09:06,000 --> 02:09:10,000 Then I copy this line. 02:09:10,000 --> 02:09:22,000 I paste it and I say parameter age. And I say 550. Right? Now. 02:09:22,000 --> 02:09:27,000 These 2 lines, I want to bring them back. 02:09:27,000 --> 02:09:35,000 When I Click again also when I go from On to off I want to bring them back to 6 40 by 3 60. 02:09:35,000 --> 02:09:46,000 So I copy these 2 lines. I go in the depth of 2 on to off. And I say, I wanna go back to, oh, 640. 02:09:46,000 --> 02:09:56,000 By 360. So now if I Click. I can already check. 02:09:56,000 --> 02:10:00,000 This works, right? 02:10:00,000 --> 02:10:14,000 So this I can already keep it like this. Actually. And, other file you might find the many more. 02:10:14,000 --> 02:10:23,000 I don't know. I was not using the top and of course so I was using 02:10:23,000 --> 02:10:33,000 Yeah, I added like even other parameters. But he's not remaining the same. It's only the bottom icon is changing. 02:10:33,000 --> 02:10:42,000 Because I was using the bottom up or so. That's just the same thing we did, but with less. 02:10:42,000 --> 02:10:57,000 We in the whip version, we we needed less. Lines I would say yeah So the maximized window appears on the 02:10:57,000 --> 02:11:10,000 And but then if I do this and it's a So probably when I maximize the window, I also want the hide of the preview to disappear. 02:11:10,000 --> 02:11:17,000 So I'm gonna use the previous line here. 02:11:17,000 --> 02:11:22,000 And I can. 02:11:22,000 --> 02:11:27,000 Paste this and say bottle one. 02:11:27,000 --> 02:11:35,000 When I Click on it has to go off. 02:11:35,000 --> 02:11:38,000 So this one. 02:11:38,000 --> 02:11:43,000 Then when I click off, it has to go back up. 02:11:43,000 --> 02:11:50,000 That's why it's good to comment it. And to keep the like a bit of the description. 02:11:50,000 --> 02:11:57,000 So this. Change, dimension. 02:11:57,000 --> 02:12:02,000 Change layout I mentioned 02:12:02,000 --> 02:12:05,000 And this is like, 02:12:05,000 --> 02:12:12,000 I bought them. One. 02:12:12,000 --> 02:12:19,000 And then here I would say. Show. 02:12:19,000 --> 02:12:25,000 I mean you can add your own province. This is just to 02:12:25,000 --> 02:12:36,000 So if I maximize the window, I don't produce after years. Any if I click this then the maximize will disappeared. 02:12:36,000 --> 02:12:46,000 Okay, so sometimes it's better to remove, the buttons. Rather than disabling them. 02:12:46,000 --> 02:12:58,000 Keep in mind that the More you work with Python. And more you might need to use the text that to test your script. 02:12:58,000 --> 02:13:12,000 Cause for example, you can also act on the On these things. Or I'll show you so If you want to act and lock this. 02:13:12,000 --> 02:13:20,000 I might be saying, Operator fit one lock. 02:13:20,000 --> 02:13:26,000 Operator. It one. 02:13:26,000 --> 02:13:34,000 Dot lock. Equal one. 02:13:34,000 --> 02:13:41,000 Bryan's great. It's locked. Now you don't need to lock it. 02:13:41,000 --> 02:13:47,000 Often because lock is just to be locker. 02:13:47,000 --> 02:13:51,000 Movie 5 or 02:13:51,000 --> 02:14:03,000 But for example, bypass sometimes you might need to buy past something so you can bypass. And that again, Try it and it's working. 02:14:03,000 --> 02:14:11,000 At in the same way sometimes you might need to. Click on a bottom. Sorry, imagine you have. 02:14:11,000 --> 02:14:19,000 Third bottom, which is the one. Yeah. And if you want to click invite them. 02:14:19,000 --> 02:14:27,000 With the bottom on a bottom. That's something that can be handy. You just say, operator. 02:14:27,000 --> 02:14:31,000 Both on 3. 02:14:31,000 --> 02:14:43,000 Dot. It's a click. And then you use the. Yes. 02:14:43,000 --> 02:14:51,000 Yeah, it works. So as it's a goggle bottle every time you click, yeah, it goes from off to all. 02:14:51,000 --> 02:15:05,000 From So everything in touch designer can be. Intercepted it by the even all these. 02:15:05,000 --> 02:15:16,000 Even this, at all, at all the software. Then dial software can be. Tweaked, by using Python. 02:15:16,000 --> 02:15:28,000 But I mean. And the brothers the I'll show you a post where you understand that everything can be. 02:15:28,000 --> 02:15:32,000 Control of that. 02:15:32,000 --> 02:15:40,000 Oh, I get it. I remember that you were doing like, 02:15:40,000 --> 02:15:44,000 Stuff. 02:15:44,000 --> 02:15:49,000 It knows. 02:15:49,000 --> 02:15:53,000 Right. 02:15:53,000 --> 02:16:02,000 Okay. Alright. 02:16:02,000 --> 02:16:07,000 Let's find it. 02:16:07,000 --> 02:16:11,000 Maybe he posted on face, but. 02:16:11,000 --> 02:16:22,000 So basically, there was like, an example where all the nodes were moving around the and you can control the node position. 02:16:22,000 --> 02:16:32,000 But just Just need to start small. So this button here I just 02:16:32,000 --> 02:16:47,000 I just wanted to leave it there. Maybe I also displayed off. Sure well. But let's call it bottom 4, cause we need another button. 02:16:47,000 --> 02:16:56,000 You know, So if you run the script, it's gonna click on the bottom. Again, just to. 02:16:56,000 --> 02:17:06,000 Just for making an example of. Use Python and that's hide this button from the interface so you don't see it. 02:17:06,000 --> 02:17:10,000 And I would say. 02:17:10,000 --> 02:17:22,000 You can add the third bottom. He did not work. Yeah, we can add the third bottom. 02:17:22,000 --> 02:17:29,000 And call it, let's move it, and let, let's call it the 02:17:29,000 --> 02:17:36,000 Show. Oh, you. 02:17:36,000 --> 02:17:39,000 And controls. 02:17:39,000 --> 02:17:56,000 And then we move this but a bit on the left a bit on the right Sorry. 02:17:56,000 --> 02:18:08,000 Display off. Okay. So lay out the and we can move it the 02:18:08,000 --> 02:18:11,000 Be there. 02:18:11,000 --> 02:18:15,000 And make it shorter. 02:18:15,000 --> 02:18:22,000 Yeah, maybe I shouldn't have done this longer. 02:18:22,000 --> 02:18:27,000 Oh. 02:18:27,000 --> 02:18:34,000 Okay. 02:18:34,000 --> 02:18:41,000 There. And then we can. 02:18:41,000 --> 02:18:49,000 Line, yeah. Okay, yeah, so maximize window. 02:18:49,000 --> 02:18:53,000 5 peaks along the way. 02:18:53,000 --> 02:18:57,000 And then this last one. 02:18:57,000 --> 02:19:02,000 Actually, yeah, we hear we actually also. Copy paste it or the script. 02:19:02,000 --> 02:19:12,000 We don't want this. So show, show, show audio and controls. Okay, could be interesting to have. 02:19:12,000 --> 02:19:27,000 The audio channel visible. Coming from there so we can create an And we can visualize this audio channel in our interface with the operator viewer. 02:19:27,000 --> 02:19:40,000 So the difference between an operator you are a container is that the operator viewer Doesn't have The a click. 02:19:40,000 --> 02:19:49,000 You cannot. Thank you. Like, if I place a standard shop here. 02:19:49,000 --> 02:19:57,000 Ready? You see I have the inside. 02:19:57,000 --> 02:20:08,000 But I cannot click. This is because there is already a content that you can interact with. So. 02:20:08,000 --> 02:20:19,000 The operator viewer is very handy when you just want to visualize. Like an operator like, and then you can decide, how big. 02:20:19,000 --> 02:20:29,000 The window can be 200 by or 50 at the know, then we can add some borders. 02:20:29,000 --> 02:20:40,000 Or their A, or their A, or their A. And then sometimes it happens that the The borders are not perfect. 02:20:40,000 --> 02:20:49,000 And show you in a while that you just He said. 02:20:49,000 --> 02:21:00,000 Yeah. And you see that. If I go back on the Look for the borders. You see those in perfections. 02:21:00,000 --> 02:21:14,000 Sometimes the borders are Oh and the channel is not really visible you can always say order over and then. 02:21:14,000 --> 02:21:25,000 You have to. And, yeah, this is just to visualize the audio channel. 02:21:25,000 --> 02:21:36,000 So what you can do, you can show these controls, show this audio and controls. Well, once you click this. 02:21:36,000 --> 02:21:43,000 So open if you are, you can say display on the off. And we can create a set of. 02:21:43,000 --> 02:21:54,000 Sliders and buttons. Inside a container. So I'll just show you the result. 02:21:54,000 --> 02:22:07,000 What was this one? So here, this is our whip, which I might want to stay. 02:22:07,000 --> 02:22:19,000 So this one. To find that. So these. Block of sliders and bottles. 02:22:19,000 --> 02:22:28,000 I want to make it with you so to show you that is something that you can do. Later on. 02:22:28,000 --> 02:22:38,000 Taking your time and also. You can make your own customize the bottles and sliders. 02:22:38,000 --> 02:22:56,000 Okay. You don't need to like you can use these obviously there Nice, handy and but you can also make your own bottom like we did the previous lesson. 02:22:56,000 --> 02:23:10,000 But I wanted to show you how easy it could be to create the something like this and then you can make it like maybe with, I don't know, 8 slide, there's 8 buttons and you can lay out them. 02:23:10,000 --> 02:23:18,000 As you want, you can also make little bottles. Above the sliders. No, it doesn't matter how small you go. 02:23:18,000 --> 02:23:27,000 With, I mean with the part like we can always click on it. Even if it's very small. 02:23:27,000 --> 02:23:33,000 But if we don't do it, then you think, 02:23:33,000 --> 02:23:50,000 My thought the week. Yes, sure. I do it right now. I share the Weep. 02:23:50,000 --> 02:23:56,000 Yeah. This is the 02:23:56,000 --> 02:24:06,000 170 kB. And it includes all these visuals and all the logics that That's kind of. 02:24:06,000 --> 02:24:18,000 Right. So now what we do, we create this container So we're gonna use another container. 02:24:18,000 --> 02:24:21,000 Empty this time for the moment. But as it's empty and it's black, we cannot see it. 02:24:21,000 --> 02:24:28,000 So let's visualize the border. 02:24:28,000 --> 02:24:34,000 Order A, border 8. Murder. A, is there? That's position it. 02:24:34,000 --> 02:24:47,000 The In this part of the screen, I usually go. First with the X and Y. So I go. 02:24:47,000 --> 02:25:01,000 Whatever 540 and then why I go up 1 50 and then now That is positioned I can wait it I can go a bit. 02:25:01,000 --> 02:25:13,000 420 and then go down with the height. Because it's always On the left. Bottom left, it's encoded bottom left. 02:25:13,000 --> 02:25:20,000 So first you can move it and then you can slide it. Resize it. 02:25:20,000 --> 02:25:32,000 Okay, so then inside this I wanna start create my sliders and bottles. So I'm gonna start with creating I go inside. 02:25:32,000 --> 02:25:39,000 And I start to create a slider. Okay, and it's gonna appear here. 02:25:39,000 --> 02:25:49,000 So that's a horizontal slider. I wanted vertically. So I go and the slider type and I say slider V. 02:25:49,000 --> 02:26:08,000 And it changes the log, so it goes. Like that and that I need to change the weight and height before changing the width then i just place it at the I don't know, 5 pizza. 02:26:08,000 --> 02:26:17,000 In X and 5 pixel. And why so he's not exactly on the border. But as you can see is a bit. 02:26:17,000 --> 02:26:26,000 Like inside. So, and then you can change the. Oh. 02:26:26,000 --> 02:26:36,000 We editor for sure because it's too long and then the hide It goes up to One other than 40. 02:26:36,000 --> 02:26:49,000 It goes there. That's great. So we already created the first slider. And then just it's about, copy pasting. 02:26:49,000 --> 02:27:00,000 And also. Connecting, parenting this to this. And then the second slider. I move it into X. 02:27:00,000 --> 02:27:04,000 And I don't see it. 02:27:04,000 --> 02:27:12,000 That's because you cannot parent sliders because they appear to be one inside the other. 02:27:12,000 --> 02:27:21,000 No problem, we can do it manually. So we just move. 02:27:21,000 --> 02:27:26,000 40 in X. 02:27:26,000 --> 02:27:29,000 So keep in mind that this 02:27:29,000 --> 02:27:39,000 Thank you can do it. One time and then you can use the entire block. Again, in your other. 02:27:39,000 --> 02:27:46,000 Fine, no. So. 02:27:46,000 --> 02:27:58,000 Is that so difficult to. Create all these. See you just move them. How many 35? 02:27:58,000 --> 02:28:04,000 Because 30 I mean, you can also. 02:28:04,000 --> 02:28:19,000 You can also say You can also solve it with a Python expression, but we have Few slider so It doesn't really like you can do it with Python if you want. 02:28:19,000 --> 02:28:22,000 Let's say. 02:28:22,000 --> 02:28:34,000 Yeah, but it's not worth it. Like it's just the other few sliders. Very easy. 02:28:34,000 --> 02:28:46,000 So now we have. 1, 2, 3, 4. You can make other 2 sliders. 02:28:46,000 --> 02:28:51,000 It doesn't matter how you put them then. After this, we're gonna use the merge. 02:28:51,000 --> 02:28:59,000 And merge all they are output. Just now I'm just positioning them. 02:28:59,000 --> 02:29:05,000 So another 45 and then the last one would be. 02:29:05,000 --> 02:29:15,000 Morning, Let's imagine like this. And then we can start create some buttons. 02:29:15,000 --> 02:29:23,000 And then the bottom as you can see doesn't appear anymore in this. Part of the screen but in this container here. 02:29:23,000 --> 02:29:28,000 So the layout is 02:29:28,000 --> 02:29:38,000 Yeah, so 5 in Y. To bring it up and then you can move it. 02:29:38,000 --> 02:29:43,000 At, I don't know, 220. 02:29:43,000 --> 02:29:49,000 Or maybe we can go up 02:29:49,000 --> 02:30:03,000 On first let's define how high it is. They can create like. Buttons of any size. 02:30:03,000 --> 02:30:10,000 I don't know how many buttons you want and, do in the other previous one I was doing like. 02:30:10,000 --> 02:30:21,000 Not a lot, but in this one you're adding more. So. This is all manual but is not bad. 02:30:21,000 --> 02:30:29,000 Track is. And also like something fun about the that you select these 2. And then you copy paste them. 02:30:29,000 --> 02:30:43,000 And then you go on the on the why. Parameter and you go maybe down yeah, they both go down. 02:30:43,000 --> 02:30:51,000 And the other parameter I'm not changing. So this is really and like you can make. 02:30:51,000 --> 02:30:57,000 Another couple that bring them down. 02:30:57,000 --> 02:31:07,000 And then can do another. Yeah. How are they, this they go outside? 02:31:07,000 --> 02:31:17,000 So maybe just to make it correct. To bring it up to. 02:31:17,000 --> 02:31:30,000 F and make the height. So. Whatever these 2 buttons are slightly. Smaller. 02:31:30,000 --> 02:31:49,000 Let me 3 depends how much time you have to dedicate. To this layout. But then basically inside the container you only have all these components of sliders and buttons and then you use a merge job. 02:31:49,000 --> 02:31:56,000 And you merge all the outputs. So you select them all, you go on the first one, you click once, you zoom out. 02:31:56,000 --> 02:32:09,000 Zoom in on this on this merge and then click and they will get. Inside. Oh, and these 2 that are the smaller one, we can make them momentary. 02:32:09,000 --> 02:32:18,000 And this day they are different. And we can select the 2 of them and make them. Momentary bottom. 02:32:18,000 --> 02:32:22,000 So they just pause. 02:32:22,000 --> 02:32:27,000 While the other one you can toggle them. 02:32:27,000 --> 02:32:31,000 And also we can save also. 02:32:31,000 --> 02:32:39,000 Oh. 02:32:39,000 --> 02:32:43,000 And also type it there. 02:32:43,000 --> 02:32:54,000 And is our old dog. Dog. So now you have 2 momentary bottom. 6, 6. 02:32:54,000 --> 02:33:07,000 7 slider, 6, And of course I we don't have time to connect this, to, our visual effects. 02:33:07,000 --> 02:33:21,000 But it might be easy for some of them because if you remember we have created in the in our past the previous especially on the Yeah, some of these. 02:33:21,000 --> 02:33:32,000 Visual suite created some custom parameter. I don't remember of which one, but this one for sure. 02:33:32,000 --> 02:33:41,000 The 3D setup you have some custom parameter. So if you want, the first thing to do, you can already connect. 02:33:41,000 --> 02:33:51,000 Some of the sliders to some of these parameters. That are for example. Rotating is this here. 02:33:51,000 --> 02:34:03,000 Faster or slower. You know and then yeah you have like the from rendezvous. You can connect one of the buttons to the rendered torus. 02:34:03,000 --> 02:34:13,000 It's not difficult. It's really Same. These are all normalized value and these are also all normalized value. 02:34:13,000 --> 02:34:15,000 They go from 0 to one. 02:34:15,000 --> 02:34:25,000 And so you can just, you know, select the . One and connect it to What they sphere? 02:34:25,000 --> 02:34:31,000 You can both, you can use export shop and then if you are not happy you can just delay this. 02:34:31,000 --> 02:34:40,000 Text. You can connect even like I don't know the first button I just need to go. 02:34:40,000 --> 02:34:50,000 Select again this usual. You can select this. But Let's bring down all the sliders. 02:34:50,000 --> 02:35:03,000 This is bottom V 7 called. And I can connect it to render the tours. So now I just have this button that rendered the tourist And you know. 02:35:03,000 --> 02:35:09,000 Turns back and forth. Forward this. 02:35:09,000 --> 02:35:17,000 Okay, keep in mind this is very important that you keep in mind that the for this example to make it cool. 02:35:17,000 --> 02:35:28,000 We are visualizing all the project. Okay. But in a normal situation, instead of using the preview, You can use just the bottom. 02:35:28,000 --> 02:35:40,000 Now you can use like bottom like this. Or you can make a screenshot of what ever visual you want to you want to have. 02:35:40,000 --> 02:35:45,000 And maybe use the screenshot for the 02:35:45,000 --> 02:36:03,000 Because now that designer is cooking all the different. Containers okay not only not only the one visualized, but all the containers that are visualized. 02:36:03,000 --> 02:36:17,000 They are cooked. So in a normal in a in a more like yeah Instead of having the preview, you can have buttons. 02:36:17,000 --> 02:36:32,000 No, this type of. Right. And instead of using the containers as buttons you can keep the containers hidden and then have instead of these at the bottom here. 02:36:32,000 --> 02:36:41,000 And so when you you don't even need the panel because I mean, this one you need to interact with the contents. 02:36:41,000 --> 02:36:52,000 But yeah, you can substitute this with. Simple buttons. Something important that I always do since I'm a student. 02:36:52,000 --> 02:37:04,000 I always visualize the frame rate, the frame per second, the one I go and perform. Because you don't have to rely on the FPS when you are in editor mode. 02:37:04,000 --> 02:37:11,000 You have to rely on the frame per second when you are in performable. Sorry, I pressed that too. 02:37:11,000 --> 02:37:24,000 So F one or from the interface performance. The this is how you perform. You don't perform with the Open, okay. 02:37:24,000 --> 02:37:37,000 So here somewhere if you arrive to write down. The The FPS, this gonna help you in understanding if you are running. 02:37:37,000 --> 02:37:45,000 Fine. So to do that, you can start from, shop, you take perform. 02:37:45,000 --> 02:37:54,000 Perform shows you all the possible. Specs about your GPU memory use, daughter GPU memory. 02:37:54,000 --> 02:38:02,000 You see I'm using 800 MB and I have 5 GB. 02:38:02,000 --> 02:38:13,000 Or you can say GPU frame rate. But basically you just need to the FBS for how to visualize this FPS. 02:38:13,000 --> 02:38:21,000 Well, you could just easily make an open viewer and you can visualize it. The in your Not like that, but this is not nice. 02:38:21,000 --> 02:38:34,000 This is is not even visible because it's hidden behind. So I usually convert that into a text before. 02:38:34,000 --> 02:38:46,000 Before showing it. And to use it inside a text stop you have to pass through that. So you pass from from a job to that. 02:38:46,000 --> 02:39:16,000 And then you can use a text. And you can, use the that. Here inside the parameter that Obviously instead of having the derivative you can have the FPS space space and then you have the dot arriving you can make this smaller like 200 pixel by 100 pixel Even less. 02:39:16,000 --> 02:39:25,000 And then you can visualize this. Text operator. And you can use the operator viewer. Okay. 02:39:25,000 --> 02:39:30,000 So operator viewer can be. Connected to this one. And then you have to lay out this. 02:39:30,000 --> 02:39:36,000 200. 02:39:36,000 --> 02:39:47,000 By 100 and you have it small there. I also is like this borders to be visible. You can change the color of the borders. 02:39:47,000 --> 02:39:54,000 That's still too big. So we can also make it 100 by 50. 02:39:54,000 --> 02:40:04,000 And so we can do this 100 by 15. And make the font size. Smaller 02:40:04,000 --> 02:40:12,000 Okay. And then you can move the operator view where, let's say, 30, no. 30 peaks along the right. 02:40:12,000 --> 02:40:17,000 So now when I go and perform out. 02:40:17,000 --> 02:40:27,000 That's my actual FPS. And you see it's a bit struggling. Visualizing all the visuals together. 02:40:27,000 --> 02:40:38,000 Okay, but this is just to show you. That you can do anything. If you want them to substitute. 02:40:38,000 --> 02:40:44,000 And instead of having the visuals, you want to have buttons, you save a lot of space. 02:40:44,000 --> 02:40:55,000 Of course, you just need to remember. Which visual is which one? And maybe you can also help yourself with. 02:40:55,000 --> 02:41:04,000 I don't know. You can make a screenshot of the usual and then put it inside the thumbnail off the bottom. 02:41:04,000 --> 02:41:10,000 One can have just a note on the side. 02:41:10,000 --> 02:41:19,000 So now, Just to be sure that they said everything. This, Maybe we want to. 02:41:19,000 --> 02:41:28,000 I did it or it depends on you. You can do it. First. Show audio and controls. 02:41:28,000 --> 02:41:31,000 We can. 02:41:31,000 --> 02:41:42,000 So the audio and controls basically, container 2 is the controls. And the audio is operator viewer of viewer one. 02:41:42,000 --> 02:41:51,000 So giving that you go on your bottom show audio and controls just like. Visual license preview. 02:41:51,000 --> 02:42:00,000 And And then here you again. 02:42:00,000 --> 02:42:03,000 Operator. 02:42:03,000 --> 02:42:17,000 Rockets, boats. Oh, view where You were one. And per meter display. 02:42:17,000 --> 02:42:32,000 Equal one. Is to show. They are with you. Equals 0 to find that the audio And then you can just. 02:42:32,000 --> 02:42:49,000 Copy paste this and change the name of the operator into container. 2. Here I forgot to put the absolute part that so it's better and quoted like this we are consistent. 02:42:49,000 --> 02:43:01,000 Project one's dish. Slash project one slash Operator viewer. And then container 2 would be the controls. 02:43:01,000 --> 02:43:15,000 While, so this maybe I can do so. Commmented. Oh Show controls. 02:43:15,000 --> 02:43:22,000 Slide there's and buttons. 02:43:22,000 --> 02:43:36,000 And then this one will be show audio wave. All of you are. And then obviously here. 02:43:36,000 --> 02:43:41,000 I, both. 02:43:41,000 --> 02:43:46,000 So now if you click on that. 02:43:46,000 --> 02:43:58,000 It's up hearing a disappearing. And. I just wanted to show you that if you go F one. 02:43:58,000 --> 02:44:07,000 3 per second is heating 60 when it goes 61 60 it means that it can go even over it can go even like to 100. 02:44:07,000 --> 02:44:20,000 But it stops at 60. When you see flickering between 60 and 61 it means that it has power can go even to 120 if you want. 02:44:20,000 --> 02:44:33,000 But as soon as you show the preview. This goes to 5 55. 4. And this goes down even more when you attach a second monitor, a second projector. 02:44:33,000 --> 02:44:43,000 So imagine you have Now this is your control monitor, right? So it's what you see in your first monitor. 02:44:43,000 --> 02:44:51,000 Like your laptop let's say If you have a projector. I attached the second output. 02:44:51,000 --> 02:45:06,000 Then you might want to have a bottom that says open reaction open window. And this would be that here 02:45:06,000 --> 02:45:19,000 This is your final. Output which is visualized small inside your your control lighter. But this, which is, 1280 by 7 20. 02:45:19,000 --> 02:45:36,000 It can also go on a window, a window come is basically another window. You can connect this and you can say monitored 0 is the first monitor If you have a second monitor connected. 02:45:36,000 --> 02:45:46,000 To the HDMI output. That would be monitor one. And the Python command to open and close. 02:45:46,000 --> 02:45:58,000 The window is this open a separate window. This obviously I don't have as a second monitor so it won't open me the window. 02:45:58,000 --> 02:46:04,000 It will tell me, hey, look, you have a valid or invalid monitor in the specified. 02:46:04,000 --> 02:46:10,000 So if I want to see yet, I need to open it here. So I can show you that this works. 02:46:10,000 --> 02:46:19,000 Like that. Close, open. Close, open. Okay, and these are pulp. 02:46:19,000 --> 02:46:23,000 Okay, so this is the last thing. 02:46:23,000 --> 02:46:35,000 About Python today. Is that when you have a pulse bought them. The The comment in Python is dot pals open close brackets. 02:46:35,000 --> 02:46:43,000 It's a bit like the click. Or it was the click. This is dot-click-open close brackets. 02:46:43,000 --> 02:46:51,000 2 parts and about the use dot pals open close brackets. So we can create that another. 02:46:51,000 --> 02:47:01,000 A small bottom in this with, version which I'm gonna upload together with the with the standard. 02:47:01,000 --> 02:47:15,000 And we can use like the hide old preview button. Copy paste it and place it under and call it open window so just Perfect. 02:47:15,000 --> 02:47:26,000 So this I always keep it as a preview. So that I can go. Take the hide or preview button. 02:47:26,000 --> 02:47:37,000 And copy paste it. That would be. My My open window and I Bring it nearby. 02:47:37,000 --> 02:47:52,000 The open window. And I'm gonna Say open. Open win. And I'll bring it the Down. 02:47:52,000 --> 02:47:56,000 Whatever 5 and then make it smaller. 02:47:56,000 --> 02:48:03,000 Not too much. Okay. 02:48:03,000 --> 02:48:11,000 And. And this is a pulse button. So a pulse bottom. Needs a momentary button. 02:48:11,000 --> 02:48:20,000 Okay. So instead of using a toggle button, we're gonna use a momentary bottom. 02:48:20,000 --> 02:48:27,000 We're gonna use this none. So when we click on this, we want the window to open. 02:48:27,000 --> 02:48:35,000 This would be the window of the project, okay? The one that you attached to your second monitor, then you have to go monitor one. 02:48:35,000 --> 02:48:43,000 Just repeating that. So how to do this and buy them starting from the bottom. I would go and. 02:48:43,000 --> 02:48:57,000 That shop executes. And just use the off one. The, not the other ones. And just clean up the code from the comments from all the other deaf I don't need. 02:48:57,000 --> 02:49:07,000 And then you can type here. The common impact that you need. Which is, hey, go on the operator window one. 02:49:07,000 --> 02:49:15,000 So let's start from that. So we start by saying, Open close brackets, quotes. 02:49:15,000 --> 02:49:28,000 And we give the absolute path. Which is always better. It's always better in a way of working now because maybe you you classify to someone else. 02:49:28,000 --> 02:49:36,000 And this other person placed your shop execute somewhere in his network. So it's always better to have the absolute path. 02:49:36,000 --> 02:49:51,000 Window One. So this points on the operator window one and then the parameter that you want to pulse So the pulse buttons are these ones. 02:49:51,000 --> 02:49:58,000 These are instead the toggle button and you can identified 0 one you can say equals 0 equal one they turn on and off. 02:49:58,000 --> 02:50:04,000 While the pulse doctor they need to have a specific. 02:50:04,000 --> 02:50:13,000 Command which is first of all The parameter is called the As you can see here, I expand the parameter. 02:50:13,000 --> 02:50:23,000 Open a separate window. It's got green open. So here. I write dot bar. 02:50:23,000 --> 02:50:27,000 Dot win open 02:50:27,000 --> 02:50:37,000 This is a huge shortcut to this fact of having all the names in the parameter because in the past you had to go to open the Wikipedia. 02:50:37,000 --> 02:50:45,000 Fine to find these names. Isn't a huge shortcut. To learn how the parameters are called invited. 02:50:45,000 --> 02:50:53,000 And then in order to pulse it, you have to add the common dot pulse. Open close brackets. 02:50:53,000 --> 02:51:03,000 So this becomes yellow. And it's common. So now if I click. On this button, open window. 02:51:03,000 --> 02:51:17,000 Then this opens. Got it? You know so that you can do many cool stuff with, like opening window, closing them open like with timer shops. 02:51:17,000 --> 02:51:25,000 Oh, delayed shall I create like some window top opening randomly and they are closing and they are opening. 02:51:25,000 --> 02:51:37,000 You can you can really create any type of logic. With this simple, screen. The only yes. 02:51:37,000 --> 02:51:38,000 Yes. 02:51:38,000 --> 02:51:44,000 Yeah, a question on Windows. But windows are not in perform mode. You can only open one platform window, right? 02:51:44,000 --> 02:51:54,000 Yes. So the perform window is the one that you can open. If you go F one. 02:51:54,000 --> 02:51:59,000 Okay. F one or from. 02:51:59,000 --> 02:52:13,000 And then you can open the second window. So the performer is basically hiding the editor. 02:52:13,000 --> 02:52:14,000 Oh, good. 02:52:14,000 --> 02:52:20,000 Got it. So the editor just disappears. So you can also just do it once. The important is that the editor is not visible. 02:52:20,000 --> 02:52:31,000 And then you can open other windows. That now I don't have the second. Hdmi attached to it But. 02:52:31,000 --> 02:52:43,000 That's basically what you do. In every show or even installation. If you have a control monitor. 02:52:43,000 --> 02:52:53,000 You have this possibility to open and close the second. Window on the second monitor or on the projector. 02:52:53,000 --> 02:53:02,000 The only thing is that the by using this. The pulse button, we need to have a second bottom to close. 02:53:02,000 --> 02:53:08,000 So we just need to copy paste this entire thing. 02:53:08,000 --> 02:53:18,000 Always keeping an eye on the preview of the control. UI so we just need to create the second button with written close win. 02:53:18,000 --> 02:53:24,000 Okay, so we can close the win with the same method. So copy paste the entire thing. Move the bottom. 02:53:24,000 --> 02:53:29,000 First call it close. 02:53:29,000 --> 02:53:37,000 And move the button a bit on it's You're right, then you can make it better. 02:53:37,000 --> 02:53:48,000 And then you just Go on the parameter. Call the Wind close so you just change this 02:53:48,000 --> 02:53:58,000 Little thing when open becomes wind close. And then it's dot pulse. To pass on the. 02:53:58,000 --> 02:54:09,000 So basically now from the UI. Controls and I can also save this and say F one. If I open the window, it opens here. 02:54:09,000 --> 02:54:20,000 So, Okay, so I move it there and I close when it closes. Okay, so if you have it on your second monitor. 02:54:20,000 --> 02:54:30,000 Just, take a moment to check. The opening size It comes automatically from the panel, from the panel comp. 02:54:30,000 --> 02:54:43,000 So it's 1280 by 7 20. But if you want, you can also say field. And this goes full screen on your second monitor that even if it's a full HD, you can go full screen with a 1280 by 7 20. 02:54:43,000 --> 02:54:57,000 It's just up scaling. And also you can remove the borders. I don't do it like I do it now. 02:54:57,000 --> 02:55:04,000 I show it to you. It's gonna open on my first monitor in full screen. And then in order to exit. 02:55:04,000 --> 02:55:14,000 I don't fucking like that. So you press ask wise. So yeah, it's basically it's better to have it on the monitor number. 02:55:14,000 --> 02:55:25,000 One, that use your second. And then you change this opening size to field. So it goes in full screen even if you have a non commercial. 02:55:25,000 --> 02:55:36,000 License you can stretch it 1280 on a full screen so that's already something that enables you. 02:55:36,000 --> 02:55:47,000 To make VJM stuff Now having your controls. On your monitor one. Having your audio coming. 02:55:47,000 --> 02:55:58,000 Having your different visuals. Obviously they are not whole sound reactive but this is what we had till now. 02:55:58,000 --> 02:56:06,000 I'm very happy we have reached this. Hi do the preview maximize window. Hide the controls. 02:56:06,000 --> 02:56:23,000 You have everything in one you should be so happy because this is like something that i achieved after 2 years working with Dutch, cause I didn't know I was keeping doing visuals on visuals. 02:56:23,000 --> 02:56:35,000 And I was using so I was using like 7 files. For my visual stuff 02:56:35,000 --> 02:56:46,000 And I was like closing a visual. And then opening another visual. Well. This is what the beginner does usually when you go to a DJ set. 02:56:46,000 --> 02:56:53,000 You have 10 different files. Each of them does a specific visual. And if you don't know how to merge them all together. 02:56:53,000 --> 02:57:05,000 Then you like open a file. Play it and then when you want to change the visual you basically open another file and then close the previous one. 02:57:05,000 --> 02:57:14,000 And then people will see. That's designer thing a appearing, you know, while you are doing this or maybe they see the your folder. 02:57:14,000 --> 02:57:19,000 But with this method you can really 02:57:19,000 --> 02:57:40,000 And it takes time, obviously. Oh, here you might have. A lot of buttons. also, this is something that maybe You don't care but if you want you can also start your patch in performance So this, is in the menu. 02:57:40,000 --> 02:57:50,000 You go inside the dialogues window placement and then here you have this start in perform mode. 02:57:50,000 --> 02:58:01,000 If you click it. And then you close this and you save the file and when you reopen the file, then when you reopen the file, it reopens in perform mode. 02:58:01,000 --> 02:58:08,000 And not in Got it. So this happens for example when you want to. 02:58:08,000 --> 02:58:22,000 Give the fight to someone else that that needs only to Play it. You can go in dialogues, window placement, start in perform mode and then when you open it, it starts in perform mode. 02:58:22,000 --> 02:58:30,000 And as we place the execute start, for one, it always. 02:58:30,000 --> 02:58:46,000 Add the Yeah. That's it. So other things in part Tata before saying goodbye this last 10 min. 02:58:46,000 --> 02:58:51,000 So the file you would find both version on the 02:58:51,000 --> 02:58:58,000 On the website as usual the week version and the standard version. 02:58:58,000 --> 02:59:04,000 I think the week perversion has more options. 02:59:04,000 --> 02:59:14,000 It has also this open room closed, the FPS. The controls are a bit different. 02:59:14,000 --> 02:59:20,000 This is also attached to one of the visuals. 02:59:20,000 --> 02:59:29,000 Yes, I can see. I hope you had. 02:59:29,000 --> 02:59:39,000 And a nice course I hope that We exceeded your expectations. Alright. 02:59:39,000 --> 02:59:45,000 Now please like. Try to understand that. 02:59:45,000 --> 02:59:53,000 We started from knowing nothing. Like the first lesson. Was just No, where are the things? 02:59:53,000 --> 03:00:05,000 Where is the parameters? And we arrived to do. At least something like that. And I swear it takes time. 03:00:05,000 --> 03:00:14,000 To get used to it. Is, now doesn't, it doesn't mean that if you know how to do it, it doesn't mean that you can stop. 03:00:14,000 --> 03:00:28,000 Practicing the only way to get better is to make the same thing over and over and always have an objective. 03:00:28,000 --> 03:00:35,000 Just to reply to Matteo saying about the media control. 03:00:35,000 --> 03:00:43,000 Unfortunately I don't have a meeting controller with me, but If you go in dialogues. 03:00:43,000 --> 03:00:51,000 You find Meeta Device Mapper. So if you first of all you have to connect your media device. 03:00:51,000 --> 03:01:02,000 Before opening touch designer. So imagine you have innovation or a bearing gear which are the most standard that you connect it. 03:01:02,000 --> 03:01:08,000 And then you open touch designer, you go in dialogues. Meet the device mapper. 03:01:08,000 --> 03:01:17,000 And then this is the mini device mapper. It's empty now. You can say create new mapping. 03:01:17,000 --> 03:01:27,000 And then this one line will appear. So what you care is the ID number. One and then you want to have a device connected. 03:01:27,000 --> 03:01:34,000 Let's imagine the BCF 2,000 from Barry there. You select it. And then you can already close this. 03:01:34,000 --> 03:01:41,000 You just need a media device if you don't need the out. For the moment and you don't even need a map. 03:01:41,000 --> 03:01:49,000 Actually, there are some medium up of the most known. So you can also check for them here in devices. 03:01:49,000 --> 03:01:58,000 This is something they started the way ago and then they stopped ating it probably because there are so many new devices. 03:01:58,000 --> 03:02:05,000 But you can basically also use this medium app. But what you care is just to attach your meeting first. 03:02:05,000 --> 03:02:13,000 Open touch designer, open the medium after, which is under. Dialogues with the vice mapper. 03:02:13,000 --> 03:02:21,000 Create a new mapping. One line of this will appear and if you do it twice it's a big device. 03:02:21,000 --> 03:02:43,000 And basically the ID number are the important one. So The ID number identifies. The device. So when you go then in touch designer you place a chop media And there where if you have device ID one this comes from the device ID sorry. 03:02:43,000 --> 03:02:50,000 Me the device mapper. So this comes from the device ID one, which is the one that you. 03:02:50,000 --> 03:02:58,000 Connect here. So what you're gonna have here as soon as you move a slider then you're gonna have a chalk. 03:02:58,000 --> 03:03:10,000 Moving. And then again, you do like select. You select the channel. And then you map that channel of the values that you want. 03:03:10,000 --> 03:03:24,000 Cause usually media channels are going from 0 to 127. And you can do that math Well, and my obviously now doesn't have any device. 03:03:24,000 --> 03:03:32,000 That's shame on me. Cause I need my mom's house. She doesn't have any media device. 03:03:32,000 --> 03:03:43,000 No mini device. How are you doing? So that was the last lecture of today. Modular system architecture. 03:03:43,000 --> 03:03:58,000 I recommend you to maybe Give yourself an option. That could be, I want to do like professor did but with buttons. 03:03:58,000 --> 03:04:16,000 Okay, so like this I can put the all the visuals I want. I. Kind of, I, this is done so I can save it and I wanted to maybe show you. 03:04:16,000 --> 03:04:23,000 Do I have the cycle of usual or not? 03:04:23,000 --> 03:04:27,000 Cycle. 03:04:27,000 --> 03:04:34,000 No, so I might need. 03:04:34,000 --> 03:04:39,000 How are you? 03:04:39,000 --> 03:04:46,000 Let me show you something. It's the last thing. 03:04:46,000 --> 03:04:52,000 Cause I also posted that we think online. 03:04:52,000 --> 03:04:57,000 Let's first check if it's on my drive. 03:04:57,000 --> 03:05:05,000 It should be. 03:05:05,000 --> 03:05:17,000 Okay. 03:05:17,000 --> 03:05:27,000 My drive. 03:05:27,000 --> 03:05:35,000 Oh, 03:05:35,000 --> 03:05:43,000 Sorry, I just wanted to find. Project. 03:05:43,000 --> 03:06:02,000 Show you just last being connected to these talking about doing the more people So. It's on my last question about Okay. 03:06:02,000 --> 03:06:08,000 Contact me in the future. I can send you 5. No problem. It's just that I don't have. 03:06:08,000 --> 03:06:09,000 Oh 03:06:09,000 --> 03:06:20,000 Time to explain it to you so I can just send it to you. 03:06:20,000 --> 03:06:26,000 Please download it here. 03:06:26,000 --> 03:06:36,000 Oh. The I don't know. 03:06:36,000 --> 03:06:42,000 Oh my man. 03:06:42,000 --> 03:06:43,000 One question in between. 03:06:43,000 --> 03:06:45,000 That's it. Yes. 03:06:45,000 --> 03:06:55,000 When will you recommend? To start moving to the commercial or educational license. At what point? 03:06:55,000 --> 03:06:57,000 Now I will assume like maybe if you get a pay kicking meeting because of course a commercialize it but I think most of us are not gonna get there. 03:06:57,000 --> 03:07:10,000 Of course a commercializer but I think most of us are not gonna get there that soon. 03:07:10,000 --> 03:07:11,000 Oh 03:07:11,000 --> 03:07:25,000 Only when you would do commercial project, the only when you are paid. And, only when you are paid to do a commercial project I mean not because of the resolution. 03:07:25,000 --> 03:07:33,000 But because of the Because as I said, you can stretch it to Alberti on a full HD. 03:07:33,000 --> 03:07:40,000 So if you have your television at home, which is 4 K, you can also stretch at 1280 pixel on the 4 K. 03:07:40,000 --> 03:08:02,000 You just need to use the option of the window. feel opening size feel so Usually when you have at least more than one. 03:08:02,000 --> 03:08:03,000 Oh 03:08:03,000 --> 03:08:11,000 Projector attached and maybe you want to do An extended bonnet. No, and you want maybe a circle to move from projector one to projector 2. 03:08:11,000 --> 03:08:18,000 Right, so you have like a longer vendor. Oh, so it's like a bundle. 03:08:18,000 --> 03:08:30,000 Then in that case, you might need to have more resolution. The other thing could be that, sometimes you want to work with higher resolution images. 03:08:30,000 --> 03:08:39,000 So the software is also, limited. 1280 pix, even in input, not only in output. 03:08:39,000 --> 03:08:50,000 So for example, if you want to use a Oh, which is longer than 1280 pixel you have to Have it longer. 03:08:50,000 --> 03:08:58,000 So in, in those ways, but I personally I use the non-commercial until like I got the paid job. 03:08:58,000 --> 03:09:05,000 Before that I didn't use it. At all. 03:09:05,000 --> 03:09:12,000 I'm sorry, I'm just trying to find, some visuals. That I did for the burning man. 03:09:12,000 --> 03:09:22,000 Okay. In Actually not the burning man. 03:09:22,000 --> 03:09:33,000 But these are not the final 100 yeah Lines logo. These are all black and white visual. 03:09:33,000 --> 03:09:42,000 And this is one file of 370 kB. It includes some visual from Perry VJ as well. 03:09:42,000 --> 03:09:46,000 And this is. 03:09:46,000 --> 03:09:56,000 I don't know it might have to work with audio file MP 3 Yeah. So these are all different visuals. 03:09:56,000 --> 03:10:07,000 Maybe not all of them are working. And this is to show you like the, the amount of things you can put in. 03:10:07,000 --> 03:10:15,000 And this always run at 60 frame by seconds. And then you have like, here you have the audio analysis. 03:10:15,000 --> 03:10:24,000 You can bring the threshold of the kick up. Kick detection is like that. Sometimes it needs to be refined. 03:10:24,000 --> 03:10:50,000 So you have like many different. Some of them are made by I don't really remember the sliders and bottles how they work but basically You have, yeah, you basically have like Yeah, every time you open a new file, you need some time to dedicate to understand what the hack is happening. 03:10:50,000 --> 03:11:03,000 Different. Usual. So. And this like if you want and if you feel that you can browse through it, I can just send it to you. 03:11:03,000 --> 03:11:16,000 You send me an email and then I'll share it. I probably share it also. This is the second day where they had, this also means these videos. 03:11:16,000 --> 03:11:20,000 These videos are coming from 03:11:20,000 --> 03:11:28,000 Wow from the client which is this group of people 03:11:28,000 --> 03:11:32,000 I don't remember any of these. 03:11:32,000 --> 03:11:37,000 So I might have to. 03:11:37,000 --> 03:11:50,000 Oh yeah, because this is, okay, show video hide videos. Because you could also mix the videos with Yeah, you can divide the like you can mix the videos with the visual. 03:11:50,000 --> 03:12:03,000 Somehow inverse or over. Screen. So yeah, this one, the brain one was made by Perody Jade and this was 03:12:03,000 --> 03:12:08,000 A GLSL that now doesn't work anymore. 03:12:08,000 --> 03:12:12,000 So the logic for this file. 03:12:12,000 --> 03:12:15,000 These are the controls. 03:12:15,000 --> 03:12:21,000 So there is a control part. 03:12:21,000 --> 03:12:32,000 And then there are All the visual inside the project. And all these are like crops. Because they had 4 projectors. 03:12:32,000 --> 03:12:47,000 Inside a cube. This was a cube they built in the desert. And so the structure of this file is that you have several visuals like the one of the brain that doesn't work. 03:12:47,000 --> 03:12:57,000 Because I don't know the GLS, Maybe. And all these are entering in a switch. 03:12:57,000 --> 03:13:09,000 So it's more or less the same structure. It just has more. Nodes and options and things But basically you have The visuals coming from here. 03:13:09,000 --> 03:13:20,000 At that time I was also using cooking on and cooking off. I did this for free. They didn't have any money. 03:13:20,000 --> 03:13:29,000 So I did this. Fiona is asking me if I copy right. So I did this project for free because. 03:13:29,000 --> 03:13:41,000 They needed, they were like 3 guys going in the desert and setting up their, their box I don't even know. 03:13:41,000 --> 03:14:06,000 And so what I did, II asked the Andrew and other people online if they wanted to participate to a voluntary project And so each of, each of my collaborator and you Then there was a, and the Perry DJ who's in South America. 03:14:06,000 --> 03:14:18,000 We just share the a Google driver. And then, and then they were doing the single, 5, and I was putting everything together. 03:14:18,000 --> 03:14:30,000 So I was like. Taking what ever visual they were sending me and then putting it in the bigger file This is more complex because you have 4. 03:14:30,000 --> 03:14:43,000 Output and they had like a sort of cube in the desert. This is for the and they had the mom any money. 03:14:43,000 --> 03:14:59,000 So, but they were a touch designer people. So, so they were actually learning from this. And, and so now when I would go in Tel Aviv, I have a house where to crash I have people friends. 03:14:59,000 --> 03:15:09,000 And that's my strategy basically. You don't ask money, but at least the US hospitality whenever you go there. 03:15:09,000 --> 03:15:17,000 Okay, yeah, and then and then obviously as I didn't get any money from that, yeah, I can share it with whoever I want. 03:15:17,000 --> 03:15:29,000 It's not the So maybe now I don't send it to you because you might get the easy of browsing a file that is not yours. 03:15:29,000 --> 03:15:37,000 So you don't know where are the But I usually divide as you can see. All the control panel. 03:15:37,000 --> 03:15:46,000 Into one container. So that I put all my buttons and stuff for the control UI in one container. 03:15:46,000 --> 03:15:52,000 So that here I know that I have all the bottoms and all the sheet stuff. And then I use. 03:15:52,000 --> 03:16:03,000 As you can see. Here it's also for cooking and like this is the old method to allow cooking on and off. 03:16:03,000 --> 03:16:11,000 But nowadays you can just use You don't need this anymore. It's cooking automatically. 03:16:11,000 --> 03:16:22,000 If you don't. So these are all Python things. And there is nothing different from what I Dot you is just that are more. 03:16:22,000 --> 03:16:30,000 More stuff. More logics. So it's not about the 03:16:30,000 --> 03:16:38,000 Hmm. Of course then there are probably some things that are more and more complex like that kind of script I was showing you. 03:16:38,000 --> 03:16:46,000 With a second variable inside. That based on how you use it and you can create more complex logic. 03:16:46,000 --> 03:16:56,000 But more or less, if you start the little, then you can also. I'll add more and more stuff. 03:16:56,000 --> 03:17:05,000 So this is not something different from what we did. They are just different. Visuals. Each visual is a different. 03:17:05,000 --> 03:17:15,000 Thing. This is not even mine. This is from Pairing Pro. Now this is from Katya. 03:17:15,000 --> 03:17:24,000 Which you probably use the tutorial to make it. So, Yeah. 03:17:24,000 --> 03:17:37,000 But it was just to show you that it's possible and then so what idea that for example is that you see this you have like whatever visual and then you have cash. 03:17:37,000 --> 03:17:48,000 Dive? Bigixel later. So I like these because For example, you can have, let's buy the videos. 03:17:48,000 --> 03:17:59,000 You can have these and you can say, and then this becomes repeated mirror web. I, and it works with the with a sound. 03:17:59,000 --> 03:18:04,000 So it's the sound that is on. 03:18:04,000 --> 03:18:07,000 The device out. 03:18:07,000 --> 03:18:13,000 You 03:18:13,000 --> 03:18:21,000 This changed with a kick. Oh. 03:18:21,000 --> 03:18:25,000 It's there. 03:18:25,000 --> 03:18:37,000 And then. Sorry. When the audio does like that, it's because It's suffering from the frame per second. 03:18:37,000 --> 03:18:43,000 Oh, the, I lost the 03:18:43,000 --> 03:18:46,000 Yeah. 03:18:46,000 --> 03:18:56,000 And then like you have cash so you can cash. The same thing over and over. And this is just the. 03:18:56,000 --> 03:19:04,000 This thing. So you remember cash. You can use it once. 03:19:04,000 --> 03:19:18,000 And then cache select. It's like once you cached. Once you stored 64 frame of your video then you can select The framing the past and you can mix them together. 03:19:18,000 --> 03:19:30,000 No, so you have like from one line you have many lines. In time or whatever usual appears. I don't know if it's waiting. 03:19:30,000 --> 03:19:35,000 To see. 03:19:35,000 --> 03:19:42,000 Yeah, and it's fun. Sorry, this is just to show you that you can go also like. 03:19:42,000 --> 03:20:06,000 Create more complex modular system architecture. And that time, obviously open to share with you whatever file you would like to have maybe give me a topic if it's the same if it's feedback loop but But I think that you can also dive now to vertical tutorial. 03:20:06,000 --> 03:20:19,000 Of electron out the end of a function. Than you know the guys the a lecture mount and function SDR. 03:20:19,000 --> 03:20:38,000 They do very cool tutorial function store and, So now that we the knowledge that you have, that is a bit more, an overview you can now dive into their vertical tutorial. 03:20:38,000 --> 03:20:50,000 You can also choose to do an intermediate force. I would suggest the one of Stefan Kraus if you are, looking to lasers control or reaction mapping. 03:20:50,000 --> 03:20:56,000 But now with the knowledge that you have at least you know how to output a visual and to put it on your wall. 03:20:56,000 --> 03:21:04,000 No, and not only have it as a video loop in your, in your in your computer. 03:21:04,000 --> 03:21:13,000 So this course was mostly to give you, yeah, overview tools and I'm gonna stop now. 03:21:13,000 --> 03:21:26,000 Sharing and Thank you everyone. And Leave the feedback. 03:21:26,000 --> 03:21:37,000 To know the institute. I mean, I think it went well. Yeah. It's my first time with the node. 03:21:37,000 --> 03:21:43,000 It's not my first time. Doing courses, but my first time with a note so They might like me. 03:21:43,000 --> 03:21:53,000 I'm gonna repeat the course again on October. So if you if you wanted to, like bite. 03:21:53,000 --> 03:22:07,000 To join the course in October. Spread the word strike the word or when I will share it the say that it was cool not like these people Subscribe again. 03:22:07,000 --> 03:22:23,000 And then for the rest, use this or use Facebook group. Keep in mind that there are like so many instructors out there and they can all reply to your question. 03:22:23,000 --> 03:22:33,000 No question is stupid. Every question is worth it and it can be useful and also use the search. I use Google. 03:22:33,000 --> 03:22:38,000 Use Google a lot. And always say yes to any project they propose you. Always say yes. 03:22:38,000 --> 03:22:54,000 Always never say no and then if you don't know how to do it, Ask on like ask you online for your reply as your help or hire someone. 03:22:54,000 --> 03:23:00,000 No, you can always be. Project manager. And I always say yes. 03:23:00,000 --> 03:23:06,000 No matter what the question is. So thank you again. 03:23:06,000 --> 03:23:14,000 And see you soon as you use. time.com. 03:23:14,000 --> 03:23:19,000 Is this, is this the Is the fun. Hi. 03:23:19,000 --> 03:23:31,000 Yeah, Yeah, I just, was, the last minutes and I wanted to stroll that in because, it's like an AI driven search engine for developers. 03:23:31,000 --> 03:23:37,000 And it's pretty crazy. I ask it like a touch designer, Python questions all the time. 03:23:37,000 --> 03:23:48,000 And then it knows how to do it and it explains you and explains it where you find the What saucer is it? 03:23:48,000 --> 03:23:49,000 Mike. 03:23:49,000 --> 03:23:55,000 What sauce it's using? You can actually take copy paste the code it makes and You know where to take it is pretty magic. 03:23:55,000 --> 03:23:57,000 Wow. And scary. 03:23:57,000 --> 03:24:04,000 But the main thing I also wanted to say, Nima, thank you very much from us from the Nord Institute. 03:24:04,000 --> 03:24:05,000 Okay. 03:24:05,000 --> 03:24:11,000 I think it was, terrific, but I also wanted to say thank the participants for, trusting us. 03:24:11,000 --> 03:24:16,000 And, yeah, if you have any feedback, feel free to send it to us, good or bad. 03:24:16,000 --> 03:24:24,000 We Really want to make the best courses possible and so we really want to know what's 03:24:24,000 --> 03:24:27,000 What do you think? Thank you so much. 03:24:27,000 --> 03:24:29,000 Thank you everyone. 03:24:29,000 --> 03:24:32,000 All the people. 03:24:32,000 --> 03:24:34,000 See you tomorrow is the banner you want to do now. 03:24:34,000 --> 03:24:40,000 No, it's do tomorrow. I'm in the middle of something else. 03:24:40,000 --> 03:24:41,000 Into. 03:24:41,000 --> 03:24:42,000 Okay. Okay, see you tomorrow. Bye everyone. 03:24:42,000 --> 03:24:43,000 Thanks. Bye. Thanks. 03:24:43,000 --> 03:24:44,000 Thank you. 03:24:44,000 --> 03:24:46,000 Many things. Bye bye. 03:24:46,000 --> 03:24:47,000 Bye bye. 03:24:47,000 --> 03:24:49,000 Hi, congratulations. Thank you so much. 03:24:49,000 --> 03:24:53,000 Thank you, Matteo. If I come to Bangkok, I'll text you. 03:24:53,000 --> 03:24:58,000 You will come to Bali first. We opening a art studio. You will love it. 03:24:58,000 --> 03:25:04,000 I'm Bali. Okay, I love Bali. I've been there. I have a friend that lives there. 03:25:04,000 --> 03:25:05,000 A former student 03:25:05,000 --> 03:25:11,000 Is it opening a building? 03:25:11,000 --> 03:25:12,000 It's big. Yeah, I wait. 03:25:12,000 --> 03:25:17,000 Wow I'm gonna come invite me and Yeah. 03:25:17,000 --> 03:25:31,000 Bye.