{"id":23294,"date":"2023-03-28T10:05:02","date_gmt":"2023-03-28T10:05:02","guid":{"rendered":"https:\/\/www.booksofall.com\/ru\/?post_type=product&#038;p=23294"},"modified":"2023-03-28T10:09:39","modified_gmt":"2023-03-28T10:09:39","slug":"think-dsp-digital-signal-processing-in-python-2","status":"publish","type":"product","link":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/","title":{"rendered":"Think DSP &#8211; Digital Signal Processing in Python"},"content":{"rendered":"<h2>Chapter 1 &#8211;\u00a0Sounds and signals<\/h2>\n<p>A signal represents a quantity that varies in time. That definition is pretty abstract, so let\u2019s start with a concrete example: sound. Sound is variation in air pressure. A sound signal represents variations in air pressure over time.<\/p>\n<p>A microphone is a device that measures these variations and generates an electrical signal that represents sound. A speaker is a device that takes an electrical signal and produces sound. Microphones and speakers are called transducers because they transduce, or convert, signals from one form to another.<\/p>\n<p>This book is about signal processing, which includes processes for synthesizing, transforming, and analyzing signals. I will focus on sound signals, but the same methods apply to electronic signals, mechanical vibration, and signals in many other domains.<\/p>\n<p>They also apply to signals that vary in space rather than time, like elevation along a hiking trail. And they apply to signals in more than one dimension, like an image, which you can think of as a signal that varies in two-dimensional space. Or a movie, which is a signal that varies in two-dimensional space and time.<\/p>\n<p>But we start with simple one-dimensional sound.<\/p>\n<p>The code for this chapter is in chap01.ipynb, which is in the repository for this book (see Section 0.2).<\/p>\n<p id=\"GhgYVgU\"><img loading=\"lazy\" decoding=\"async\" width=\"389\" height=\"304\" class=\"alignnone size-full wp-image-23297 \" src=\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/img_64226a486a5ee.png\" alt=\"\" \/><\/p>\n<p>Figure 1.1: Segment from a recording of a bell.<\/p>\n<h3>1.1 Periodic signals<\/h3>\n<p>We\u2019ll start with <a href=\"https:\/\/en.wikibooks.org\/wiki\/Signals_and_Systems\/Periodic_Signals\">periodic signals<\/a>, which are signals that repeat themselves after some period of time. For example, if you strike a bell, it vibrates and generates sound. If you record that sound and plot the transduced signal, it looks like Figure 1.1.<\/p>\n<p>This signal resembles a sinusoid, which means it has the same shape as the trigonometric<a href=\"https:\/\/byjus.com\/maths\/sine-function\/\"> sine function<\/a>.<\/p>\n<p>You can see that this signal is periodic. I chose the duration to show three full repetitions, also known as cycles. The duration of each cycle, called the period, is about 2.3 ms.<\/p>\n<p>The frequency of a signal is the number of cycles per second, which is the inverse of the period. The units of frequency are cycles per second, or <a href=\"https:\/\/en.wikipedia.org\/wiki\/Hertz\">Hertz<\/a>, abbreviated \u201cHz\u201d. (Strictly speaking, the number of cycles is a dimensionless number, so a Hertz is really a \u201cper second\u201d).<\/p>\n<p>The frequency of this signal is about 439 Hz, slightly lower than 440 Hz, which is the standard tuning pitch for orchestral music. The musical name of this note is A, or more specifically, A4. If you are not familiar with \u201cscientific pitch notation\u201d, the numerical suffix indicates which octave the note is in. A4 is the A above middle C. A5 is one octave higher. See <a href=\"http:\/\/en.wikipedia.org\/wiki\/Scientific_pitch_notation\">http:\/\/en.wikipedia.org\/wiki\/Scientific_pitch_notation<\/a>.<\/p>\n<p>A <a href=\"https:\/\/en.wikipedia.org\/wiki\/Tuning_fork\">tuning fork<\/a> generates a sinusoid because the vibration of the tines is a form of simple harmonic motion. Most musical instruments produce periodic signals, but the shape of these signals is not sinusoidal. For example, Figure 1.2 shows a segment from a recording of a violin playing Boccherini\u2019s String Quintet No. 5 in E, 3rd movement.<\/p>\n<p id=\"wiYAAZC\"><img loading=\"lazy\" decoding=\"async\" width=\"384\" height=\"302\" class=\"alignnone size-full wp-image-23298 \" src=\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/img_64226a5258245.png\" alt=\"\" \/><\/p>\n<p>Figure 1.2: Segment from a recording of a <a href=\"https:\/\/www.yamaha.com\/en\/musical_instrument_guide\/violin\/mechanism\/mechanism004.html\">violin<\/a>.<\/p>\n<p>Again we can see that the signal is periodic, but the shape of the signal is more complex. The shape of a periodic signal is called the waveform. Most musical instruments produce waveforms more complex than a <a href=\"https:\/\/www.electronicshub.org\/sinusoidal-waveform\/\">sinusoid<\/a>. The shape of the waveform determines the musical <a href=\"https:\/\/en.wikipedia.org\/wiki\/Timbre\">timbre<\/a>, which is our perception of the quality of the sound. People usually perceive complex waveforms as rich, warm and more interesting than sinusoids.<\/p>\n","protected":false},"excerpt":{"rendered":"<p><iframe style=\"width: 100%; height: 750px; border: none;\" src=\"https:\/\/online.visual-paradigm.com\/share\/book\/think-dsp-1axl45zbw4?p=1\" frameborder=\"0\" allowfullscreen=\"allowfullscreen\"><\/iframe><\/p>\n","protected":false},"featured_media":23300,"template":"","meta":{"_yoast_wpseo_title":"","_yoast_wpseo_metadesc":"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!"},"product_brand":[],"product_cat":[374],"product_tag":[],"class_list":{"0":"post-23294","1":"product","2":"type-product","3":"status-publish","4":"has-post-thumbnail","6":"product_cat-misc","8":"first","9":"instock","10":"shipping-taxable","11":"product-type-simple"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Think DSP - Digital Signal Processing in Python - BooksOfAll Russian<\/title>\n<meta name=\"description\" content=\"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Think DSP - Digital Signal Processing in Python - BooksOfAll Russian\" \/>\n<meta property=\"og:description\" content=\"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/\" \/>\n<meta property=\"og:site_name\" content=\"BooksOfAll Russian\" \/>\n<meta property=\"article:modified_time\" content=\"2023-03-28T10:09:39+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"3 \u043c\u0438\u043d\u0443\u0442\u044b\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/\",\"url\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/\",\"name\":\"Think DSP - Digital Signal Processing in Python - BooksOfAll Russian\",\"isPartOf\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg\",\"datePublished\":\"2023-03-28T10:05:02+00:00\",\"dateModified\":\"2023-03-28T10:09:39+00:00\",\"description\":\"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!\",\"breadcrumb\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage\",\"url\":\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg\",\"contentUrl\":\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg\",\"width\":\"827\",\"height\":\"1169\",\"caption\":\"Think DSP - Digital Signal Processing in Python\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.booksofall.com\/ru\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Categories\",\"item\":\"https:\/\/www.booksofall.com\/ru\/categories\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Think DSP &#8211; Digital Signal Processing in Python\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/#website\",\"url\":\"https:\/\/www.booksofall.com\/ru\/\",\"name\":\"BooksOfAll Russian\",\"description\":\"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.\",\"publisher\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.booksofall.com\/ru\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/#organization\",\"name\":\"BooksOfAll Russian\",\"url\":\"https:\/\/www.booksofall.com\/ru\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ru-RU\",\"@id\":\"https:\/\/www.booksofall.com\/ru\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2022\/06\/booksofall-logo-2.png\",\"contentUrl\":\"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2022\/06\/booksofall-logo-2.png\",\"width\":166,\"height\":30,\"caption\":\"BooksOfAll Russian\"},\"image\":{\"@id\":\"https:\/\/www.booksofall.com\/ru\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Think DSP - Digital Signal Processing in Python - BooksOfAll Russian","description":"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/","og_locale":"ru_RU","og_type":"article","og_title":"Think DSP - Digital Signal Processing in Python - BooksOfAll Russian","og_description":"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!","og_url":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/","og_site_name":"BooksOfAll Russian","article_modified_time":"2023-03-28T10:09:39+00:00","og_image":[{"url":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","twitter_image":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg","twitter_misc":{"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f":"3 \u043c\u0438\u043d\u0443\u0442\u044b"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/","url":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/","name":"Think DSP - Digital Signal Processing in Python - BooksOfAll Russian","isPartOf":{"@id":"https:\/\/www.booksofall.com\/ru\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage"},"image":{"@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage"},"thumbnailUrl":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg","datePublished":"2023-03-28T10:05:02+00:00","dateModified":"2023-03-28T10:09:39+00:00","description":"Digital signal processing in Python involves manipulating digital signals using mathematical algorithms, tools, and libraries. Learn more about it here!","breadcrumb":{"@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#breadcrumb"},"inLanguage":"ru-RU","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/"]}]},{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#primaryimage","url":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg","contentUrl":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2023\/03\/Think-DSP-Digital-Signal-Processing-in-Python.jpg","width":"827","height":"1169","caption":"Think DSP - Digital Signal Processing in Python"},{"@type":"BreadcrumbList","@id":"https:\/\/www.booksofall.com\/ru\/think-dsp-digital-signal-processing-in-python-2\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.booksofall.com\/ru\/"},{"@type":"ListItem","position":2,"name":"Categories","item":"https:\/\/www.booksofall.com\/ru\/categories\/"},{"@type":"ListItem","position":3,"name":"Think DSP &#8211; Digital Signal Processing in Python"}]},{"@type":"WebSite","@id":"https:\/\/www.booksofall.com\/ru\/#website","url":"https:\/\/www.booksofall.com\/ru\/","name":"BooksOfAll Russian","description":"Biggest IT eBooks library and learning resources - Free eBooks for programming, computing, artificial intelligence and more.","publisher":{"@id":"https:\/\/www.booksofall.com\/ru\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.booksofall.com\/ru\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ru-RU"},{"@type":"Organization","@id":"https:\/\/www.booksofall.com\/ru\/#organization","name":"BooksOfAll Russian","url":"https:\/\/www.booksofall.com\/ru\/","logo":{"@type":"ImageObject","inLanguage":"ru-RU","@id":"https:\/\/www.booksofall.com\/ru\/#\/schema\/logo\/image\/","url":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2022\/06\/booksofall-logo-2.png","contentUrl":"https:\/\/www.booksofall.com\/ru\/wp-content\/uploads\/sites\/7\/2022\/06\/booksofall-logo-2.png","width":166,"height":30,"caption":"BooksOfAll Russian"},"image":{"@id":"https:\/\/www.booksofall.com\/ru\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/product\/23294","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/product"}],"about":[{"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/types\/product"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/media\/23300"}],"wp:attachment":[{"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/media?parent=23294"}],"wp:term":[{"taxonomy":"product_brand","embeddable":true,"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/product_brand?post=23294"},{"taxonomy":"product_cat","embeddable":true,"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/product_cat?post=23294"},{"taxonomy":"product_tag","embeddable":true,"href":"https:\/\/www.booksofall.com\/ru\/wp-json\/wp\/v2\/product_tag?post=23294"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}