# US 2020/0286505 A1 · Method and system for categorizing musical sound according to emotions

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2020/0286505 A1
- Document ID: US20200286505A1
- Status: Published application
- Kind: A1
- Application number: 16/764,601
- Filed: 2018-11-15
- Published: 2020-09-10
- Earliest claimed: 2017-11-15
- Assignees: X-System Limited
- Applicants: X-System Limited
- Inventors: Nigel OSBORNE; Kit BARNES; John TURNER
- Web page: https://patentgrep.com/patent/US20200286505A1

## CPC

- G06F 16/60: of audio data
- G10L 25/63: for estimating an emotional state
- G06F 3/011: {Arrangements for interaction with the human body, e.g. for user immersion in virtual reality (blind teaching G09B21/00)}
- G06N 3/0499: Feedforward networks
- G06N 3/08: Learning methods
- G06N 3/09: Supervised learning
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- G06N 20/00: Machine learning
- G10H 1/00: Details of electrophonic musical instruments
- G10H 1/0025: {Automatic or semi-automatic music composition, e.g. producing random music, applying rules from music theory or modifying a musical piece (automatically producing a series of tones G10H1/26)}
- G10L 25/30: using neural networks
- G16H 20/70: relating to mental therapies, e.g. psychological therapy or autogenous training
- G16H 50/20: for computer-aided diagnosis, e.g. based on medical expert systems
- G06F 2203/011: Emotion or mood input determined on the basis of sensed human body parameters such as pulse, heart rate or beat, temperature of skin, facial expressions, iris, voice pitch, brain activity patterns
- G10H 2210/031: Musical analysis, i.e. isolation, extraction or identification of musical elements or musical parameters from a raw acoustic signal or from an encoded audio signal
- G10H 2240/005: Data structures for use in electrophonic musical devices; Data structures including musical parameters derived from musical analysis
- G10H 2240/075: Musical metadata derived from musical analysis or for use in electrophonic musical instruments
- G10H 2240/081: Genre classification, i.e. descriptive metadata for classification or selection of musical pieces according to style
- G10H 2240/085: Mood, i.e. generation, detection or selection of a particular emotional content or atmosphere in a musical piece
- G16H 50/30: for calculating health indices; for individual health risk assessment
- G16H 50/70: for mining of medical data, e.g. analysing previous cases of other patients
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G10L: SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G10H: ELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
- G16H: HEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA

## Abstract

A computer implemented method for analysing sounds, such as audio tracks, and automatically classifying the sounds in a space in which arousal is one axis and valence is another axis. The location of a sound or track in that arousal-valence space is automatically determined using a computer implemented system that analyses, measures or infers values for each of the following base feature parameters: harmonicity, turbulence, rhythmicity, sharpness, volume and linear harmonic cost, or any combination of two or more of those parameters.

## Claims

### Claim 1

A computer implemented method for analysing sounds, such as audio tracks, and automatically classifying the sounds in a space in which arousal is one axis and valence is another axis; and the location of a sound or track in that arousal-valence space is automatically determined using a computer implemented system that analyses, measures or infers values for each of the following base feature parameters: harmonicity, turbulence, rhythmicity, sharpness, volume and linear harmonic cost, or any combination of two or more of those parameters.

### Claim 2 (depends on 1)

The method of claim 1 in which values of some or all of the parameters for a sound or music track are plotted in the arousal-valence space and the location or region defined by those values predicts the emotion likely to be triggered by that sound or track.

### Claim 3 (depends on 1)

The method of claim 1, in which values of some or all of the parameters for a sound or music track are plotted in the arousal-valence space and the location or region defined by those values, e.g. the region bounded by those values, predicts the emotion likely to be triggered by that sound or track.

### Claim 4 (depends on 1)

The method of claim 1, in which the location of a sound or track in the arousal-valence space automatically determines how that sound or track is then used; or in which the location of the sound or track in that in the arousal-valence space is used to automatically predict a mood or emotion to be experienced by a listener to that sound or track.

### Claim 5

(canceled)

### Claim 6 (depends on 1)

The method of claim 1, in which an emotion is predicted by combining an automatically predicted arousal and valence value.

### Claim 7 (depends on 1)

The method of claim 1, in which the predicted valence value is dependent on the predicted arousal value.

### Claim 8 (depends on 1)

The method of claim 1, in which a linear regression algorithm for predicting arousal is based on a combination of one or more or all of the base feature parameters, with weightings determined by linear regressions and that predict levels of neurophysiological arousal in the listener.

### Claim 9 (depends on 8)

The method of claim 8 in which the linear regression algorithm also takes into account the genre or type of the sound or music track.

### Claim 10 (depends on 1)

The method of claim 1, in which a neural network algorithm, which takes as input some or all of the base feature parameters, is used to output both a predicted neural net arousal and neural net valance.

### Claim 11 (depends on 1)

The method of claim 1, in which an algorithm for predicting arousal is based on averaging the predicted arousal by a linear regression algorithm and a predicted neural net arousal by a neural network.

### Claim 12 (depends on 1)

The method of claim 1, in which a valence hypothesis algorithm for predicting valence is based on a combination of subjective response and Heart Rate Variability data, which predicts how positive or negative the emotions of the listener are going to be; or in which a valence hypothesis algorithm using HRV (Heart Rate Variability) data is validated using empirical evidence that associates positive valence with high vagal power, as indicated by high HRV, and negative valence as low vagal power, as indicated by low HRV.

### Claim 13

(canceled)

### Claim 14 (depends on 12)

The method of claim 12 in which the valence hypothesis algorithm takes as an input one or more of the base feature parameters as well as the output of the linear regression algorithms.

### Claim 15 (depends on 1)

The method of claim 1, in which the base feature parameters are one or more of the following: linear harmonic cost, volume, sharpness, rhythmicity, 50 Hz turbulence, 1 Hz turbulence, harmonicity, fundamental.

### Claim 16 (depends on 1)

The method of claim 1, in which a predicted arousal value by a linear regression algorithm is categorized into low, medium or high arousal values, which is then used by a valence hypothesis algorithm.

### Claim 17 (depends on 15)

The method of claim 15 in which the base parameters that are used in calculating a valence value depend on the predicted arousal value.

### Claim 18 (depends on 16)

The method of claim 16 in which the valence hypothesis algorithm uses look up tables based on the category of the predicted arousal value by the linear regression algorithm.

### Claim 19 (depends on 1)

The method of claim 1,
(i) in which for a high arousal value, a valence hypothesis algorithm takes the following base feature parameters as inputs: harmonicity, 1 Hz turbulence and rhythmicity;
(ii) in which for a medium arousal value, a valence hypothesis algorithm takes the following base feature parameters as inputs: linear harmonic cost, sharpness and volume; or
(iii) in which for low arousal value, a valence hypothesis algorithm takes the following base feature parameters as inputs: linear harmonic cost, fundamental, volume and 50 Hz turbulence.

### Claim at position 20

20-21. (canceled)

### Claim 22 (depends on 1)

The method of claim 1, in which an algorithm for predicting valence is based on the averaging of the neural net valence outputted by a neural network and the predicted valence generated by a valence hypothesis algorithm; or
in which an algorithm for combining an automatically predicted arousal and valence value is based on plotting arousal and valence values on the X and Y axes of the arousal-valence space, in which the location on the arousal-valence space is associated with specific mood or emotion.

### Claim 23

(canceled)

### Claim 24 (depends on 1)

The method of claim 1, in which the base feature parameters and the outputs of the algorithms are averaged over one audio track.

### Claim 25 (depends on 1)

The method of claim 1,
(i) in which an audio track is also classified in terms of physical activity; or
(ii) in which the location on the arousal-valence space is associated with a specific physical activity; or
(iii) including the further step of automatically classifying a dataset of sounds or music in terms of their location in the arousal-valence space; or
(iv) including the further step of automatically classifying music in terms of physical activities; or
(v) including the further step of automatically constructing a playlist in terms of a preselected or desired mood or emotion to be experienced by a listener;
(vi) including the further step of automatically constructing a playlist in terms of preselected physical activity.

### Claim at position 25

26-30. (canceled)

### Claim 31 (depends on 1)

The method of claim 1,
(i) including the further step of automatically streaming music depending on the listener's activity, such as working, exercising, driving, seeking pain relief, seeking relaxation, seeking mood enhancement; or
(ii) including the further step of selecting sound or music to stream or otherwise provide to someone viewing online content.

### Claim 32

(canceled)

### Claim 33 (depends on 1)

The method of claim 1, including the further step of selecting sound or music to stream or otherwise provide to someone viewing or listening to online content to optimize the likelihood of that person reacting in a desired way to that content.

### Claim 34 (depends on 33)

The method of claim 33, in which optimizing the likelihood of that person reacting in a desired way to that content includes reading or viewing or listening to that content, or purchasing goods or services advertised or promoted by that content.

### Claim 35 (depends on 1)

The method of claim 1, in which the base feature parameters are derived from a neuro-physiological model of the functioning and response of one or more of the human lower cortical, limbic and subcortical regions in the brain to sounds.

### Claim 36 (depends on 1)

The method of claim 1, implemented by a system including a processor programmed for automatically analysing sounds according to musical parameters derived from or associated with a predictive model of the neuro-physiological functioning and response to sounds by one or more of the human lower cortical, limbic and subcortical regions in the brain;
and in which the system analyses sounds so that appropriate sounds can be selected and played to a listener in order to stimulate and/or manipulate neuro-physiological arousal and valence in that listener.

### Claim 37 (depends on 36)

The method of claim 36,
(i) in which the system predictively models primitive spinal pathways and the pre-motor loop (such as the basal ganglia, vestibular system, cerebellum), all concerned with primal responses to rhythmic impulses, by analysing beat induction, using a specifically calibrated onset window; or
(ii) in which the system predictively models rhythmic pattern recognition and retention regions (such as the secondary auditory cortex of the temporal lobes) by using self-similarity/auto-correlation algorithms; or
(iii) in which the system predictively models the activation of mirror neuron systems, which detect power, trajectory and intentionality of rhythmic activity, through one or more of: indices of rhythmic power, including computation of volume levels, volume peak density, “troughs”, or the absence of energy and, dynamic profiles of performance energy; or
(iv) in which the system predictively models activation of mirror neuron systems by analysing a profile of expenditure of energy (precipitous for high arousal, smooth for low) before and in between onsets, important mirror neuron information, by a computation of profiles of energy flow leading to significant articulations.

### Claim at position 33

38-40. (canceled)

### Claim 41 (depends on 36)

The method of claim 36,
(i) in which the system predictively models the functioning and response of Heschl's Gyms to sound by determining levels of harmonicity and inharmonicity; or
(ii) in which the system detects a principal fundamental through calculation of the harmonic product spectrum, then establishes degrees of harmonicity both within and among spectra of different fundamentals; or
(iii) in which detection of a principal fundamental and the establishment of degrees of harmonicity is applied both to instantaneous moments, and to progressions of pitches and spectra in time (related to the tonotopic mapping of the area around Heschl's Gyms) and is expressed in terms of linear harmonic cost, which represents both the rate at which the fundamental is changing, and the harmonic distance of the changes; or
(iv) in which the system predictively models the neurophysiological sensing of simple timbre by Heschl's gyms, superior temporal sulcus, circular insular sulcus by analysing windows of harmonicity at instantaneous moments; or
(v) in which the system predictively models melodic and harmonic progressions in terms of how far each STFT time slices deviates from the simple ratios of the harmonic series: Linear harmonic cost arises from STFT time slices whose fundamental frequency differs from that of the previous slice; Time slices with no change in fundamental have a cost of zero; or
(vi) in which the system combines indices of change in rhythmicity and harmonicity, with auditory brainstem and cortical activity innervating the amygdala, hippocampus and core emotional regions affecting neurotransmission and endocrine systems, including the HPA axis, dopamine circuits and levels of, for example, norepinephrine, melatonin and oxytocin; or
(vii) in which the system determines rhythmicity using an equation that relates R to B and S, such as the equation R=√B*S{circumflex over ( )}2, and where R is rhythmicity, B is beats per minute, and S is the mean of the beat strength; or
(viii) in which the system determines rhythmicity using an equation that relates I to C and H such as the equation I=C/10−H, where I is inharmonicity, C is linear harmonic cost and H is instantaneous harmonicity; or
(ix) in which the system determines turbulence using an equation that links T to H and P, such as T=dH/dt*P, where T is turbulence, H is harmonicity and P is energy during peak volume; or
(x) in which the system determines rhythmicity using an equation that relates R to B and S, and where R is rhythmicity, B is beats per minute, and S is the mean of the beat strength; or
(xi) in which the system determines rhythmicity using an equation that relates I to C and H, where I is inharmonicity, C is linear harmonic cost and H is instantaneous harmonicity; or
(xii) in which the system determines turbulence using an equation that links T to H and P, where T is turbulence, H is harmonicity and P is energy during peak volume.

### Claim at position 35

42-52. (canceled)

### Claim 53 (depends on 1)

The method of claim 1, in which the method is not genre sensitive.

### Claim 54

A computer implemented system configured to analyze sounds, such as audio tracks, and automatically classify the sounds in a space in which arousal is one axis and valence is another axis; and the location of a sound or track in that arousal-valence space is automatically determined by analyzing, measuring or inferring values for each of the following base feature parameters: harmonicity, turbulence, rhythmicity, sharpness, volume and linear harmonic cost, or any combination of two or more of those parameters.

### Claim 55 (depends on 54)

The system of claim 54, in which the analysis of sounds operates in real-time on locally stored music data and the system includes software embodied on a non-transitory storage medium, firmware embodied on a non-transitory storage medium and/or hardware running on a personal computing device.
