System and method for generating music from electrodermal activity data

Information

  • Patent Grant
  • 11127386
  • Patent Number
    11,127,386
  • Date Filed
    Tuesday, July 24, 2018
    6 years ago
  • Date Issued
    Tuesday, September 21, 2021
    3 years ago
Abstract
The Plant Choir™ system comprises a software program and hardware that measures the electrodermal activity of a person, plant, or animal and translates those readings into music on a computing device. The EDA readings of the individual subjects are translated via the software into musical notes in real time. The creation of the notes is synchronized to a master tempo in order to allow the subjects to play together in a unified fashion similar to a choir. A riff mode allows the subjects to produce multiple notes per beat. The music is rendered using a software synthesis algorithm that employs the pre-recorded sounds of real instruments. The software can also utilize MIDI devices if the operating system has that capability. The software allows the user to load and save their settings so they can create and experiment with their own choir configurations and musical scales.
Description
BACKGROUND—FIELD OF THE INVENTION

The present invention relates to the acquisition of electrodermal readings from one or more subjects such as persons, plants or animals for the purpose of translating those readings into music in real time. The musical notes that are selected for each of the subjects are synchronized to a master tempo setting in order to allow them to play together and create interesting harmonies similar to a choir. A riff algorithm can be employed that allows multiple notes per beat to be created for each subject in order to make the music more interesting and give it movement. The software renders the music using a synthesis algorithm that employs the pre-recorded sounds of real instruments. The software can also render sound using the MIDI programming interface provided by the operating system. The software allows the user to load and save their settings so they can create and experiment with their own choir arrangements. The user can define their own custom note sequences or scales.


BACKGROUND—PRIOR ART

Electrodermal Activity (EDA) refers to the electrical properties of the skin which are directly affected by changes in sweat gland activity of humans and animals. Psychologists have long been using EDA data to determine the responses of subjects to external stimuli such as investigative questions.


Plants produce a basic electrodermal signal that varies without any obvious external stimuli. In addition, our testing has shown that plants have a large immediate and pronounced response to warmth and the movement of warm objects around them such as animals and people. The sensitivity of the system can be adjusted to play music continuously in response to the basic signal or it can be adjusted to play music only when the plant has a more pronounced response.


SUMMARY

In one embodiment, the Plant Choir™ system comprises a software program and hardware that measures electrodermal activity of a person, plant, or animal and translates those readings into music on a computing device. The system gathers electrical activity data using proprietary Limestone Technologies DataPac_EDA™ electrodermal activity (EDA) measurement devices. The device uses an operational amplifier based circuit to apply a constant voltage across the input leads and provides an output voltage that is proportional to the current flowing through the subject and indicates the subject's resistance. The circuit has a non-linear response which allows it to sense a wide range of resistance values from 0 Ohms to tens of thousands of kilo ohms without the need for mechanical range switches. The EDA readings of the individual subjects are translated via the software into musical notes in real time. The musical notes are synchronized to a master tempo setting in order to allow the subjects to play together in an organized fashion similar to a choir. A riff algorithm may be employed to select multiple notes per beat for each subject in order to create movement and make the music more interesting. The music is rendered using a software synthesis algorithm that employs the pre-recorded sounds of real instruments. The synthesized sound is played on the system speakers. Panning controls are used to distribute the individual subject's sound among the speakers. The software can also utilize the MIDI programming interface provided by the operating system to render music using the MIDI emulation facility or through MIDI devices connected to the computer system.


The software allows the user to select program options, set music and program parameters. The software allows the user to load and save their settings so they can create and experiment with their own choir configurations. It also allows the user to create and store their own scales. Variations in the EDA signal are interpreted as notes. Each subject connected to the system is assigned to a virtual voice channel and the notes passing through the voice channels are synchronized to a master tempo setting. The voices combine to create multi part harmonies similar to a choir.





BRIEF DESCRIPTION OF THE DRAWINGS


FIG. 1 is a block diagram of an embodiment of the Plant Choir hardware and software system.



FIG. 2 is a block diagram of the Plant Choir software in the system of FIG. 1.



FIG. 3 is a flow diagram of an example setup and control for the system of FIG. 1.



FIG. 4 is a software and logic diagram of FIG. 1.



FIG. 5 is an example detailed block diagram of an embodiment of the Plant Choir hardware and software system.



FIG. 6 is the resistance sensing circuit and block diagram of the proprietary electrodermal activity sensing device.





DESCRIPTION OF EMBODIMENT—PLANT CHOIR™ SYSTEM


FIG. 1 is a system diagram of an example embodiment of a Plant Choir™ system 100 for generating music from a plurality of subjects 81, 82, and 83. In some examples, the subjects may be plants, animals, people, or combinations thereof. In the example of FIG. 1, there are 3 subjects. In general, the system can comprise any number of one or more subjects. When one subject is used multiple sensors are attached to provide multiple data streams.


In FIG. 1, EDA devices 201, 202, and 203 are connected to subjects 81, 82, and 83 respectively. The EDA devices provide raw data steams 221, 222, and 223, respectively, to a computer 120. In this example, the data is provided through a USB (Universal Serial Bus) connection 140.


The computer runs software 300 to filter the raw data to remove noise and convert the data streams to sequences of musical notes 321, 322, and 323. The generation of the musical notes is synchronized with a master tempo setting in order to allow the subjects to play in an organized fashion. A riff algorithm may be employed to generate multiple notes per beat in order to add movement to the music to make it more interesting. In this specification, the term “musical notes” refers to individual notes or combinations of notes such as chords. The musical notes are generated according to various virtual music instruments 321, 322, and 323 which are assigned to each subject.


The computer combines the sequences of musical notes to a combined output stream 340. The output stream 340 is converted to audible music by the sound rendering module 400. The sound rendering module produces sound using a synthesis algorithm that employs pre-recorded real instrument sounds. The output is then sent to the system speakers. It is also capable of utilizing the MIDI programming interface provided by the operating system to render sound using the system MIDI emulation that drive the computer speakers or to external MIDI devices.


The software allows the user to load and save their settings so they can create and experiment with their own choir configurations. It also allows the user to create and store their own scales.



FIG. 2 is a block diagram of the software 300 in the Plant Choir system 100 of FIG. 1. In this embodiment, the Plant Choir software allows the user to set the following parameters:

    • Device Selection 350—The user may select the output method used to render the music. The default device is the Software Synthesis algorithm which ultimately drives the system speakers. The Microsoft GS Wavetable Synth (MIDI Emulation) may also be selected to render the sound on the system speakers. In addition, the operating system MIDI programming interface allows the software to render music on MIDI devices if they are installed or connected to the computer system.
    • Master Tempo 352—The user may determine the tempo of the notes that are produced. The production of the notes is synchronized to the master tempo setting. A checkbox is provided to disable this feature in order to allow each individual ‘voice’ to be assigned its own independent tempo.
    • Mute 354—The user may mute or silence the music playback.
    • Riff 356—This allows the computer to select the notes to be played in a more random fashion in order to make the melodies more interesting.
    • Play 358—This button or control starts the playback conversion of input into music.
    • Stop 360—This button or control stops the playback conversion of input into music.
    • Signal Viewer 362—This control is used to display the electrodermal response signal variations being produced by each individual subject.
    • Voice Options 370—In one embodiment, Plant Choir is able to accommodate four Limestone Technologies DataPac_EDA (electrodermal activity sensing) units. Each unit is mapped to a ‘voice’ in the choir for which there are independent settings and parameters:
      • Voice enable checkbox 371—This control enables or disables the voice from producing sound.
      • Serial Number 372—This control maps the voice to a specific Limestone Technologies DataPac_EDA device.
      • Instrument 373—This control determines the instrument that will be used to render music notes for the voice.
      • Mode 374—This control selects the scale or set of notes that will be used by a particular voice. In this embodiment, the following sets of notes are available: Major, Pentatonic, Chromatic, Blues, Encounters, and Percussion.
      • Gain 375—This control is a sensitivity value that determines when the voice will sound in response to the EDA input signal.
      • kohms 376—This indicator is a readout of the current resistance value of the subject between the EDA device electrodes. It is a measure of the quality of the electrical connection to the subject.
      • Tempo 377—If the Master Tempo enable checkbox is unchecked, then each voice is allowed to play at its own tempo. Each voice may then be assigned a different tempo in order to produce interesting rhythm combinations.
      • Circuit 378—Indicates the status of the circuit connecting the subject to the electrodermal activity measurement device. It is gray when there is no DataPac_EDA device assigned to the voice. It is RED when the input resistance is out of range (short or open circuit.) Is GREEN when the input resistance is within the normal operating range.


        Setup and Operation



FIG. 3 is a flow diagram of an example setup and control for the system of FIG. 1.

    • At Step 1000, the system is setup. EDA devices 201, 202, and 203 are connected to individual subjects 81, 82, and 83. Each EDA device 201, 202, and 203 is connected to the computer 120.
    • At Step 2000, the system controls are configured by the user. The user selects, or the system defaults to, an output device selection 350, master tempo 352, riff 356. During operation, the user may select play 358, stop 360, mute 354, and signal viewer 362. The user selects, or the system defaults to, voice options 370 for each subject.
    • At Step 3000, the system acquires EDA data and translates it into music.
    • FIG. 4 is a software logic diagram for the system of FIG. 1. A background thread 500 running within the Plant Choir software gathers data from the DataPac_USB devices as the data becomes available and places the data in its respective Input Queue.
    • A second thread running 510 within the Plant Choir software is responsible for removing samples from the Input Queue and translating those values into musical notes through the use of a lookup table 530.
    • The software normalizes each input signal 311, 312, 313 to automatically compensate for changes in the input signal amplitude. The normalized input values are used to select notes 321, 322, and 323 from a lookup table 330. The lookup table assigned to each ‘voice” is configurable within the software and may contain note pitch values for a variety of musical modes such as major, minor, chromatic, pentatonic, blues, percussion, and custom subsets, for example. The software user can also define their own custom scales or musical modes.
    • A note structure is created which contains information such as pitch, tempo, volume, instrument, and effects. Once the parameters of the note have been determined, the note structure is placed in an Output Queue to await rendering by the Render Music module as sound.
    • At step 4000, the individual musical notes are combined and played as an audible concert.
    • A third thread 520 running within Plant Choir is responsible for removing notes from the Output Queue and rendering them using a synthesis algorithm that employs the pre-recorded sounds of real instruments. The sound is output on the system speakers.
    • As an alternative the software can also render sound through the operating system's MIDI programming interface that provides a MIDI emulation using the system sound card that can be played on the system speakers, or through MIDI devices attached to the computer system.


In this embodiment, a system of software and proprietary hardware is used to acquire EDA readings from one or more subjects in order to produce musical notes that are synchronized to a master tempo to allow the subjects to play together and create music in multi-part harmony in a fashion similar to a choir. It is also possible to attach multiple EDA devices to different parts of a single subject and use that data to drive multiple voices.


Each DataPac_EDA device samples the subject's surface resistance at fixed intervals and transmits the readings to a personal computer via a USB (Universal Serial Bus) connection. One DataPac_EDA device is used per subject and multiple DataPac_EDA devices may be used to connect multiple subjects to the personal computer system. Multiple EDA devices can be attached to different parts of a single subject in order to drive multiple voices.



FIG. 5 is an example detailed block diagram of an embodiment of the Plant Choir hardware and software system. In this example, subject 81 is a plant with an example input EDA waveform 611; subject 82 is a dog with an example input EDA waveform 612; and subject 83 is a human with an example input EDA waveform 613. Background thread 500 gathers the EDA data from the EDA devices for each subject and places the data in the respective input queues 311, 312, and 313. Second thread 510 removes the EDA data from the Input Queues and translates those values into musical notes through the use of a lookup table 530 (not shown). Third thread 520 removes the combined notes from Music Output Queue 340 and feeds the notes to the Render Music module 400 that uses the sound synthesis algorithm or the operating system MIDI programming interface to render the music.



FIG. 6 is a circuit and block diagram that illustrates the internal workings of the Limestone Technologies Datapac_USB electrodermal activity device. The resistance sensing circuit 600 uses an operational amplifier A1 to apply a constant 0,974 volts across the input leads. The voltage is determined by the resistor divider circuit comprised of R18 and R15. This voltage is applied to the positive input of the operational (op) amplifier (amp). The voltage difference between the positive and negative inputs of the op amp is assumed to be zero to facilitate circuit analysis. The op amp will keep the voltage at the negative input equal to the voltage at the positive input by applying Vout to the voltage divider consisting of R21, Rin and EDA Sense. Vout can be calculated as ((R21/(EDASense+Rin))+1)*0.974.


The Resistance Sensing Circuit 600 has a non-linear response to the subject's resistance (EDA Sense) that allows it to respond to values in the range of 0 ohms to tens of thousands of kilo ohms without the need for range switching.


Vout is applied to the A/D input of the microcontroller 601. The software in the microcontroller is responsible for taking samples at fixed intervals and transmitting them to the main computer through the USB interface.


Rin is used to protect the op amp A1 when the input leads are shorted together. The maximum current through the leads is 9.75 micro amps.


It is to be understood that the specific embodiments and examples described above are by way of illustration, and not limitation. Various modifications may be made by one of ordinary skill, and the scope of the invention is defined in the appended claims.

Claims
  • 1. A system for generating music from the electrodermal activity data of a plurality of subjects, the system comprising a computing device comprising software that converts EDA data to musical notes by converting variations in an EDA signal from each of multiple subjects to musical notes, andsynchronizing musical notes from the multiple subjects to a master tempo setting;a plurality of EDA devices, each EDA device configured to acquire electrodermal activity data from a subject, each electrodermal activity device comprising a pair of input leads configured to be attached to a subject,a resistance sensing circuit configured to provide a constant voltage across the first pair of input leads and to provide a non-linear response to the electrodermal resistance of the subject, the resistance sensing circuit comprising an operational amplifier circuit configured to apply a constant voltage across the first pair of input leads and to provide an output voltage that is proportional to current flowing through the subject, anda microcontroller configured to take samples and transmitting data to the computing device; anda sound rendering module.
  • 2. The system of claim 1 wherein the connection between each EDA device and the computing device is a Universal Serial Bus connection.
  • 3. The system of claim 1 wherein the connection between each EDA device and the computing device is a wireless connection.
  • 4. The system of claim 1 wherein the plurality of subjects are plants.
  • 5. The system of claim 1 wherein the plurality of subjects are animals.
  • 6. The system of claim 1 wherein the plurality of subjects are persons.
  • 7. The system of claim 1 wherein the plurality of subjects further comprise combinations of plants, animals, or persons.
  • 8. The system of claim 1 wherein the an operational amplifier circuit further comprises a constant positive voltage input, anda negative voltage input, such that the operational amplifier is configured to maintain the negative voltage input equal to the voltage at the positive input by applying an output voltage to a voltage divider.
  • 9. The system of claim 1 wherein the computing device further comprises software that employs a riff algorithm to assign multiple notes per beat for each of the multiple subjects.
  • 10. The system of claim 1 wherein the sound rendering module further comprises system speakers; and software renders the music using a synthesis algorithm that direct pre-recorded sounds of real instruments to the system speakers.
  • 11. The system of claim 1 wherein the sound rendering module further comprises an MIDI programming interface configured to render sound using MIDI emulation that drives speakers or external MIDI devices.
  • 12. The system of claim 1 wherein the computing device further comprises software that permits a user to load and save settings in order to create and experiment with choir configurations.
  • 13. The system of claim 1 wherein the computing device further comprises software that permits a user to create and store scales.
  • 14. A system for generating music from the electrodermal activity data of a first subject, the system comprising a first electrodermal activity device comprising a first pair of input leads configured to be attached to the first subject,a resistance sensing circuit configured to provide a constant voltage across the first pair of input leads and to provide a non-linear response to the electrodermal resistance of the first subject, the resistance sensing circuit comprising an operational amplifier circuit configured to apply a constant voltage across the first pair of input leads and to provide an output voltage that is proportional to the current flowing through the first subject, anda microcontroller configured to take samples and transmitting data to the computing device;a computing device comprising software that converts EDA data to musical notes by converting variations in an EDA signal from each of multiple subjects to musical notes, andsynchronizing musical notes from the multiple subjects to a master tempo setting ; anda sound rendering module.
  • 15. The system of claim 14 wherein the the microcontroller is configured to transmit data to the computing device through a USB interface.
  • 16. The system of claim 14 further comprising a second electrodermal activity device comprising a second pair of input leads configured to be attached to the first subject at a different location than the first pair of input leads,a resistance sensing circuit configured to provide a constant voltage across the second pair of input leads and to provide a non-linear response to the electrodermal resistance of the first subject, the resistance sensing circuit comprising an operational amplifier having a constant positive voltage input and a negative voltage input, such that the operational amplifier is configured to maintain the negative voltage input equal to the voltage at the positive input by applying an output voltage to a voltage divider, anda microcontroller configured to take samples and transmitting data to the computing device.
US Referenced Citations (51)
Number Name Date Kind
4776323 Spector Oct 1988 A
5253168 Berg Oct 1993 A
5768127 Murata Jun 1998 A
6487817 Airaudi Dec 2002 B2
6743164 Airaudi Jun 2004 B2
6852919 Ludwig Feb 2005 B2
6933434 Nishitani Aug 2005 B2
7012182 Nishitani Mar 2006 B2
7135637 Nishitani Nov 2006 B2
7179984 Nishitani Feb 2007 B2
7183477 Nishitani Feb 2007 B2
7183480 Nishitani Feb 2007 B2
7298360 Howard Nov 2007 B2
7544880 Takai Jun 2009 B2
7638704 Ludwig Dec 2009 B2
7781666 Nishitani Aug 2010 B2
7952013 Komori May 2011 B2
7960638 Miyajima Jun 2011 B2
8017852 Yamashita Sep 2011 B2
8022287 Yamashita Sep 2011 B2
8106283 Nishitani Jan 2012 B2
8242344 Moffatt Aug 2012 B2
8269092 Terauchi Sep 2012 B2
8519250 Ludwig Aug 2013 B2
8812502 Takatsuka Aug 2014 B2
20010015123 Nishitani Aug 2001 A1
20020026746 Airaudi Mar 2002 A1
20020166437 Nishitani Nov 2002 A1
20020170413 Nishitani Nov 2002 A1
20030066413 Nishitani Apr 2003 A1
20030106260 Airaudi Jun 2003 A1
20030167908 Nishitani Sep 2003 A1
20040000225 Nishitani Jan 2004 A1
20040074379 Ludwig Apr 2004 A1
20040099129 Ludwig May 2004 A1
20050041016 Howard Feb 2005 A1
20050126370 Takai Jun 2005 A1
20060090632 Ludwig May 2006 A1
20060111621 Coppi May 2006 A1
20060126452 Yamashita Jun 2006 A1
20060185502 Nishitani Aug 2006 A1
20080288095 Miyajima Nov 2008 A1
20090088877 Terauchi Apr 2009 A1
20090235811 Komori Sep 2009 A1
20090249945 Yamashita Oct 2009 A1
20100168879 Takatsuka Jul 2010 A1
20100263518 Nishitani Oct 2010 A1
20110022594 Takatsuka Jan 2011 A1
20110093100 Ramsay Apr 2011 A1
20140267123 Ludwig Sep 2014 A1
20160198984 Daniele Jul 2016 A1
Related Publications (1)
Number Date Country
20210174773 A1 Jun 2021 US