1
00:00:00,270 --> 00:00:09,270
In this video, you learn how to mix different all your tracks in technical words, overlaying one audio

2
00:00:09,270 --> 00:00:10,290
on top of another.

3
00:00:10,380 --> 00:00:14,190
So for this exercise, I have these to all defaults.

4
00:00:18,810 --> 00:00:21,660
This one and also a saxophone.

5
00:00:24,560 --> 00:00:24,900
The.

6
00:00:29,320 --> 00:00:37,360
And we're going to make music out of this, so I'll have followed, it's both these false bits in this

7
00:00:37,630 --> 00:00:38,230
variable.

8
00:00:38,680 --> 00:00:44,890
So Bates and the two way file and the sex variable holding the sex, that's the way foil know.

9
00:00:44,980 --> 00:00:55,990
If you see the length of beads and the length of sex, you're going to see that sex is twice as long

10
00:00:55,990 --> 00:01:04,959
as beat 7.1 seconds for the saxophone track and three point five seconds for the beat track.

11
00:01:05,230 --> 00:01:11,260
So let's overlay them, but we need to do something before we overlay this.

12
00:01:11,260 --> 00:01:13,540
We want them to have the same length.

13
00:01:13,840 --> 00:01:20,050
So what I'm going to do is create a new beat two variable, which is equal to beat times two.

14
00:01:20,410 --> 00:01:25,660
So just to see what we have is Beats two that exports.

15
00:01:25,660 --> 00:01:31,570
You don't have to save this into an audio file, but I just want to demonstrate to what we have so far

16
00:01:32,650 --> 00:01:39,580
so wrong that adds beats to a double the length of the original beat.

17
00:01:46,810 --> 00:01:49,900
And it has the same length as sex.

18
00:01:49,990 --> 00:02:00,010
That's a wave, then what we do is we creates a variable, another one which will contain the mixed

19
00:02:00,010 --> 00:02:00,520
order.

20
00:02:00,820 --> 00:02:03,220
So that is beats to that overlay.

21
00:02:04,240 --> 00:02:06,160
That is the method that overlays.

22
00:02:07,640 --> 00:02:17,900
One all deal on top of another, so mixed that exports mixed that we've run.

23
00:02:18,620 --> 00:02:22,280
We have this output makes that wave and let's listen to it.

24
00:02:30,120 --> 00:02:32,070
And that's how you make music with Python.

25
00:02:32,220 --> 00:02:39,420
So we overlaid two different tracks, and it sounds better than listening to them separately, or at

26
00:02:39,460 --> 00:02:40,800
least that's what I think.

27
00:02:42,140 --> 00:02:49,160
No, that's you know, how to overlay two different audio files, then you could do something like the

28
00:02:49,160 --> 00:02:51,500
final single sue beat to.

29
00:02:52,650 --> 00:03:02,070
Plus, maybe start with mixed so that valuable, and then we continue perhaps times two or two times

30
00:03:02,070 --> 00:03:07,650
the mixed file, plus a solo saxophone.

31
00:03:08,100 --> 00:03:17,400
So Jesus Sax Plus beats two plus sax to close the music track.

32
00:03:17,400 --> 00:03:24,510
So final that export final that we've run.

33
00:03:26,100 --> 00:03:30,240
And the output is generated, so it's around 42 seconds.

34
00:03:30,570 --> 00:03:31,590
Let's listen to that.

35
00:03:35,060 --> 00:03:41,600
If you cannot listen because it's too long, you have to download the report player might not be very

36
00:03:41,600 --> 00:03:44,210
good to listen to audio files.

37
00:03:45,360 --> 00:03:47,820
So here is the audio downloaded.

38
00:03:54,170 --> 00:03:55,850
Here comes the saxophone.

39
00:04:10,260 --> 00:04:10,440
And.

40
00:04:24,520 --> 00:04:24,690
And.

41
00:04:27,880 --> 00:04:37,480
So that is some basic audio mixing, and you need to use your own imagination to do some better mixing

42
00:04:37,480 --> 00:04:38,520
of your old you.

43
00:04:38,740 --> 00:04:44,230
But I just wanted to show you how easy it is to use the P y double library.

44
00:04:44,350 --> 00:04:46,840
It's very intuitive, as you can see.

45
00:04:46,900 --> 00:04:48,970
I hope you have fun working with it.

46
00:04:49,330 --> 00:04:50,630
I'll talk to you in the next videos.

47
00:04:50,680 --> 00:04:50,910
See?

