background top icon
background center wave icon
background filled rhombus icon
background two lines icon
background stroke rhombus icon

Download "Основы ЦОС: 30. Обработка на Raspberry Pi"

input logo icon
Video tags
|

Video tags

Matlab
Mathworks
Simulink
матлаб
симулинк
raspberry
raspberry pi
аудиофильтр
реализация
raspberry_pi
Subtitles
|

Subtitles

subtitles menu arrow
  • ruRussian
Download
00:00:01
processing for a
00:00:03
split pie, I’ll immediately note all our videos
00:00:05
before were kept within the framework of matlab and a
00:00:07
couple of additional tool boxes, but in
00:00:09
this video we are for the first time using
00:00:11
simulink, for those who are not familiar with it,
00:00:12
be sure to look at the vision playlist
00:00:14
in simulink link description to this
00:00:16
video, but in general this environment for graphic
00:00:19
modeling and dynamic simulation
00:00:20
of systems, as practice shows, is very
00:00:23
convenient and it is for the implementation of
00:00:25
SOS systems on various platforms that we will create a
00:00:27
new simulink model, here we will
00:00:29
draw our system in the form of a block diagram, we will
00:00:32
take the block we find in special libraries block for reading
00:00:35
multimedia files and indicate
00:00:37
the file we are interested in. Now let’s find the block for
00:00:45
playback and run the model for 4
00:00:52
seconds. We can display the
00:01:00
data type and dimension directly on the diagram, that is,
00:01:03
now we see that our blocks
00:01:04
exchange matrices of the double type.
00:01:07
Now let’s add a discrete
00:01:09
filter block. and we’ll add a separate input to it for the
00:01:11
coefficients and also indicate the possibility of
00:01:14
frame-by-frame processing, but where will it
00:01:16
get the value of the coefficients?
00:01:19
the video has passed, we got a matrix,
00:01:21
well, mate, we can store it in a
00:01:23
constant block, but the matrix itself has not yet
00:01:28
been loaded and see from the file, but we can do this
00:01:30
quickly to correct,
00:01:31
but it would be more correct to load a
00:01:33
variable from a file every time we
00:01:35
want to run the model,
00:01:36
this can be done using call back
00:01:38
of the model, we will write the command laut into
00:01:40
the initialization, now we will find the block
00:01:42
of faith, there was a selector that will help
00:01:44
select the rows of the matrix a to its
00:01:49
index input, for now we’ll just give some
00:01:52
constant value
00:01:58
let's run the model and obediently
00:02:01
we have selected the first filter,
00:02:07
I want to find out how it changed the spectrum of
00:02:09
the signal so I'll add a spectrum analyzer blog,
00:02:11
configure it a little, set
00:02:14
it to display only really
00:02:16
parts of the spectrum and run the model again
00:02:21
[music]
00:02:26
now let's turn on
00:02:27
infinite playback that is,
00:02:29
stoptime is set to infinity info
00:02:32
and let's try to change the value here of the bottom
00:02:35
vlog of the end to change manually I'm tired of
00:02:55
now I want the coefficient and me to be
00:02:57
scaffolded according to some law and a signal
00:03:00
source block called
00:03:03
petting sequins stealth will help me with this, that is, a
00:03:06
repeating sequence
00:03:07
values ​​and here I will simply indicate the
00:03:10
rows of the matrix from 1 to 8 and back, and
00:03:13
I will choose the signal output period
00:03:16
equal to 0 1 second, which changed quickly enough for me,
00:03:20
we launch our model and see the error
00:03:24
signal periods conflict, the values ​​​​at the
00:03:27
filter input come with different
00:03:28
sampling periods and if increase the
00:03:30
number of signal samples at each
00:03:32
step, then there will be no conflict
00:03:38
[music]
00:03:52
spectrogram
00:03:53
[music]
00:04:01
we got the so-called effect
00:04:03
of the vow to true will be even more noticeable on a
00:04:05
signal with a more uniform spectrum,
00:04:07
especially on the spectrogram, but in order to
00:04:22
implement this algorithm in the
00:04:24
analysis of the share we you will need to install the
00:04:25
hardware support package
00:04:27
Hubble support Regis tab there we are looking for
00:04:30
simulink support also for disassembling the pipe
00:04:32
and following the installation instructions
00:04:33
it is important to note that our models
00:04:35
will work correctly on matlab versions from 17b
00:04:37
and higher
00:04:38
let's return to the model first of all
00:04:41
let's save it under a new name
00:04:42
let's name the audio module and disassemble it,
00:04:45
we will also have to change some
00:04:47
parameters in our model, so we
00:04:49
will go to the main settings in the implementation section
00:04:52
and select the type of board there, the remaining
00:04:55
parameters of the target systems will be chosen
00:04:57
independently, we will also have to
00:05:00
replace our audio source and
00:05:04
playback blocks, so we go to a
00:05:05
specialized library to
00:05:06
rake and take out from there
00:05:09
the audio file read blocks and also the als audio playback block
00:05:13
to replace them with the audio device rider block and the
00:05:15
front media file, we remove these blocks from
00:05:18
commenting out and put the blocks for disassembling the pipe in
00:05:21
their place, also they have
00:05:24
certain features of the particular
00:05:26
block also audio playback
00:05:28
it accept as input only
00:05:30
data types in integer format, that is, it
00:05:31
cannot accept data in a table, as well as the
00:05:34
audio file dried block also produces only
00:05:35
this formatting 16, so here we will
00:05:37
need data type conversion blocks
00:05:39
or yes, this type converter
00:05:42
will be the first to convert is in 16th double and the
00:05:44
second one will convert the published
00:05:46
back to n 16
00:05:48
after we
00:05:49
carry out all the transformations we will be
00:05:51
ready to run the model
00:05:53
directly on the payment platform
00:05:55
connected to the computer and now we
00:05:57
will try to launch it in the so-called
00:05:59
external mode for this we
00:06:01
will need to change the simulation mode but
00:06:03
first of all let's put our
00:06:05
familiar guitar as a test audio file,
00:06:08
now change the simulation mode from
00:06:11
normalno external and launch the run button,
00:06:14
here we will have automatic
00:06:17
generation of code which will then run
00:06:19
on the target platform, that is, on 1 were
00:06:22
paid, this is what the automatically
00:06:23
generated code looks like and let's see
00:06:25
what we will have it happen
00:06:26
directly on the platform, here we
00:06:33
are seeing data from the top from the dynamite
00:06:36
to the rip towel, I’m now people, the
00:06:40
fourth model transfers data to the board of the board
00:06:43
before the games back,
00:06:44
so we are also observing the spectrum, if I
00:06:47
turn off everything, it will unfold, then everything
00:06:53
will stop, let’s put it back in place
00:07:00
[music]
00:07:01
we can also run the model and in a
00:07:04
completely autonomous mode, by law we will need to
00:07:07
press the beat button
00:07:09
for now, let's disconnect the board,
00:07:11
let's change the audio file, for example,
00:07:15
put a file called dance there and
00:07:17
press the build button, the code will also be
00:07:21
generated, it will go to disassemble
00:07:24
the Pine, now we can disconnect from
00:07:25
the computer can work in offline
00:07:27
mode
00:07:30
as you hear the music starts playing
00:07:32
and data exchange now does not occur
00:07:39
if you evaluate the board tons and now the
00:07:42
hyper table costs music completely autonomously
00:07:48
now it’s just remove the power, well with
00:07:51
this we end our
00:07:54
playlist of the basics of digital
00:07:56
signal processing, leave it in in the comments, everything
00:07:59
you would like to see in our
00:08:00
future playlists, if you have
00:08:02
any technical questions, write them to us by
00:08:04
email,
00:08:05
our engineers will always be happy to
00:08:07
answer you, and of course, stay on the
00:08:09
channel, subscribe and stay tuned for
00:08:11
updates until we meet again

Description:

Российская платформа математических вычислений и динамического моделирования Engee: сайт: https://start.engee.com/ Телеграм канал: https://t.me/engee_com ############### Наш тренинг "Проектирование систем цифровой обработки сигналов" https://exponenta.ru/SLBE-G В заключительном видео плейлиста мы рассмотрим процессы разработки моделей в среде Simulink, а также реализации алгоритмов ЦОС на Raspberry Pi. Все видео и описание https://exponenta.ru/news/cifrovaya-obrabotka-signalov Ссылки на скачивание скриптов и файлов данных: https://github.com/ETMC-Exponenta/DSP_YoutubePlaylist/tree/master/deploy Плейлист "Введение в цифровую обработку сигналов (ЦОС)": https://www.youtube.com/playlist?list=PLmu_y3-DV2_kpP8oX_Uug0IbgH2T4hRPL Плейлист "Введение в Simulink": https://www.youtube.com/watch?v=_gDsghQ-Y1s&list=PLmu_y3-DV2_k0FqQSqWVKE0cW-eSPUSTq Мы Вконтакте: https://vk.com/mathworks

Preparing download options

popular icon
Popular
hd icon
HD video
audio icon
Only sound
total icon
All
* — If the video is playing in a new tab, go to it, then right-click on the video and select "Save video as..."
** — Link intended for online playback in specialized players

Questions about downloading video

mobile menu iconHow can I download "Основы ЦОС: 30. Обработка на Raspberry Pi" video?mobile menu icon

  • http://unidownloader.com/ website is the best way to download a video or a separate audio track if you want to do without installing programs and extensions.

  • The UDL Helper extension is a convenient button that is seamlessly integrated into YouTube, Instagram and OK.ru sites for fast content download.

  • UDL Client program (for Windows) is the most powerful solution that supports more than 900 websites, social networks and video hosting sites, as well as any video quality that is available in the source.

  • UDL Lite is a really convenient way to access a website from your mobile device. With its help, you can easily download videos directly to your smartphone.

mobile menu iconWhich format of "Основы ЦОС: 30. Обработка на Raspberry Pi" video should I choose?mobile menu icon

  • The best quality formats are FullHD (1080p), 2K (1440p), 4K (2160p) and 8K (4320p). The higher the resolution of your screen, the higher the video quality should be. However, there are other factors to consider: download speed, amount of free space, and device performance during playback.

mobile menu iconWhy does my computer freeze when loading a "Основы ЦОС: 30. Обработка на Raspberry Pi" video?mobile menu icon

  • The browser/computer should not freeze completely! If this happens, please report it with a link to the video. Sometimes videos cannot be downloaded directly in a suitable format, so we have added the ability to convert the file to the desired format. In some cases, this process may actively use computer resources.

mobile menu iconHow can I download "Основы ЦОС: 30. Обработка на Raspberry Pi" video to my phone?mobile menu icon

  • You can download a video to your smartphone using the website or the PWA application UDL Lite. It is also possible to send a download link via QR code using the UDL Helper extension.

mobile menu iconHow can I download an audio track (music) to MP3 "Основы ЦОС: 30. Обработка на Raspberry Pi"?mobile menu icon

  • The most convenient way is to use the UDL Client program, which supports converting video to MP3 format. In some cases, MP3 can also be downloaded through the UDL Helper extension.

mobile menu iconHow can I save a frame from a video "Основы ЦОС: 30. Обработка на Raspberry Pi"?mobile menu icon

  • This feature is available in the UDL Helper extension. Make sure that "Show the video snapshot button" is checked in the settings. A camera icon should appear in the lower right corner of the player to the left of the "Settings" icon. When you click on it, the current frame from the video will be saved to your computer in JPEG format.

mobile menu iconWhat's the price of all this stuff?mobile menu icon

  • It costs nothing. Our services are absolutely free for all users. There are no PRO subscriptions, no restrictions on the number or maximum length of downloaded videos.