<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Yaroslav Starling on Medium]]></title>
        <description><![CDATA[Stories by Yaroslav Starling on Medium]]></description>
        <link>https://medium.com/@ivshpakiv?source=rss-4772637b3c52------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*D_AwsqQZOYQ-n7bADRE3MQ@2x.jpeg</url>
            <title>Stories by Yaroslav Starling on Medium</title>
            <link>https://medium.com/@ivshpakiv?source=rss-4772637b3c52------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 23:07:32 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@ivshpakiv/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Detecting simultaneous heart murmurs]]></title>
            <link>https://medium.com/@ivshpakiv/detecting-simultaneous-heart-murmurs-58f2debf5cae?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/58f2debf5cae</guid>
            <category><![CDATA[heart-murmur]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[stethoscope]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sun, 22 Nov 2026 21:39:13 GMT</pubDate>
            <atom:updated>2026-11-22T21:39:13.448Z</atom:updated>
            <content:encoded><![CDATA[<p>A physician attempting to detect a heart murmur indicative of significant cardiac disease, before echocardiography is performed and while effective treatment remains possible, can make <strong>two principal diagnostic errors</strong>:</p><ul><li>The murmur may be missed (false negative).</li><li>Ironically, a nonexistent murmur may be erroneously diagnosed (false positive), which is a frequent error, especially among clinicians who are particularly diligent in searching for signs of pathology.</li></ul><p>A more challenging question arises:</p><p><strong>is it possible to detect two heart murmurs occurring during the same phase of the cardiac cycle?</strong></p><h4>How to detect simultaneous heart murmurs?</h4><p>The answer is yes, if the perceived envelope curves of the two murmurs are sufficiently separated for our hearing and/or visually.</p><p>I will simplify a few concepts here. By “perceived envelope curve” I mean the subjective perception of a sound’s loudness as it evolves over time.</p><p>Consider, for example, a drum strike: the perceived loudness rises almost instantaneously (instant attack) and then decays rapidly (fast, but slower release). A piano key strike behaves differently: the loudness also attack almost immediately, but the subsequent release is considerably slower. The sound of a single car approaching from a distance emerges from silence, gradually increases in intensity (very slow attack), reaches its maximum as the vehicle passes nearby and stops in front of you, and disappears abruptly when the engine is switched off (instant release).</p><p>Every heart sound possesses its own subjectively perceived envelope curve. S1 and S2 exhibit an abrupt attack and release. The murmur of aortic stenosis has a slow attack and a slow release (crescendo–decrescendo configuration). The murmur of mitral regurgitation has an abrupt attack and an abrupt release, with a long plateau occupying the entire systole (holosystolic pattern).</p><p><strong>Simultaneous heart murmurs can be detected separately if their subjectively perceived envelope curves are separated in time and/or frequency domains for our hearing and/or visually.</strong></p><h4>An example of two systolic murmurs on one heart sound recording</h4><p>Here is an example in which two systolic murmurs can be heard and visualized separately.</p><p>The sound was recorded over the tricuspid area. Significant aortic stenosis and mitral regurgitation were confirmed by echocardiography (further clinical details are not required for the present discussion).</p><p>Two distinct murmurs are present:</p><ol><li>A crescendo–decrescendo murmur of aortic stenosis, occupying predominantly the first two-thirds of systole.</li><li>A crescendo late-systolic murmur of mitral regurgitation.</li></ol><p>Here is the sound:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2442859761%26show_artwork%3Dtrue%26secret_token%3Ds-LbgIFGSGnrM&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Ftwo_systolic_murmurs%2Fs-LbgIFGSGnrM%3Fsi%3Df44f126720ac4ba093b768640fe41c23%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-MRiDqK1O9XPMYRko-nl5mvg-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/49d2f5a939e814732aaa1df2cbcd309b/href">https://medium.com/media/49d2f5a939e814732aaa1df2cbcd309b/href</a></iframe><p>Here is a time-stretched version of the sound (it is easier to hear the two murmurs):</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2442864999%26show_artwork%3Dtrue%26secret_token%3Ds-tFZigqw5eBm&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Ftwo_systolic_murmurs_stratched%2Fs-tFZigqw5eBm%3Fsi%3Df44f126720ac4ba093b768640fe41c23%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-YFzr2c1pd5c8OU48-mAzrhg-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/71550bd665295500e51ac5b7fc5496af/href">https://medium.com/media/71550bd665295500e51ac5b7fc5496af/href</a></iframe><p>Here is the corresponding spectrogram:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/624/1*6tbrIR7gqG4Fk9wZvveZUQ.png" /><figcaption>For convenience, the unannotated image below is identical to the one above and is included to avoid any masking effect from the overlaid delineations. S1 — first heart sound; S2 — second heart sound. The gray line outlines the ejection murmur of aortic stenosis, and the orange line outlines the murmur of mitral regurgitation.</figcaption></figure><p>The envelope curves of the two murmurs are separated in the time and frequency domains. The aortic stenosis murmur occurs mainly in early and mid-systole and declines toward the end of systole, whereas the mitral regurgitation murmur intensifies in late systole, reaching its maximum intensity near the onset of S2. Murmur regurgitation murmur has more high-frequency content, which has pretty low amplitude and barely visible, but heard well because of our high sensitivity to this frequency range.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1e8DZfaojMS9K_xcw39PFg.png" /><figcaption>On this 3D-spectrogram the high-frequency murmur of mitral regurgitation is barely noticeable. It has a crescendo shape in my opinion. Aortic stenosis murmur is lower and closer to S2. It is partially masked by low-frequency background rumble.</figcaption></figure><h4>More about subjective perception of loudness</h4><p>Subjective envelope curves depend on the amplitudes of different frequency components, because <a href="https://medium.com/@ivshpakiv/an-ultimate-guide-to-heart-sound-analysis-part-4-hearing-for-heart-sound-analysis-its-strengths-da0a3df2f13e">auditory sensitivity varies markedly with frequency</a>. For example, it can be defined by higher frequency part with lower amplitude, while low-frequency content can be unnoticed.</p><p>Despite the fact that, in the present example, the amplitude of the aortic stenosis murmur is substantially greater, the mitral regurgitation murmur is perceived more readily on auscultation, yet is less prominent on the spectrogram. The human ear is more sensitive to higher-frequency vibrations than to low-frequency vibrations, as discussed <a href="https://medium.com/@ivshpakiv/an-ultimate-guide-to-heart-sound-analysis-part-4-hearing-for-heart-sound-analysis-its-strengths-da0a3df2f13e">here</a>.</p><p>In the current example mitral regurgitation murmur is better heard, but definitely has smaller amplitude. Aortic stenosis murmur is better seen, but can be missed by hearing.</p><p>One may therefore ask whether three simultaneous murmurs can be distinguished.</p><p>The answer is yes, if the perceived envelope curves of the three murmurs are separated in time and/or frequency domains.</p><p>And what about four simultaneous murmurs?</p><p>Well…</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=58f2debf5cae" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Subtle Feature of a Carotid Bruit That Changes Everything: A Brief Clinical Case]]></title>
            <link>https://medium.com/@ivshpakiv/a-subtle-feature-of-a-carotid-bruit-that-changes-everything-a-brief-clinical-case-5ccdd8761118?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/5ccdd8761118</guid>
            <category><![CDATA[heart-murmur]]></category>
            <category><![CDATA[carotid-stenosis]]></category>
            <category><![CDATA[stethoscope]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[heart-sounds]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sat, 24 Oct 2026 17:19:51 GMT</pubDate>
            <atom:updated>2026-10-24T17:19:51.186Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes a barely noticeable finding can point to advanced, potentially life-threatening disease. Detecting these subtle signs can markedly improve the chance of timely treatment, yet they are easy to miss. When recognized, especially in a matter of minutes, they also bring deep professional satisfaction.</p><p>Here is an example.</p><p>Listen to this recording made over the right carotid artery (headphones strongly recommended):</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2425233414%26show_artwork%3Dtrue%26secret_token%3Ds-D0kiVv2JzZh&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fright-carotid-stenosis-bruit%2Fs-D0kiVv2JzZh%3Fsi%3Dc3b974ce842c4d4f9c01eb350948a0a8%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-CH5r0bW0rdfyzEz4-WyyvZw-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/19cc7395ef4aa0ed253f8653514c1ff0/href">https://medium.com/media/19cc7395ef4aa0ed253f8653514c1ff0/href</a></iframe><p>Analysis is challenging because of loud respiratory sounds, but a few clear cardiac cycles remain audible between breaths. A loud murmur is easily heard between S1 and S2, indicating a systolic bruit. The critical feature is that the sound continues past S2 into early diastole. This makes it a continuous (systolic–diastolic) bruit.</p><p>Systolic bruits over the carotids are common. The three main possibilities are:</p><p>1. Transmitted aortic stenosis murmur<br>2. Atherosclerotic stenosis of the carotid artery itself<br>3. Benign flow-related bruit from vessel angulation or high-velocity flow</p><p>Aortic stenosis produces only a systolic murmur, so it can be excluded. Atherosclerotic plaques frequently generate bruits; the duration and pitch increase with the severity of stenosis. Significant narrowing commonly allows the bruit to extend beyond S2 into diastole.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NdlcDFj5lW-D12wmgSAJ-A.png" /><figcaption>Oscillogram and spectrogram of the recording. Between the loud respiratory sounds, there are a few usable heart cycles. The systolic part of the bruit is clearly visible between S1 and S2, especially when not masked by respiratory sounds. A decrescendo diastolic tail is visible after S2. It is enough, if you listen carefully, to turn a routine neck exam into a dramatic vascular story.</figcaption></figure><p>In this case the continuous nature of the bruit is the key clue pointing to high-grade carotid stenosis. This lesion can produce a large stroke and usually warrants prompt vascular imaging and, when confirmed, consideration of revascularization.</p><p>The difficulty is that this subtle extension into diastole can be easily overlooked. It is one of the situations in medicine where the most useful information is what continues after the sound is supposed to have stopped.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5ccdd8761118" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Stop Being Confused by the Confusion Matrix: How to Understand and Interpret Medical AI Performance]]></title>
            <link>https://medium.com/@ivshpakiv/stop-being-confused-by-the-confusion-matrix-how-to-understand-and-interpret-medical-ai-performance-1b9f960f9ce2?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/1b9f960f9ce2</guid>
            <category><![CDATA[diagnosis]]></category>
            <category><![CDATA[sensitivity]]></category>
            <category><![CDATA[medical-ai]]></category>
            <category><![CDATA[specificity]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sun, 21 Jun 2026 19:00:24 GMT</pubDate>
            <atom:updated>2026-06-21T19:00:24.601Z</atom:updated>
            <content:encoded><![CDATA[<p>Any binary classification system (in this article, we are talking about AI-driven medical algorithms) has only two outputs: whether a feature (e.g., a disease) is present or absent. Ironically, evaluating the performance of such systems is tricky even for experienced data scientists and AI engineers, not to mention medical professionals. That is why the common approach to testing binary classification algorithms is called a <strong>confusion matrix</strong>. Honestly, it was a joke, but it’s really tricky.</p><p>I wrote this article to make understanding this rather complex topic as straightforward as possible. In most cases, this information should be sufficient to interpret the results of diagnostic and validation studies, participate in professional discussions, and plan and interpret your own tests.</p><h3>Confusion Matrix</h3><p>So, we have an algorithm that can analyze a sample and provide an output:</p><p>1 — the feature is present (a positive class)<br>0 — absent (a negative class)</p><p>As an example, we will use an AI algorithm that analyzes the heart sound recording made by a digital stethoscope and provides the binary output:</p><ul><li>Mitral regurgitation is present</li><li>Mitral regurgitation is absent</li></ul><p>In practice, it can be any other binary algorithm, e.g., dealing with echocardiography images, ECG recordings, etc.</p><p>To test any binary classification system, we need a test dataset consisting of labelled cases with positive and negative classes (heart sound recordings from people with and without mitral regurgitation). We will ‘feed’ this dataset into our algorithm, collect its predictions, and compare them with labels.</p><p>So, the feature (mitral regurgitation) can, in fact, be truly present or absent and, on the other hand, can be detected by the algorithm or not. Therefore, only four possible results can be achieved:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AXtN5RQPloo4gjM8SYI7tw.png" /></figure><p>This is a confusion matrix, which is the source of information characterizing the performance of any binary algorithm. A confusion matrix is frequently included in reports and articles with validation test results. Regulatory authorities, such as the FDA, can expect confusion matrix data to be included in validation reports.</p><p>Graphically, it can be presented as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XCjcWqY76nlpc_L_cTMDHQ.png" /><figcaption>A graphical representation of a confusion matrix. All cases are the square. Half of all cases truly have a feature, which is indicated by red. Another half of all cases truly do not have a feature, which is indicated by blue. In imbalanced datasets, the proportion of positive and negative cases can vary significantly. Areas where the prediction of the algorithm was right are cross-hatched (+), and those where it was wrong are horizontally lined (-). TP (true positive) — the algorithm truly predicted the feature, TN (true negative) — the algorithm truly predicted the absence of the feature. FN (false negative) — the algorithm missed the feature. FP (false positive) — the algorithm predicted the feature, which was, in reality, absent. False results are ‘the cube’s rotten core’, and later in this article, we will see some interesting logic behind this ‘rotten core’.</figcaption></figure><p>Too high a rate of FP leads to frequent false alarms of disease that does not exist and can overload the medical system.</p><p>Too high a number of FN means frequent missing of a disease, which can be an awful scenario if the disease is severe.</p><p>To test our algorithm, we should take our test dataset and process it with our algorithm. Next, we should calculate our TPs, TNs, FPs, and FNs. By doing so, we can calculate a number of metrics characterizing the performance of our algorithm.</p><p>But why more than one? Because none of them characterizes diagnostic performance perfectly.</p><h3>Metrics derived from the confusion matrix</h3><p>The purpose of this article is to simplify understanding what these metrics really mean without getting lost in the math. All the formulas are collected for reference in the box below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*WgF58zw3QJB3CBDXR-9xVg.png" /><figcaption>Formulas for the calculation of all the mentioned metrics. Squares on the right of each formula show parts of the confusion matrix used to calculate the current metric (dark areas).</figcaption></figure><h4>Sensitivity</h4><p><strong>Sensitivity, recall or true-positive rate</strong> shows the likelihood of detection of the feature. A negative result from an algorithm with high sensitivity means a very low probability of a feature, in our case, mitral regurgitation.</p><p>To memorize it more easily:</p><p><strong><em>SnNout</em></strong><em>: </em><strong><em>S</em></strong><em>e</em><strong><em>n</em></strong><em>sitive test, when </em><strong><em>N</em></strong><em>egative, rules </em><strong><em>out</em></strong><em> disease</em></p><h4>Specificity</h4><p><strong>Specificity or true negative rate</strong> shows the proportion of cases without the feature that are correctly identified. A positive result of an algorithm with high specificity means a high probability of a feature (mitral regurgitation, for our example).</p><p>To memorize it more easily:</p><p><strong><em>SpPin</em></strong><em>: </em><strong><em>Sp</em></strong><em>ecific test, when </em><strong><em>P</em></strong><em>ositive, rules </em><strong><em>in</em></strong><em> disease</em></p><p>If we swap the positive and negative classes, sensitivity and specificity will be swapped too: sensitivity for the positive class is specificity for the negative class, and specificity for the positive class is sensitivity for the negative class. Here is the reason why this matrix is the confusion matrix (it is a joke).</p><p>Neither sensitivity nor specificity depends on test dataset composition (balanced or unbalanced, I’ll explain below). That means that sensitivity and specificity, obtained on one test dataset, can be applicable to another population with different rate of disease. But, at the same time, sensitivity and specificity depend on some disease properties, e.g., severity. For example, severe mitral regurgitation generates more noticeable acoustic signs compared with mild and moderate, and in populations with a higher prevalence of severe cases, sensitivity and specificity are higher.</p><h4>Precision or positive predictive value</h4><p><strong>Precision or positive predictive value (PPV)</strong> is the likelihood that a predicted positive is actually positive.</p><h4>Negative predictive value</h4><p><strong>Negative predictive value (NPV)</strong> is the likelihood that a predicted negative is actually negative.</p><p>Unlike sensitivity and specificity, positive and negative predictive values are significantly affected by the dataset balance. As you can see in the PPV formula, it inversely depends on the number of false positives (FP). FPs are actually a part of all negatives. Because the algorithm correctly detects some proportion of all negatives, the larger the number of all negatives, the larger the number of FPs. So, an imbalanced test dataset with a prevalence of negative cases lowers PPV.</p><p>Precision is a popular metric in the AI industry and can be easily used on balanced datasets. But in medicine, you may be asked to provide this metric in connection with the pretest probability of a feature, which is actually directly related to the testing dataset composition.</p><p>In other words, sensitivity and specificity are intrinsic properties of an algorithm, while positive and negative predictive values characterize an algorithm connected with a population to which the algorithm is applied.</p><h4>Accuracy</h4><p><strong>Accuracy </strong>is the proportion of all right answers given by the algorithm (probability of a correct test result). It requires a balanced test dataset; otherwise, the result can be absurd. For example, if the rate of positive cases in the test dataset is 10%, and an algorithm detects all cases as negative (which means that 100% of positive cases were missed, and the algorithm does not work at all), the accuracy is 90%, which is high, and someone can be proud of that.</p><p>Sensitivity, specificity, accuracy, and positive and negative predictive value can have any value between 0 and 1; the higher, the better. None of these metrics is meaningful on its own. Sensitivity should always be reported together with specificity. It is best to have both positive predictive value (PPV) and negative predictive value (NPV) as well. Otherwise, the numbers can be misleading.</p><p>For example, an algorithm that always predicts ‘positive’ achieves a sensitivity of 1.0, but has a specificity of 0, making it completely useless. Accuracy is only meaningful when the dataset is balanced.</p><h4>Odds ratio</h4><p><strong>Odds ratio</strong> is an another metric of diagnostic performance that requires both sensitivity and specificity for calculation and can be used to compare performance of different algorithms, e.g., in meta-analyses. An odds ratio of 1 means that an algorithm does not work, greater than 1 means that a positive result rises the likelihood of a disease, and lower than 1 decreases its likelihood.</p><p>If you have two different algorithms with the same intended use and you know their sensitivities and specificities, you can calculate their odds ratios and compare them.</p><p>Unlike accuracy, the odds ratio does not depend on the prevalence of disease in a test dataset, but it has some significant restrictions. For example, if one test has sensitivity 0.7 and specificity 0.9, and another test has sencitivity 0.9 and specificity 0.7, the odds ratios of both algorithms are the same, but, in fact, these two algorithms clinically behave very differently.</p><p>Another restriction is that it works with only one decision threshold, which I will explain below in the ROC-analysis section.</p><h4>Matthews Correlation Coefficient (MCC)</h4><p>Sensitivity, specificity, PPV, NPV, and accuracy are popular in medical literature.</p><p>The <strong>Matthews Correlation Coefficient (MCC)</strong> is not frequently used in medical publications, but it is informative because it uses all four numbers from the confusion matrix.</p><p>It can take any value between -1 and 1.0 means that an algorithm does not work and provides random results. MCC, like accuracy, depends on an imbalance in the test dataset.</p><h4>Likelihood ratios</h4><p>Two other indices can be used to estimate disease likelihood in clinical practice, but they make little sense for validating AI algorithms because they are entirely derived from sensitivity and specificity. <strong>The positive likelihood ratio</strong> is the proportion of samples from ill people with a positive algorithm result (sensitivity) divided by the proportion of samples from healthy people with a positive algorithm result.</p><p><strong>Positive likelihood ratio </strong>= sensitivity / (1 — specificity) = TPrate / FPrate</p><p><strong>Negative likelihood ratio </strong>= (1 — sencitivity) / specificity = FNrate / TNrate</p><p>A positive likelihood ratio can be any positive number starting from 0 up to infinity. If it is lower than 1, it decreases the likelihood of a disease; if it is above 1, it increases the likelihood. If it is 1, it does not change it. Values of 2, 5, and 10 increase the disease probability by about 15%, 30%, 45%, respectively. Values of 0.5, 0.2, 0.1 decrease it by about 15%, 30%, 45%, respectively.</p><p>Likelihood ratios are outside the scope of this article. For medical professionals, I recommend a perfect book on the topic: McGee’s Evidence-Based Physical Diagnosis, which explains and frequently uses these two indices. Honestly, during my more than 20 years of cardiological practice, I never calculated disease probabilities, but in some cases, it can be helpful.</p><h3>Deeper into the algorithm output and ROC analysis</h3><p>To the best of my knowledge, AI binary algorithms (or at least most of them) do not produce two kinds of output: yes or no. They return a number. One number.</p><p>AI algorithms process a sample, assess its properties, and calculate the probability of a feature (mitral regurgitation in our case), which is a value between 0 and 1. 0 indicates the lowest probability, and 1 indicates the highest probability. If the algorithm does not work at all, after processing the test dataset, it will give us a random distribution of numbers between 0 and 1. But if the algorithm is efficient, it will give two distributions: one closer to 0 (containing mostly negative class cases) and another closer to 1 (containing mostly positive class cases).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_zr7t9wukvp7_IctJqbOdg.png" /><figcaption>Two probability distributions produced by an efficient binary AI algorithm. The cutoff threshold can be placed anywhere, depending on the sensitivity and specificity values we want to achieve. The problem is that these distributions usually overlap.</figcaption></figure><p>Next, we can place a cut-off at any value on the scale between 0 and 1. Everything to the left of the cut-off now is negative, and everything to the right is positive. This is the output of our algorithm, which we are assessing. So, the judgment of whether the feature is present or absent is outside of AI; it is a simple rule that uses probability calculated by AI.</p><p>The problem is that these two distributions usually overlap, which is the reason for errors, ‘the cube’s rotten core’ mentioned above.</p><p>We can place the cut-off point anywhere between 0 and 1. The cut-off point does not influence algorithm performance but does define the final output, affecting the distribution in the confusion matrix and the metrics. Here we can prioritize sensitivity or specificity, but never both. Pretty frequently in practice, the cut-off is not 0.5 (the central point).</p><p>We can move the cut-off in any direction. It does not affect the AI-algorithm performance; it changes sensitivity and specificity.</p><p>If we move the cut-off point to the left, we increase the number of correctly predicted TP and sensitivity. But at the same time, a larger number of TN will be falsely predicted as positives, decreasing specificity.</p><p>If we move the cut-off point to the right, the result will be opposite: fewer TPs will be correctly predicted, but more TNs will be ruled out. As a result, we will have lower sensitivity, but higher specificity.</p><p>All possible cut-off positions can be analyzed using <strong>Receiver Operating Characteristic (ROC) analysis</strong>.</p><p><strong>The ROC curve</strong> is a plot of true positive rate (sensitivity) versus false positive rate:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ju9szEFUMtDoiFBpArLQeg.png" /><figcaption>Two hypothetical ROC-curves. A black one correspond to an efficient algorithm. A lighter one (a straight line starting from the left lower corner having 45 degree) corresponds to the algorithm providing a chance based responses.</figcaption></figure><ul><li>X-axis: false positive rate or 1-specificity</li><li>Y-axis: true positive rate or sensitivity</li><li>Any point of the curve is one possible threshold.</li><li><strong>Area Under the Curve (AUC-ROC)</strong> is a number corresponding to the actual area under the ROC-curve. If it is 1, an algorithm provides only the right answers (I have never seen that). If it is 0.5, the algorithm does not work, and its output is totally random. Efficient algorithms have this number between 0.5 and 1.</li></ul><p>Receiver Operating Characteristic analysis, at least for me, was a bloody unclear term. But the history resolves this mystery. This term was born during World War II, when engineers were searching for the best settings for radar performance. Receiver meant a radar, operating meant settings (sensitivity), and characteristic meant final performance.</p><h3>Importance of the Test Dataset</h3><p>The same data cannot be used both for training and testing. An AI algorithm can memorize specific for mitral regurgitation patterns which are universal for all possible cases of mitral regurgitation. This is the ultimate goal. But also, an AI algorithm can just learn all aspects of data used for AI algorithm training, literally memorizing each file. If some files from the training dataset are present in the testing dataset, the AI algorithm can simply recognize learned files, which will create high metrics for a low-performing algorithm. This is a typical error in the AI industry: <strong>data leakage</strong>, where part of the training data is used for testing, leading to inflated metrics. AI does not make a correct diagnosis; instead, it recognizes files it has already dealt with.</p><p>We will never know the real performance of almost any binary classification algorithm ideally precise because there is no ideally informative method or metric to assess it. Additionally, almost any binary classification algorithm behaves differently with different data. If the real-life population is different compared to the test dataset, and real-life performance can also be different.</p><p>The test dataset can be <strong>balanced</strong> with an equal number of positive and negative cases, or <strong>asymmetrical</strong>. Apparently, a balanced dataset creates the best mathematical conditions for obtaining high-quality metrics. But in real life, the population is not balanced, e.g., even between cardiologic patients a group with mitral regurgitation is a minority. The intended population is usually unbalanced.</p><p>Complexity of the test dataset matters too. For example, a number of diseases, such as aortic stenosis, pulmonic stenosis, tricuspid regurgitation, and ventricular septum defect, can imitate mitral regurgitation, because they can produce systolic murmurs, as mitral regurgitation does. Things are even more complicated: mitral regurgitation frequently coexists with other valvular issues, including mentioned here. So, the test dataset containing all possible valvular issues, should be used to obtain the real performance metrics. If someone into the testing dataset put only pure mitral regurgitation and completely healthy cases without any heart murmurs at all , we would never see the real performance of our algorithm, because the test dataset is artificially oversimplified.</p><p>It is so challenging that, to the best of my knowledge, there is still no commercially available AI algorithm for detecting mitral regurgitation.</p><p><strong>Special thanks</strong> to <strong>Belinda Parsons</strong> for the illustrations and to <strong>Tetiana Bieliukina</strong> for fact-checking and valuable advice.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1b9f960f9ce2" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Ultimate Guide to Heart Sound Analysis, Part 4: Hearing for Heart Sound Analysis, Its Strengths…]]></title>
            <link>https://medium.com/@ivshpakiv/an-ultimate-guide-to-heart-sound-analysis-part-4-hearing-for-heart-sound-analysis-its-strengths-da0a3df2f13e?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/da0a3df2f13e</guid>
            <category><![CDATA[stethoscope]]></category>
            <category><![CDATA[heart-sounds]]></category>
            <category><![CDATA[bioacoustics]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[stethophone]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sun, 07 Dec 2025 18:05:45 GMT</pubDate>
            <atom:updated>2025-12-07T18:05:45.739Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Ultimate Guide to Heart Sound Analysis, Part 4: Hearing for Heart Sound Analysis, Its Strengths and Limitations</h3><p>About 25 years ago, as a young medical doctor, I bought my first expensive stethoscope. The first time I placed its chest piece over a patient’s heart, I expected to hear something new, bright, loud, clear murmurs and gallops. But I heard the same soft, dull sounds as through my old Sprague-Rappaport stethoscope. Why? Because that’s the nature of heart sounds: they’re soft and dull. They’re different compared to the human voice and music we’re familiar with.</p><p>There are three main tools for heart sound analysis:</p><p>1. Hearing<br>2. Visualization<br>3. AI and other algorithms</p><p>Hearing is a very powerful tool. Nearly all known acoustic symptoms of heart disease were discovered by the human ear. To be efficient, we need to know what can be detected by hearing and what can’t, and how to compensate for the “blind spots” of hearing with <a href="https://medium.com/@ivshpakiv/an-ultimate-guide-for-heart-sound-analysis-part-2-spectrogram-as-a-tool-for-heart-sound-80f2a12de92d">sound visualization</a>. By the way, we also need to compensate for the blind spots of sound visualization with hearing, ironically.</p><h3>Hearing Sensitivity</h3><p>Simplifying things, we can say that sound is all vibrations detectable by the human ear. Generally, we can detect vibrations in the range of 20–20,000 vibrations per second, or Hertz. Below 20 Hz is infrasound; above it is ultrasound. Both are outside our hearing perception.</p><p>Hearing sensitivity isn’t constant across the entire audible frequency range. It’s obvious: it’s impossible to imagine that we can easily hear a 20 Hz sound but not a 19 Hz one. Human hearing sensitivity is maximal somewhere between 2,000 and 5,000 Hz, and it gradually decreases toward both extremes of the audible range, where sensitivity becomes zero.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*myseUqCQgfwb54rVUczL7w.png" /><figcaption>This is a theoretical plot of human hearing sensitivity. It’s maximal approximately between 2,000 and 5,000 Hz and decreases in both directions, becoming zero around 20 and 20,000 Hz. It’s not obligatory, but if you want to dive deeper, read on. To the best of my knowledge, there are no specific units for sound sensitivity. Hearing sensitivity can be measured by detecting the lowest loudness that can be heard across the frequency spectrum. The shape of this threshold plot is the inverse of the current one, U-shaped. To simplify, I used a theoretical sensitivity curve.</figcaption></figure><p>Now we’ll focus only on the heart sound frequency range, which is in the left part of the plot above. Here, our ears’ sensitivity is near zero around 20 Hz and rises dramatically with increasing frequency. It’s still very low below 50 Hz, noticeably better around 100 Hz, and pretty high above 400 Hz. For comparison, sensitivity around 500 Hz is about 4,000 times higher than around 50 Hz. I can’t promise absolute accuracy on this claim, but anyway, it’s extremely higher.</p><p>Heart sounds nearly never go beyond 2,000 Hz. Actually, many digital stethoscopes, including the most advanced and expensive models, operate in the range below 2,000 Hz. It’s a very unnatural frequency range for us. Here is a short part of my music: the first 10 seconds is the original sound between 20 and 20,000 Hz; the second fragment was filtered to the frequency range of 20–2,000 Hz; the third one was filtered to the frequency range of 20–500 Hz, and the last one was filtered to the frequency range of 20–200 Hz.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2225599781%26show_artwork%3Dtrue%26secret_token%3Ds-JFOC2mlXZTB&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fwhole-range_2000hz_500hz%2Fs-JFOC2mlXZTB%3Fsi%3De3fc1317101d4c63a588ed2860044478%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-t6k2PiiLrQbzobXr-svDfCQ-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/d2361dddd5fb113b80d0ce5dfb342002/href">https://medium.com/media/d2361dddd5fb113b80d0ce5dfb342002/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/694/1*gKldWOm_MNjtplC0MAT_SQ.png" /><figcaption>The frequency filters used for this musical example.</figcaption></figure><h3>Power Distribution in Heart Sounds</h3><p>The amplitude or power of heart sound vibrations has the opposite distribution: it’s maximal in the lower frequency range and gradually decreases with increasing frequencies. This is very generalized and approximate, but in my opinion, about 80–90% of heart sound power is below 200 Hz. In most cases, the amplitude of vibrations around 500 Hz is very small, but due to our phenomenal ear sensitivity, we can hear these tiny vibrations efficiently. They can even be perceived as louder than vibrations around 100 Hz, despite the fact that 100 Hz vibrations can be many times more powerful.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*57PDEl1fAn_lLQTNonHvVg.png" /><figcaption>Here is a spectrogram of a heart sound obtained by Stethophone. S1 and S2 were detected and labeled by its AI-algorithm. Note that the lowest frequencies have the maximal power, and as frequency rises, amplitude decreases. The first shape depicts a very simplified power distribution across the heart sound frequency range; the second one shows hearing sensitivity distribution.</figcaption></figure><h3>Comparing Hearing and Sound Visualization</h3><p>The higher the wave amplitude, the more likely it is to be detectable on a spectrogram or oscillogram. The higher the frequency and amplitude of a heart sound vibration, the more likely it is to be heard. Lower frequencies in heart sounds have large amplitudes and are easily noticeable on the spectrogram, but they’re barely heard. High frequencies can be unnoticeable on the spectrogram and oscillogram but still audible.</p><p>Our ears are the most efficient tool for detecting small, high-frequency vibrations — like <a href="https://medium.com/@ivshpakiv/how-to-hear-one-of-the-most-challenging-heart-murmurs-diastolic-murmur-of-aortic-regurgitation-427248403cf9">aortic regurgitation murmurs</a>, for example. Our ears can easily miss low-frequency symptoms, which can be easily detected on a spectrogram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YdqnHghUmeVChwpewpeJ0Q.png" /><figcaption>Here is an example of a heart sound containing two signs: a midsystolic click from mitral valve prolapse (arrow) and an S4. The S4 is clearly visible on the spectrogram and oscillogram, but was not heard. The click has very small amplitude, but it was detectable by hearing. The click is unnoticeable on the oscillogram due to very low amplitude but detectable on the spectrogram. This spectrogram was obtained by comercially unavailable software.</figcaption></figure><h4>Back to the story that opened this article.</h4><p>Our hearing sensitivity sets the hard limits of what a conventional (acoustic) stethoscope can reveal, but it doesn’t limit a digital one in the same way. Digital stethoscopes can make heart sounds more detectable by using advanced filtering, real-time sound visualization, and AI-powered algorithms.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da0a3df2f13e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Ultimate Guide to Heart Sound Analysis, Part 3: Key Insights into Spectrograms]]></title>
            <link>https://medium.com/@ivshpakiv/an-ultimate-guide-to-heart-sound-analysis-part-3-key-insights-into-spectrograms-39826709ee1b?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/39826709ee1b</guid>
            <category><![CDATA[stethoscope]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[stethophone]]></category>
            <category><![CDATA[heart-sounds]]></category>
            <category><![CDATA[bioacoustics]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sun, 30 Nov 2025 22:25:36 GMT</pubDate>
            <atom:updated>2025-11-30T22:34:02.086Z</atom:updated>
            <content:encoded><![CDATA[<p>About 15 years ago, I dove deep into heart auscultation, aiming to master it. That choice transformed my life in surprising ways, but initially, I tackled its full complexity on my own. One of my smartest moves was investing in a digital stethoscope, which was the Littmann 3200. It recorded body sounds and came with software that visualized them as spectrograms. Here is an example from these years:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AXRWXpVDfb816vQfYfW6cg.png" /><figcaption>A case of severe aortic regurgitation with a very loud musical diastolic murmur and atrial fibrillation. Vibration of aortic valve cusps was visible during echocardiography. Corresponding sounds are in the file below.</figcaption></figure><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2221691708%26show_artwork%3Dtrue%26secret_token%3Ds-4KZkQnv6369&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsevere-aortic-regurgitation%2Fs-4KZkQnv6369%3Fsi%3D2a6835c9dcec423496ec045bb5f6a025%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-17herpGWzgaTxcHU-PyKLwA-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/069f83d140d5afe553a6274cd68ac460/href">https://medium.com/media/069f83d140d5afe553a6274cd68ac460/href</a></iframe><p>Once I began listening to heart sound recordings while scrutinizing their spectrograms side by side, my skills advanced rapidly. Spectrograms turn sounds into tangible, almost 3D-like structures — far more graspable than the ethereal vibrations we hear. Probably, the first discovery was how frequent the third and fourth heart sounds (S3 and S4) are in the real cardiological practice. In most cases we cannot hear hem, but we can identify them on spectrograms easily.</p><p>I’ve already covered how to apply spectrograms to heart sound analysis in <a href="https://medium.com/@ivshpakiv/an-ultimate-guide-for-heart-sound-analysis-part-2-spectrogram-as-a-tool-for-heart-sound-80f2a12de92d">this article</a>. Now, let’s explore how they’re generated, along with some of their limitations.</p><p>Ironically, the concept of spectrograms emerged long before the technology to create them existed.</p><h3>Fourier’s Theorem</h3><p>In 1822, French mathematician and physicist Jean-Baptiste Joseph Fourier released a treatise stating, in essence, that any complex waveform decomposes into simple sine waves. These sine waves represent the purest vibrations, like those of a pendulum or tuning fork. In reality, a complex object oscillates sinusoidally at varying amplitudes and directions, and the sum of these is the sound we perceive.</p><p>Using mathematical algorithms, we break down the waveform to quantify each sine wave’s amplitude, frequency, and phase. Plotting this data yields a spectrogram.</p><p>To the best of my knowledge, the earliest spectrograms relied on analog equipment. Check out <a href="https://languagelog.ldc.upenn.edu/myl/koenig1946.pdf">this seminal article</a> featuring the first published ones, which are impressively high-quality and aesthetically pleasing, in my view.</p><p>Most audio samples in <a href="https://medium.com/@ivshpakiv/an-ultimate-guide-for-heart-sound-analysis-part-2-spectrogram-as-a-tool-for-heart-sound-80f2a12de92d">my previous article</a> use sinusoidal waves, resulting in straight and curved lines tied to single frequencies. Only pure sine waves produce such linear patterns on spectrograms; everything else, built from multiple sinusoids, creates more complex shapes.</p><h3>Time and Frequency Resolution</h3><p>It’s essential to note that spectrograms aren’t raw depictions of sound waves. The true direct view is the waveform itself, capturing pressure fluctuations that vibrate our eardrums. Spectrograms offer clearer insights for analysis, but at a cost: they trade off some precision. Depending on the algorithm settings, a spectrogram might excel in temporal accuracy but lag in frequency detail, or vice versa. Every spectrogram balances time and frequency resolution. For pinpoint timing, stick to the waveform (oscillogram). In practice, though, the trade-off is minor and often negligible. You can notice that heart sounds borders are slightly blurred and more wide comparing with oscillogram. But, after all, sound spectrograms provide so huge advantage for sound analysis, that this resolution issue can be ignored.</p><h3>When Is the Raw Waveform Superior?</h3><p>Waveforms excel at displaying overall amplitude distribution visually. This proves handy for spotting low-frequency S3 and S4, which are typically powerful enough to stand out on an oscillogram. On spectrograms, S3 and S4 frequently can be mimicked by artifacts belonged to low-frequency evolving rumble common in most body sound recordings. In most cases these artifacts are not noticeable on the oscillogram due to its low amplitude. Identifying brief low-frequency spikes in diastole on oscillogram helps distinguish genuine S3 and S4 from artifacts.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JAUCtD2W4O7t_Manaa94tw.png" /><figcaption>An example of a normal S3. S3 is a low-frequency sound in early diastole. It is a frequent acoustical symptom, but unfortunately unnoticeable in most cases. In adults it is a sign of acute heart failure, severe mitral or tricuspid regurgitation. In children and young people S3 is frequent and normal. Compare spectrogram (left) and corresponding oscillogram (right): there are two detected by AI-algorithm S3. This plots were made by a device prototype which is not available commercially yet.</figcaption></figure><p>By the way, this rumble is a mixture of muscles sound and and ambient noise. This is one of the most common masking artefacts on the body sound recordings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=39826709ee1b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Game Kicks Off Before You Even Realize You’re Playing]]></title>
            <link>https://medium.com/@ivshpakiv/the-game-kicks-off-before-you-even-realize-youre-playing-0e0e9e9f0c16?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e0e9e9f0c16</guid>
            <category><![CDATA[mental-health]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[life]]></category>
            <category><![CDATA[business]]></category>
            <category><![CDATA[leadership]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Wed, 24 Sep 2025 11:26:01 GMT</pubDate>
            <atom:updated>2025-09-24T11:26:01.403Z</atom:updated>
            <content:encoded><![CDATA[<p>The game begins before you even realize you’re in it.</p><p>It starts before you catch on that you’ve stumbled into something resembling a game, and bother to pick up the rulebook. By the time you finish reading the rules, someone has already changed them.</p><p>People start testing you before you even know anyone’s watching. By the time you notice the spotlight, the audition is usually over.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VRVkMFg-gCINZn1J99R3ZQ.jpeg" /></figure><h4>There are two kinds of games.</h4><p>The first kind is the big ones. The stakes are so absurdly high you’ll need every ounce of strength just to avoid losing. We’re talking well-being, health, sometimes even life itself.</p><p>The second kind is games for fun. Strangely enough, here it’s less about winning and more about how you play and what you pick up along the way. To stay calme, respectful and not too talkative can be a challenging win.</p><p>With those first games, it helps to remember that they are games. Because if you take them all too seriously, fear will eat you alive. And it’s hard to win if you’re half-crazy from insomnia. Play it like a game, and it makes survival oddly easier.</p><p>The second kind? Doesn’t matter much if you trounced your buddy at chess. What matters is whether you kept your cool, stayed good company, and walked away having learned something from your friend you didn’t have before. To have a friend capable to teach you is a part of these games as well. All these lessons sharpen your odds in the big games. Think of it as training. Don’t get lost in cheap victories. Think wider.</p><p>Now, you’re thinking I wrote this for you. Wrong. I wrote it for myself. To remind me to keep my head.</p><p>After all, didn’t I say? The game starts long before you know you’re in it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e0e9e9f0c16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Ultimate Guide for Heart Sound Analysis, Part 2: Spectrogram as a Tool for Heart Sound…]]></title>
            <link>https://medium.com/@ivshpakiv/an-ultimate-guide-for-heart-sound-analysis-part-2-spectrogram-as-a-tool-for-heart-sound-80f2a12de92d?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/80f2a12de92d</guid>
            <category><![CDATA[heart-murmur]]></category>
            <category><![CDATA[auscultation]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[heart-sounds]]></category>
            <category><![CDATA[stethoscope]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Wed, 17 Sep 2025 12:10:56 GMT</pubDate>
            <atom:updated>2025-09-17T12:10:56.007Z</atom:updated>
            <content:encoded><![CDATA[<h3>An Ultimate Guide for Heart Sound Analysis, Part 2: Spectrogram as a Tool for Heart Sound Visualization and Analysis</h3><p>Heart auscultation is complex because sound is an abstract phenomenon that exists only in the moment: a sound we heard just a second ago no longer exists.</p><p>In addition, our hearing has natural limitations:</p><ul><li>Some sounds are barely noticeable because they are too soft or fall outside the most sensitive range of our hearing.</li><li>Some sounds are too complex to interpret accurately by ear.</li></ul><p><strong>Sound visualization helps overcome these limitations.</strong></p><p>Some commercially available digital stethoscopes now provide instant sound visualization, often in far more detail than even the best analog phonocardiographs of the recent past. There are two primary options:</p><ol><li>Conventional visualization of the sound wave (oscillogram)</li><li>Spectrogram</li></ol><p>At present, the spectrogram is the most informative form of sound visualization. It essentially decomposes any sound into its “atoms,” regardless of complexity. This is why many acoustic AI algorithms operate on spectrograms rather than raw waveforms.</p><p>Despite its abstract and scientific appearance, the spectrogram is surprisingly easy to use. This article is a starting point.</p><p>I am part of the team developing <strong><em>Stethophone</em></strong>, a professional medical device that can visualize body sounds as spectrograms (actually, it is a software for smartphones, which turns them into a kind of human body sound analysis lab). In developing AI algorithms for heart sound analysis, my expert team and I use spectrograms for both analysis and data labeling. Therefore, I will use the Stethophone’s visualization engine for the examples that follow.</p><p>A sound spectrogram is a two-dimensional plot that actually contains three dimensions:</p><p>1. The horizontal axis represents time. <br>2. The vertical axis corresponds to frequency. <br>3. Color intensity corresponds to wave amplitude (which, subjectively, relates to loudness).</p><p>Spectrograms are especially intuitive when used in parallel with listening to the corresponding sound. If my explanation feels abstract, you can skip ahead to the example of severe mitral regurgitation at the end of this article and compare the sound with its spectrogram. If that example seems difficult to interpret at first, keep reading the detailed breakdown that follows.</p><p>Listen to the sounds and compare them with the corresponding spectrograms.</p><h4>Example 1: A simple sound wave at 200 Hz with a gradually decreasing amplitude</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171994777%26show_artwork%3Dtrue%26secret_token%3Ds-WdgvlTAq2T3&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2F200-hz-decrescendo-sine-wave%2Fs-WdgvlTAq2T3%3Fsi%3Dfff324f311a944498d322705b519f046%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-oWBUr7SUilsqyOt0-bj2HxQ-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/298f02da9b2d96bb32604f75e2c72543/href">https://medium.com/media/298f02da9b2d96bb32604f75e2c72543/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x6mzVTtsb5q4ifCR0zp5tg.png" /><figcaption>The 200 Hz frequency appears on the vertical axis. Time is shown on the horizontal axis. The decreasing loudness is clearly reflected in the spectrogram as a gradual change in color intensity.</figcaption></figure><h4>Example 2: A sequence of three sounds at 200 Hz</h4><p>The correspondence is straightforward: the spectrogram shows the timing (onset and offset) of each sound and their shared frequency of 200 Hz.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171981925%26show_artwork%3Dtrue%26secret_token%3Ds-rutyskhCuUl&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2F200hz-sine-wave%2Fs-rutyskhCuUl%3Fsi%3D950580a398344945a9f450e4893e562f%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-x9dbxbyys5qPkX6h-RbpbQw-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/9192df6f6fdbb47886845b8227870e21/href">https://medium.com/media/9192df6f6fdbb47886845b8227870e21/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*172Y6t0fVqTiq-khy4lrIA.png" /><figcaption>The correspondence is straightforward: the spectrogram shows the timing (onset and offset) of each sound and their shared frequency of 200 Hz.</figcaption></figure><h4>Example 3: A sequence of alternating sounds at different frequencies</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171982828%26show_artwork%3Dtrue%26secret_token%3Ds-t2UWauEPWVZ&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsequence-200-300-200-hz-sine-waves%2Fs-t2UWauEPWVZ%3Fsi%3D870ce37fba43470799abd16bcb8c1cba%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-aACSMVDGLYa7RMhW-2geG6w-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/edfbb3fa4cd494d937418d200af267d4/href">https://medium.com/media/edfbb3fa4cd494d937418d200af267d4/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SSvIQnHM5xgJdpUjbWpCKQ.png" /><figcaption>Here we have two sounds at 200 Hz alternating with one at 300 Hz. The frequency difference is both visible on the spectrogram and audible.</figcaption></figure><h4>Example 4: Alternating and simultaneous frequencies of 200 Hz and 300 Hz</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171983332%26show_artwork%3Dtrue%26secret_token%3Ds-rjpeUsnTu3A&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsequence-200-300-200-and-300-hz-sine-waves%2Fs-rjpeUsnTu3A%3Fsi%3D2b0b2fba14fe43448d77f33d0a6ec782%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-iXr7GCaMztv9o1X4-bhyDIg-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/135ea169b4f8a21ebda38354d6c7dade/href">https://medium.com/media/135ea169b4f8a21ebda38354d6c7dade/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*INDvQaBq3ayycJZibuEHzA.png" /><figcaption>Both alternating individual frequencies and simultaneous combined tones can be visualized clearly. The last two simultaneous sounds on the spectrogram have different color, because they are softer.</figcaption></figure><h4>Example 5: A sound wave with evolving frequency</h4><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171983977%26show_artwork%3Dtrue%26secret_token%3Ds-NEWKXGfm2Hs&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsine-wave-with-evolving-frequency%2Fs-NEWKXGfm2Hs%3Fsi%3D4c7f1e3c6d254b0587013153cd4956b3%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-1X76HcU0UoYO4BwI-I0DX7Q-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/69cfffe71ef07d0bc8128927bd8c2272/href">https://medium.com/media/69cfffe71ef07d0bc8128927bd8c2272/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4eRf9FsaGsLABZDpH3HcGg.png" /><figcaption>Here, the frequency gradually changes between 150 Hz and 350 Hz, reflected as a continuous upward and downward shift on the spectrogram.</figcaption></figure><h4>Example 6: Pink noise</h4><p>Up until now, we have looked at mostly pure tones (except for Example 4). Real-world sounds, including heart sounds, are usually far more complex, often resembling noise. Spectrograms are especially powerful here: algorithms can decompose any complex waveform into its simplest vibrations, measure their frequencies and timing, and present all of this information on a single clear graph.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171984256%26show_artwork%3Dtrue%26secret_token%3Ds-CuqexRKgP4E&amp;display_name=SoundCloud&amp;url=http%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fpink-noise%2Fs-CuqexRKgP4E%3Fsi%3Db2b6f98d0d334541bac73217dd44aef5%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-YBcqzSAS9ZEPhylz-qqCOcg-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/a5d09dfe267446503e23f6ca989ac264/href">https://medium.com/media/a5d09dfe267446503e23f6ca989ac264/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1mgGtx5XOSPpFw2kCWm37w.png" /><figcaption>Noise represents the other extreme compared to pure tones. Unlike pure frequencies, noise contains random simultaneous vibrations across the entire audible frequency spectrum. In the case of pink noise, the spectrogram displays sound energy across the full range, with amplitude decreasing gradually as frequency increases. This appears as a gradual change in colour from the bottom of the graph to the top.</figcaption></figure><h4>Example 7: Severe mitral regurgitation</h4><p>Now let’s move on to a real clinical example. Here is a sound and a spectrogram of a patient with severe mitral regurgitation:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F2171985135%26show_artwork%3Dtrue%26secret_token%3Ds-yV4Q8Cnkqme&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsevere-mitral-regurgitation-systolic-murmur-s3-atrial-fibrillation%2Fs-yV4Q8Cnkqme%3Fsi%3D82d8d28022d244738c7b3e373e772711%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-74YKB4NUcPjdiOsG-FOUsAw-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/084bf2b8745483c7d2769529364ec829/href">https://medium.com/media/084bf2b8745483c7d2769529364ec829/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E9Xr0DkBCZkE0ZIB007knw.png" /><figcaption>S1 — the first heart sound <br>S2 — the second heart sound <br>S3 — the third heart sound <br>Murmur — holosystolic murmur of mitral regurgitation</figcaption></figure><p>On the spectrogram, you can see the precise timing of each sound and the frequency content of each feature. The prominent systolic murmur corresponds to blood flow from the left ventricle to the left atrium due to mitral regurgitation. This murmur appears between S1 and S2. S1 and S2, heart murmur, and heart rate (92 at the top) were automatically detected and labeled by an AI algorithm.</p><p>In my next post, I will delve into the details of how our mental analysis of sound follows the same logical structure as a spectrogram.</p><h3>Disclamer</h3><p>For the illustrations in this article, I used Stethophone, version 3.5.0, as well as the examples from the internal proprietary sound analysis system.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=80f2a12de92d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How to Hear One of the Most Challenging Heart Murmurs: Diastolic Murmur of Aortic Regurgitation]]></title>
            <link>https://medium.com/@ivshpakiv/how-to-hear-one-of-the-most-challenging-heart-murmurs-diastolic-murmur-of-aortic-regurgitation-427248403cf9?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/427248403cf9</guid>
            <category><![CDATA[heart-sounds]]></category>
            <category><![CDATA[bioacoustics]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[stethoscope]]></category>
            <category><![CDATA[heart-murmur]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sat, 30 Aug 2025 16:00:42 GMT</pubDate>
            <atom:updated>2025-08-30T16:00:42.088Z</atom:updated>
            <content:encoded><![CDATA[<p>In this article, I’ll show you how to boost your skills in detecting a common but tricky heart murmur. I’ll share a few real clinical recordings of this murmur. We’ll start with the loudest and finish with the softest. The skill enables medical professionals to identify aortic regurgitation, which can help resolve many diagnostic challenges quickly and benefit many patients throughout a long medical career.</p><p>Three out of four human heart valves — mitral, tricuspid, and pulmonary — can be normally insufficient, allowing some low-volume backward blood flow. For example, my mitral, tricuspid, and pulmonary valves are physiologically insufficient. Only aortic insufficiency is always abnormal (even if it is mild) and can be not only a consequence of slowly evolving aortic valve degeneration, but also of infective endocarditis and aortic dissection. These conditions can cause quick death. Timely diagnosis can greatly improve the prognosis.</p><p>Fortunately, we can detect even mild aortic regurgitation because it generates a heart murmur due to the backward flow of blood during diastole. This is a diastolic murmur.</p><p>Diastolic murmurs are nearly always more complex to hear than systolic ones. I spent years mastering the detection of aortic regurgitation murmurs. One early case is particularly notable, and I’ve learned a great deal from it.</p><h4>My story: this murmur can be missed even when it is loud</h4><p>In the early 2000s, I was examining a male patient. I was listening to his heart, specifically searching for splitting of the second heart sound over a point somewhere to the left of the middle sternal border. I spent about a minute when suddenly I heard an early diastolic hissing decrescendo murmur, typical of aortic regurgitation.</p><p>Paradoxically, the murmur was loud enough, and I easily heard it after detection. The mystery is that I listened to the heart for about a minute at one spot before noticing this pretty loud murmur. Why didn’t I hear it from the very beginning?</p><h4>Understanding aortic regurgitation murmur</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6NM5UdYYWUj0Neh69TxdJw.png" /><figcaption>Typical shape and timing of aortic regurgitation murmur (a triangle): it starts with the second heart sound S2 and gradually decreases during diastole (S2-S1 interval). The murmur may fade before diastole ends or stop with S1, marking the start of systole.</figcaption></figure><ol><li>The aortic regurgitation murmur begins right when the aortic valve closes, just after systole ends.</li><li>Blood flows back to the left ventricle through an incompetent valve from the aorta, which causes an aortic regurgitation murmur. This happens due to the pressure difference (gradient) between the aorta and the left ventricle.</li><li>At the start of diastole, the pressure gradient is high. This is because the pressure in the aorta is elevated, thanks to the maximum blood volume inside it. At the same time, the early-diastolic pressure in the left ventricle is very low to allow the diastolic filling from the left atrium.</li><li>During diastole, the pressure gradient aorta-left ventricle gradually decreases because the aorta is emptying (which reduces the pressure inside it). Still, the left ventricle is filling up (which increases the pressure inside it). The gradually decreasing gradient causes a slow reduction in regurgitation flow velocity and the intensity of the murmur.</li><li>At the end of diastole, the left ventricle starts to contract, which leads to a momentarily dramatic rise in pressure inside it, thereby zeroing the pressure gradient between the aorta and the left ventricle, and then reversing it at the beginning of systole.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hp5v4TDfNS1tRL3WVRnCjw.png" /><figcaption>It is easier to capture aortic regurgitation murmur when listening to S2 splitting, as it shifts our perception to the frequency range of aortic regurgitation murmur.</figcaption></figure><p>As a result, the aortic regurgitation murmur exhibits a similar property to the Doppler spectra of the flow that generates this murmur: they begin at a very high point just after the aortic valve closes and gradually decrease until the end of diastole. More severe aortic regurgitation tends to generate a shorter murmur because of the faster decrease of the diastolic pressure gradient between the aorta and left ventricle.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*b_aqCrF1ZDxSe_XyZ87MpA@2x.jpeg" /><figcaption>CW Doppler of aortic valve flow (above) and acoustical symptoms of aortic regurgitation (below). Note the link between the shapes of the aortic regurgitation diastolic murmur (DM) and the flow of aortic regurgitation. S1 — first heart sound; S2 — second heart sound; SM — systolic murmur; DM — diastolic murmur from aortic regurgitation; # — closure of aortic valve, matching S2; # — opening of aortic valve, which happens just after S1. Wavy arrows show correspondence of murmurs to systolic and diastolic aortic valve flows. The diastolic murmur is the one that clearly indicates aortic regurgitation. However, a systolic murmur is even more common. It occurs because more blood is ejected through the faulty aortic valve. Systolic murmur usually is easier to detect. Opening of the aortic valve # sometimes generates a short click, named ejection sound. In most cases it is a symptom of bicuspid aortic valve.</figcaption></figure><h4>How to detect an aortic regurgitation murmur</h4><ol><li>To detect an aortic regurgitation murmur, we listen for the S2 heart sound.</li><li>Then, we specifically check for the murmur right after S2.</li><li>It is a prolonged, decreasing hissing murmur.</li></ol><p>S2 is the second sound of the famous Lub-Dup pattern. S2 in most cases is shorter and has higher frequencies compared with S1, it sounds brighter and clearer. If there is no tachycardia, the time interval S1-S2 is shorter compared with S2-S1.</p><p>The issue is that the murmur frequencies can be higher than the loud S1 and S2. These strong sounds grab our full attention. We can’t hear anything outside the S1-S2 frequency range, so we miss the murmur. We need to pay attention to the frequency range above S1-S2. If we detect S2, we can try to notice its splitting and its connection with inspiration. The frequencies when S2 splitting is noticeable and breath sounds can be closer to the frequency range of an aortic regurgitation murmur. That is why, in my case I’ve described here, I’ve detected the murmur when I was listening to S2 splitting.</p><h4>Some examples of aortic regurgitation murmurs</h4><p>Here are four links to recordings of heart sounds from actual cases of aortic regurgitation. The first one is the selection of the loudest murmurs. The last one is the softest. Moderately loud murmurs are in two selections between them. Listen to these recordings a few times. You should then be able to detect this murmur on your own in real clinical practice.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1538031217%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Faortic-regurg-loud%3Fsi%3D76d183634d294e46a376b3b21e18bd6d%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-z6azqWMzTCp9gElg-thlCQA-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/44ead86bb420afb0caf5e917c7828967/href">https://medium.com/media/44ead86bb420afb0caf5e917c7828967/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1538030419%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fmedium-aortic-regurgitation-murmur%3Fsi%3Da70143aebdae4a21bf488c5d6b2a0bc5%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-z6azqWMzTCp9gElg-thlCQA-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/896763dc568a28c1a578ec29bc2eb888/href">https://medium.com/media/896763dc568a28c1a578ec29bc2eb888/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1538029624%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Fsoft-aortic-regurgitation-murmur%3Fsi%3Df8f731780b4a40c0a4b49fe9f5023a6f%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-z6azqWMzTCp9gElg-thlCQA-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/0a17b0b5109972e363f2034235e45bce/href">https://medium.com/media/0a17b0b5109972e363f2034235e45bce/href</a></iframe><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fw.soundcloud.com%2Fplayer%2F%3Furl%3Dhttps%253A%252F%252Fapi.soundcloud.com%252Ftracks%252F1538028319%26show_artwork%3Dtrue&amp;display_name=SoundCloud&amp;url=https%3A%2F%2Fsoundcloud.com%2Fjaroslavvl%2Faortic-regurg-very-soft%3Fsi%3D8fba610a433a46628ebd64b05009c313%26utm_source%3Dclipboard%26utm_medium%3Dtext%26utm_campaign%3Dsocial_sharing&amp;image=https%3A%2F%2Fi1.sndcdn.com%2Fartworks-UmGyLxqq7fAGu8Pg-yZ7glg-t500x500.jpg&amp;type=text%2Fhtml&amp;schema=soundcloud" width="800" height="166" frameborder="0" scrolling="no"><a href="https://medium.com/media/32ce3322c5a575f818b7a7f2b7420ad3/href">https://medium.com/media/32ce3322c5a575f818b7a7f2b7420ad3/href</a></iframe><h4>P.S.</h4><p>Aortic regurgitation murmur is present on each recording. Some of these recordings exhibit additional acoustical symptoms, which can be more pronounced compared to the aortic regurgitation murmur. For example, some recordings contain systolic murmurs, diastolic Austin Flint murmur, and aortic ejection sound.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=427248403cf9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[An Ultimate Guide for the Heart Sound Analysis, Part 1: the Shortest Explanation of Heart Sound…]]></title>
            <link>https://medium.com/@ivshpakiv/an-ultimate-guide-for-the-heart-sound-analysis-part-1-the-shortest-explanation-of-heart-sound-71b952e95e7f?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/71b952e95e7f</guid>
            <category><![CDATA[heart]]></category>
            <category><![CDATA[cardiology]]></category>
            <category><![CDATA[medicine]]></category>
            <category><![CDATA[heart-sounds]]></category>
            <category><![CDATA[stethoscope]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Thu, 21 Aug 2025 12:37:46 GMT</pubDate>
            <atom:updated>2025-08-21T12:37:46.806Z</atom:updated>
            <content:encoded><![CDATA[<h2>An Ultimate Guide for the Heart Sound Analysis, Part 1: the Shortest Explanation of Heart Sound Analysis</h2><p>Our senses — vision, hearing, smell — allows us to recreate the real objects around us mentally.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Od5FWwkRwl-9WXTTIyRXaQ.jpeg" /><figcaption>‘The hardest first step’: I shot this pic in Istanbul, Turkey in 2022</figcaption></figure><p>One medical skill that is quite challenging to master is heart auscultation. When developed, it allows a physician to diagnose with accuracy comparable to cardiac ultrasound, but much more quickly. It’s truly magical when done correctly. But here’s the catch — it’s a magic trick that’s bloody hard to learn. Therefore only a small number of medical professionals have fully mastered the stethoscope’s capabilities.</p><p>I have faced this challenge as well. My heart auscultation skills were limited throughout many years of my university studies and cardiology practice. I had missed something crucial from the outset, which hindered my ability to develop this skill. It felt like a very high initial hurdle in learning heart auscultation. No matter how hard I tried, I couldn’t climb that ladder. Since I couldn’t overcome it, I couldn’t master the skill.</p><p>This article is the first in a series that will guide you through the easiest way to conquer heart sound analysis (a more precise term than cardiac auscultation, though they’re interchangeable here).</p><p>In <a href="https://medium.com/@ivshpakiv/how-doctors-made-diagnoses-in-the-past-and-how-it-is-relevant-to-the-future-my-personal-journey-16983d3f1c47">this article</a>, I shared how I eventually succeeded in this area. This piece explains my qualifications to discuss this topic.</p><h4>My first experience with heart auscultation led me into the heart sound mystery</h4><p>In 1993, I was a medical student, armed with my mom’s trusty Rappaport-Sprague stethoscope, which I had never tried before (both my parents are cardiologists, but they have retired from the field now). During a bedside diagnosis course, my professor handed me the ultimate challenge: perform a heart auscultation (the first time in my life!) on a real patient — an elderly woman patiently waiting for me to prove my worth.</p><p>With a mix of excitement and nerves, I began.</p><p>I placed the stethoscope on her chest, hoping to rise the challenge. And then… nothing. Well, not exactly nothing — just a chaotic, whooshing stream of sound that might as well have been the background noise of a sci-fi spaceship in the ‘Event Horizon’ movie.</p><p>My professor, with a raised eyebrow, asked, “So, what do you hear?” I felt frustrated and helpless: some acoustical chaos. I couldn’t answer.</p><h4>Cracking the code: the “chaos” can be deconstructed into few simple parts</h4><p>The key to unraveling this enigma is that the chaotic stream of sound isn’t random. It’s a structured matter.​ Fortunately, it is not complex. That chaos can be broken down into a few simple components that combine in a short sequence, which repeats over and over again.</p><p>The heart sound is a structure with the following characteristics:</p><ul><li>It consists of endlessly (unfortunately, not endlessly, but for a time) repetitive short patterns, which are heart cycles.</li><li>Each cycle is made up of a few simple sounds.</li><li>Specific anatomical parts of the heart produce each of these sounds during different phases of the heart cycle and convey information about that part and phase.</li></ul><p>These simple parts of the heart sound I named ‘atoms of heart sound information’. Atoms because we cannot brake them down further, like we cannot decompose a single drum hit or a palm’s clap. At the same time these ‘atoms’ carry information about some particular heart properties, encoded in some acoustical properties of the ‘atom’, e.g., in its loudness or pitch. If we can detect the ‘atom’, analyse its acoustical properties, we can learn something about the heart.</p><h4>The shortest explanation of heart sound analysis</h4><p>We need to deconstruct the heart sound into its simplest components, or “information atoms,” analyze each one, and then synthesize the information gathered. This encapsulates the entire philosophy of heart sound analysis.</p><p>At this stage, we can identify three steps in heart sound analysis:</p><ol><li>Extract and identify all basic ‘information atoms.’</li><li>Analyze each of them in sequence.</li><li>Synthesize all gathered information into a mental model of that specific heart.</li></ol><p>Soon I will describe these atoms, but before that I will explain the most useful heart sound analysis technology presenting the sound in a convenient and informative format. By the way, it is intensively used in AI-technologies dealing with acoustical phenomena like human voice, music, and bioacoustical signals.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=71b952e95e7f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How doctors made diagnoses in the past and how it is relevant to the future My personal journey]]></title>
            <link>https://medium.com/@ivshpakiv/how-doctors-made-diagnoses-in-the-past-and-how-it-is-relevant-to-the-future-my-personal-journey-16983d3f1c47?source=rss-4772637b3c52------2</link>
            <guid isPermaLink="false">https://medium.com/p/16983d3f1c47</guid>
            <category><![CDATA[medicine]]></category>
            <category><![CDATA[health]]></category>
            <category><![CDATA[bioacoustics]]></category>
            <category><![CDATA[science]]></category>
            <dc:creator><![CDATA[Yaroslav Starling]]></dc:creator>
            <pubDate>Sat, 09 Aug 2025 22:45:07 GMT</pubDate>
            <atom:updated>2025-08-09T22:45:07.241Z</atom:updated>
            <content:encoded><![CDATA[<p>Alongside the invention of the stethoscope, René Laennec made something equally important, though underappreciated: he correlated audible symptoms with autopsy findings. This allowed doctors to predict internal organ defects by listening to the sounds of the human body. Modern doctors can build on this foundation even further: using advanced imaging technologies in place of autopsies to refine their own diagnostic skills.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*1A46mVIXVT_SDzkHkiJ61g@2x.jpeg" /><figcaption>Photograph taken by my friend, <a href="https://www.instagram.com/illyabel?igsh=MW8xbzhsbXMzMjI2bA==">Illya Bel</a></figcaption></figure><h4>How did doctors diagnose without any diagnostic machines in the past?</h4><p>I wondered about this for years. Even now, the diagnostic process can be a challenge, despite our incredible ability to visualize the human body and use numerous medical tests. We didn’t have these technologies a hundred years ago, but apparently, doctors were not helpless. How did they make accurate diagnoses with virtually nothing?</p><p>It’s a complex question to answer and barely possible to cover this topic in its entirety, as medicine has many branches, and each medical personality has their own features and style. Here, I’ll describe my journey, which partially uncovered this mystery for me.</p><h4>My story</h4><p>My initial interest in diagnostic approaches from the recent past eroded during my university years. I felt something mysterious and dramatic there. It was like a one-on-one duel with a dragon of uncertainty deep in the cave. Later, during my first years of cardiological practice, I had the opportunity to meet <a href="https://pmc.ncbi.nlm.nih.gov/articles/PMC516124/">Alexandr Grando</a>, the founder and chief of the <a href="http://nmmu.org/eng#rec66432783">National Museum of Medicine of Ukraine</a>. In his eighties and hospitalized multiple times at my facility, he became more than a patient. Honestly, it’s barely possible to know how your activity changed the lives of your patients, because you would never know how things would have turned out without your treatment. Maybe some of your patients would have had a much longer and happier life without you, who knows? But in Mr. Grando’s case, my activity helped. One night he had a heart attack with pulmonary oedema, which is usually fatal. It was during my night shift, and he survived. I remember his happiness when we removed the chest leads of the ECG monitor a few days later: he felt freedom at last.</p><p>During about a year or two, we had a kind of friendly relationship. I visited him many times in the museum and spent hours in his office, mostly listening to his stories.</p><p>It gave me a wider perspective on medicine. I was in my mid-20s.</p><p>In 2010, I completed my Ph.D. and suddenly had more flexibility beyond my cardiology practice. I had a desire to do something additional, a kind of science. At that moment, I recalled my old interest in bedside diagnosis. I’ve made the following:</p><ol><li>I began collecting and studying available literature about cardiac bedside diagnosis.</li><li>Equally important was a change in my mindset and my usual workflow. Now, from the moment of first contact with a patient, I strive to obtain as much information as possible using only my eyes, hands, and stethoscope, and to make a diagnosis as quickly as possible, or at least formulate a list of potential diagnoses. Only after that, I allowed myself to go to the next stage: to test my hypothesis. In most cases, ECG and transthoracic echocardiography were enough. Over the years, I went through this flow thousands of times.</li></ol><p>From the very beginning of my medical career, I had a very intensive cardiological and echocardiography practice, which took most of my time and energy. On the other hand, it gave me an advantage: I could immediately use and test acquired knowledge in real practice. There was no risk in that approach, but suddenly and soon I’ve got new advantages.</p><h4>Some results</h4><p>First of all, it is a mistake to think about bedside diagnosis like an outdated student skill. I do not advocate for outdated, dust-covered books penned a century ago.</p><p>In my case it shifted my mindset towards circulatory physiology and pathology, which makes the diagnostic reasoning more grounded and logical. I began to feel the patient’s circulatory system, so to speak.</p><p>The time needed for diagnosis becomes shorter, frequently dramatically shorter.</p><p>I’ve started to perceive echocardiography results more skeptically and notice diagnostic mistakes in the echocardiography reports.</p><p>I felt safer because I was facing less amount of uncertainty.</p><p>After all, it was a lot of fun.</p><p>Technically, it was easy to develop the skill of assessing the heart size, hypertrophy, arterial pulse, and venous pressure.</p><p>But the most challenging part was heart auscultation. I did not have a good teacher except for some brilliant books. During the first 12 years of my medical career, my auscultation skills were poor: I could detect systolic murmurs, sometimes diastolic aortic regurgitation murmur, normal splitting of the second heart sound; but I was not able to hear the third and fourth heart sounds, many other symptoms, and accurate stethoscope-based diagnoses were rare.</p><p>Things changed when I bought my first digital stethoscope, and finally found a few really brilliant books about heart sound. The digital stethoscope allowed me to visualize the sound as a spectrogram, which quickly and forever changed my perception and understanding of the heart sound. About a year or two later, I became pretty confident with my stethoscopes (I used digital and conventional ones depending on circumstances and my curiosity) and in many cases was able to make a diagnosis with accuracy pretty close to echocardiography results.</p><p>During the next decade, I continued to develop my skills in my clinic. Later, my life dramatically changed: I quit my clinical practice and moved to Canada. But still, heart sound is my main job: I’m participating in the development of medical AI for automatic heart sound analysis, but it is another story.</p><h4>Conclusion</h4><p>Today, from my perspective, bedside examination is not a skill only, it is a mindset. It is a kind of diagnostic hacking in a positive sense, allowing to solve diagnostic tasks overcoming the technical limitations of diagnostic machines and the slowness of medical systems in the most financially efficient way.</p><p>Diagnostic tests can solve a significant part of all cardiac diagnostic tasks, and there is a tendency to outsource most of them, if not all, to machines, bypassing physical examination. But a doctor can take more responsibility for diagnosis. In many cases, it works perfectly, and it is not my opinion. In a <a href="https://www.jacc.org/doi/10.1016/j.jacc.2016.01.005">recent article</a>, Valentin Fuster, MD, PhD, editor-in-chief of the Journal of the American College of Cardiology and past president of the American Heart Association, described the stethoscope as a diagnostic tool that often surpasses cardiac ultrasound in certain clinical applications. This approach can give more accurate and faster diagnosis, prevent diagnostic mistakes, and reward the doctor with calmness and confidence.</p><p>Ironically, much of bedside diagnosis is straightforward except for the heart sound. Heart sound analysis allows localizing the damage and recognizing some issues barely detectable by other tests, including echocardiography. But heart auscultation is a way more complex skill, mostly because it is just hard to hear and detect the majority of acoustical symptoms. Fortunately, accessible solutions exist — for example, AI algorithms for heart sound analysis, sound visualization, and improvement of training programs.</p><p>Heart sound analysis AI will grow rapidly, and ultimately, advanced digital AI stethoscopes will reconquer some abandoned positions.</p><p>It is a personal doctor’s choice how deeply to dive into physical bedside diagnosis: do not use it, use a very simple approach for screening only, or strive to obtain the most detailed and accurate diagnosis possible.</p><p>I was told a few times that the stethoscope and the heart sound are outdated in our time of high technology. But if a doctor can be faster, comparably (or even more) accurate, and more cost-effective than the most cutting-edge technology, then what and who is outdated? These qualities make the doctor irreplaceable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16983d3f1c47" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>