OBTAINING RESPIRATORY RELATED SOUNDS FROM AN AUDIO RECORDING
20230371916 · 2023-11-23
Assignee
Inventors
- Steven Elsa Louis VITS (St-Gillis, BE)
- Frederik Roger Anne MASSIE (Wilsele, BE)
- Bart VAN PEE (Leuven, BE)
Cpc classification
International classification
A61B5/08
HUMAN NECESSITIES
Abstract
A method is disclosed (100) for obtaining respiratory related sounds (160), RRSs, originating from a target patient, the method comprising the steps of obtaining an input audio recording (110, 111) of a sleeping environment of the target patient, obtaining a respiratory trace (150) of the target patient's respiration, identifying (120) RRSs (130) in the input audio recording, and selecting (140), based on the respiratory trace, from the RRSs, the RRSs (160) originating from the target patient. The selecting further comprises: determining a first and/or second subset of the RRSs having a respective high and/or low probability of originating from the target patient, training a classifier based on the first and/or a second subset to select RRSs originating from the target patient, and selecting the RRSs originating from the target patient (160) by the trained classifier.
Claims
1. A computer-implemented method (100, 400) for obtaining respiratory related sounds (160, 511), RRSs, originating from a target patient, the method comprising the steps of: obtaining an input audio recording (110, 111, 410, 510, 610) of a sleeping environment of the target patient; obtaining a respiratory trace (150, 450, 520, 620) of the target patient's respiration characterizing the breathing of the patient during the period of the audio recording; identifying (120, 420, 470) RRSs (130, 430, 511, 611) in the input audio recording; and selecting (140, 200, 300, 440, 403), based on the respiratory trace, from the RRSs, the RRSs (160) originating from the target patient; and wherein the selecting comprises: determining (209) a first and/or second subset of the RRSs (212, 735) having a respective high and/or low probability of originating from the target patient; training (303, 403) a classifier based on the first and/or a second subset to select RRSs originating from the target patient; and selecting the RRSs originating from the target patient (160) by the trained classifier.
2. The method according to claim 1 wherein the identifying comprises determining (120, 420) respiratory related sounds and non-respiratory related sounds, and discarding the non-respiratory related sounds.
3. The method according to claim 1 or 2 wherein the identifying comprises determining (470) sets of sounds (471); wherein sounds of a set originate from a same source; and wherein the selecting further comprises, based on the respiratory trace, selecting (440, 403) RRSs from a set of sounds (160) originating from the target patient.
4. The method according to any one of the preceding claims wherein the selecting further comprises discarding the second subset from the RRSs.
5. The method according to any one of the preceding claims wherein the selecting comprises performing the training depending on the amount of RRSs (211, 734, 736) that are not assigned to the first and second subset.
6. The method according to any one of the preceding claims wherein the determining the first subset comprises determining (201, 202) audio timestamps (203, 521, 621) associated with the RRSs from the input audio recording (130) and respiratory timestamps (204, 522, 622) associated with the RRSs from the respiratory trace (150); and determining (205, 207, 209) the first subset based on the audio and respiratory timestamps.
7. The method according to claim 6 wherein the determining the first subset further comprises determining (206) time differences (206, 526, 625) between the audio timestamps and respective respiratory timestamps.
8. The method according to claim 7 wherein the determining the first subset further comprises determining (207) a histogram (730) of the time differences; and identifying (209) from the histogram the first subset (212).
9. The method according to any of the preceding claims, wherein the respiratory trace is derived from a signal obtained by a polysomnograph, an electrocardiograph, a electromyograph, or a photoplethysmogram (PPG).
10. A controller (800) comprising at least one processor and at least one memory including computer program code, the at least one memory and computer program code configured to, with the at least one processor, cause the controller to perform a method according to any of the claims 1 to 9.
11. A computer program product comprising computer-executable instructions for performing the method according to any of claims 1 to 9 when the program is run on a computer.
12. A computer readable storage medium comprising computer-executable instructions for performing the method according to any of the claims 1 to 9 when the program is run on a computer.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
DETAILED DESCRIPTION OF EMBODIMENT(S)
[0044]
[0045] The method starts with obtaining an audio track 110 or audio recording 110 from which the RRSs 160 originating from the patient are to be identified or selected. The audio track is recorded within audible distance from the target patient, i.e. within the patient's sleeping environment. This may for example be done by placing an audio recording device next to the patient's bed or somewhere else in the patient's bedroom. An illustrative example of such audio recording is further shown in plot 111 where the amplitude 112 of the recorded audio signal is presented as a function of time.
[0046] From this audio recording 110, the different RRSs 131-134 are identified in step 120 of method 100. These identified RRSs may relate to one specific type of RRS, e.g. only snoring, or to several or even all possible RRSs. By the identification of the RRSs, other sounds or noises are excluded from the further steps, e.g. sounds from outside the room. An RRS may for example be identified by indicating its starting time, its ending time, and/or its time period allowing to uniquely identify it within the audio recording 110.
[0047] The identification of RRSs may for example be performed by executing one or more of the following steps: [0048] a) Determine the sound envelope of the signal 112, for example by calculating the analytical signal of the signal 112, by calculating the moving average, e.g. root mean square, RMS, value, of the signal 112, or by calculating peaks of the signal 112. [0049] b) Determine a threshold characterizing an active sound segment. This may for example be done by calculating local signal energy values and establishing lower percentile values of local signal energy to define a baseline threshold. [0050] c) Calculate when the sound envelope exceeds this threshold. [0051] d) Label all episodes where the envelope exceeds the threshold as active segments. [0052] e) Combine or remove active segments according to a set of decision rules to, for example, avoid unlikely large or small active segments. [0053] f) Characterize the so-obtained active segments by calculating a set of features such as Mel-frequency cepstral coefficients, MFCCs, the signal power within a specific frequency range, the temporal features such as the signal mean and standard deviation, features characterizing the entropy of the signal, features characterizing the formant and pitch. [0054] g) Identify the RRSs from the active segments, for example by a pre-trained classifier to classify all active segments as RRS or non-RRS, thereby obtaining a set of RRS segments that can originate from one or multiple sources
[0055] The identified RRSs 130 do not necessarily all originate from the target patient. For example, some of them may originate from another person sleeping next to the patient or within the same room. Also, some RRSs may originate from animals, such as from a dog sleeping in the same room. Therefore, in a subsequent selection step 140, a subset 160 of the RRSs 130 is selected as originating from the monitored patient. To do so, a respiratory trace 150 from the patient is used to select the subset 160. Such a respiratory trace characterizes the breathing of the patient during the period of the audio recording 110. Plot 151 illustrates such a trace of the patient as function of time. The rising edges may then correspond to an inhalation and the falling edges to an exhalation, or the other way around. A respiratory trace may also correspond to discrete timestamps characterizing different breathing cycles. There is an observable temporal relationship between the trace 150 and the RRSs originating from the patient, while the other RRSs will not show such temporal relationship. Based on this the RRSs 160 originating from the patient are selected as output of step 140.
[0056] A respiratory trace may be obtained directly or derived indirectly from a measurement on the patient. For example, the trace may be derived from a signal obtained by a polysomnograph, an electrocardiograph, an electromyograph, a photoplethysmogram (PPG), or an accelerometer.
[0057] According to an embodiment, the selection 140 of RRSs 160 may be performed by the steps 200 as illustrated in
[0058] Another way of selecting the patient RRSs 160 is by calculating the coherence of one or more RRSs 130 with the respiratory trace 150, i.e. the degree of synchronization between the audio signal of the one or more RRSs and the respiratory signal during the same time interval. In this case, one or more RRSs with a high coherence are considered as having a high probability of originating from the patient and one or more RRSs with a low coherence are considered as having a low probability of originating from the patient, thereby again obtaining similar sets 210, 211, 212 of RRSs. Similar to the method of
[0059] The selection of RRSs from the patient by probabilities, e.g. by the steps of
[0060]
[0061] Similar to
[0062]
[0063] According to an embodiment, a further clustering step may be performed in the method 100 as illustrated in
[0064] A way of clustering 470 is to first determine a set of features characterizing the RRSs, for example Mel-frequency cepstral coefficients, MFCCs, the signal power within a specific frequency range, the temporal features such as the signal mean and standard deviation, features characterizing the entropy of the RRS, features characterizing the formant and pitch. Additionally, or complementary, RRSs occurring in a temporally repetitive pattern may be identified thereby obtaining different chains of RRSs. Then the RRSs are clustered into different plausible sources based on the association with the temporal chain and/or based on the similarities between the different derived features. Clustering based on features may for example be performed by clustering algorithms such as K-means clustering and Gaussian Mixture Model, GMM, clustering. Clustering based on the obtained temporal chains may for example be performed by identifying repetitive RRS patterns that have a specific time interval between occurrences. By the clustering, RRSs may still be left unassigned, i.e. not belong to a certain source by a high probability. In such case, a further supervised clustering step can be performed. A classifier is then trained to classify RRSs into clusters by using the already clustered RRSs as labelled training data. For the classifier, a support vector machine, SVM, or neural network may be used.
[0065] The so-obtained clusters of RRSs 471 are then used as input for the further selection step 440 in which clusters with a high and/or low probability of originating from the patient are identified. The cluster with high probability are then selected as output 160. Step 440 may be performed in the same way as step 140 or as step 200 but based on clusters of RRSs instead of individual RRSs. Further, an additional step 403 may be performed wherein yet unassigned clusters of RRSs are added to the output 160 in the same way as step 303 but based on clusters of RRSs instead of individual RRSs.
[0066] The steps according to the above described embodiments may be performed by any suitable computing circuitry, for example a mobile phone, a tablet, a desktop computer, a laptop and a local or remote server. The steps according to the above described embodiments may be performed on the same device as the audio recording device. To this end, the audio recording may also be performed by for example a mobile phone, a tablet, a desktop computer or a laptop. The steps according to the above described embodiments may also be performed by a suitable circuitry remote from the environment of the patient. In such case, the audio recording may be provided to the circuitry over a communication network such as the Internet or a private network.
[0067]
[0068] As used in this application, the term “circuitry” may refer to one or more or all of the following: [0069] (a) hardware-only circuit implementations such as implementations in only analog and/or digital circuitry and [0070] (b) combinations of hardware circuits and software, such as (as applicable): [0071] (i) a combination of analog and/or digital hardware circuit(s) with software/firmware and [0072] (ii) any portions of hardware processor(s) with software (including digital signal processor(s)), software, and memory(ies) that work together to cause an apparatus, such as a mobile phone or server, to perform various functions) and [0073] (c) hardware circuit(s) and/or processor(s), such as microprocessor(s) or a portion of a microprocessor(s), that requires software (e.g. firmware) for operation, but the software may not be present when it is not needed for operation.
[0074] This definition of circuitry applies to all uses of this term in this application, including in any claims. As a further example, as used in this application, the term circuitry also covers an implementation of merely a hardware circuit or processor (or multiple processors) or portion of a hardware circuit or processor and its (or their) accompanying software and/or firmware. The term circuitry also covers, for example and if applicable to the particular claim element, a baseband integrated circuit or processor integrated circuit for a mobile device or a similar integrated circuit in a server, a cellular network device, or other computing or network device.
[0075] Although the present invention has been illustrated by reference to specific embodiments, it will be apparent to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied with various changes and modifications without departing from the scope thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. In other words, it is contemplated to cover any and all modifications, variations or equivalents that fall within the scope of the basic underlying principles and whose essential attributes are claimed in this patent application. It will furthermore be understood by the reader of this patent application that the words “comprising” or “comprise” do not exclude other elements or steps, that the words “a” or “an” do not exclude a plurality, and that a single element, such as a computer system, a processor, or another integrated unit may fulfil the functions of several means recited in the claims. Any reference signs in the claims shall not be construed as limiting the respective claims concerned. The terms “first”, “second”, third”, “a”, “b”, “c”, and the like, when used in the description or in the claims are introduced to distinguish between similar elements or steps and are not necessarily describing a sequential or chronological order. Similarly, the terms “top”, “bottom”, “over”, “under”, and the like are introduced for descriptive purposes and not necessarily to denote relative positions. It is to be understood that the terms so used are interchangeable under appropriate circumstances and embodiments of the invention are capable of operating according to the present invention in other sequences, or in orientations different from the one(s) described or illustrated above.