couple of received frames; it is useful for triggering
sounds with “kick-like” movements. We also
compute these two additional parameters:
Global activity
Crest factor
The first is an indicator of overall quantity of
movement (0.0 if the subject is standing still with no
moments), while the second one is an indication of
the concavity of the posture: (0.0 means that the
subject is standing with the legs and the arms are
united with the body). Some optimizations are
performed in order to start the frame analysis from
an area centred in the last detected barycentre.
Instead of aiming at the design of a very
sophisticated detection algorithm, we tried to
implement it in a very optimized way for
maintaining the target frame rate (25 FPS), in order
to avoid latency between gestures and sounds.
3.4 Sound Generation
The sound generation is based on the Mac OS
CoreAudio library. We used the Audio Unit API for
building an Audio graph: 4 instances of
DownLoadable Synthesizer (DLS) are mixed
together in the final musical signal. These
synthesizers produce sounds according to standard
MIDI messages received from their virtual input
ports. We added two digital effects (echo and
Reverberation) to the final mix: for each synthesizer
we can control the portion if its signal to be sent to
these effects.
Each synthesizer module can load a bank of
sounds (in the DLS or SF2 standard format) from the
set installed in the system. The user can obviously
add his own sound banks, including the sounds he
created, to the system. It is also possible to specify a
background audio file, to be played together with the
controlled sounds.
3.5 Mapper
The mapper module translates the detected features
into MIDI commands for the musical synthesizers.
Each synthesizer works in independent way, and for
each of them it is possible to select the instrument
and the instrument banks.
Each parameter of the sounds (pitch, volume,
etc.) can be easily linked to the detected gesture
parameters using the GUI. For example we can link
the Global Activity to the pitch: the faster you move
the more high pitched notes you play. The
synthesized MIDI notes are chosen from a user
selectable scale: there’s a large variety of them,
ranging from the simplest ones (e.g. major and
minor) to the more exotic ones. As an alternative, it
is possible to select continuous pitch, instead of
discrete notes: in this way the linked detected
features controls the pitch in a “glissando” way.
Sound can be triggered in a “Drum mode” way,
too: the MIDI note C played when the linked
parameters reach a selected threshold.
All these links settings can be stored in pre-sets,
easily recallable and from the operators.
3.6 Parameters Summary
The detected parameters are shown in real-time with
a set of horizontal bars. Their shown value is
normalized between 0 and 1; in this way we found
that it is easy to understand their role in a link.
At the end of a session it is possible, pressing the
Statistics button, to show a simple Statistic of the
gesture parameters (currently the average and the
variance). These data, together with some other
useful information can be saved in a text file for
further external analysis.
4 RESULTS
AND DEVELOPMENTS
The installed system has been applied for case study
tests on several young patients affected by Autism
Spectrum Disorder.
Autism is a brain development disorder
characterized by impaired social interaction and
communication. It appears in the first years of life
and arrests the development of affective evolution. It
basically compromises social interaction and
language expression, and often leads to restricted
and repetitive behaviour. Various studies reports
about the incidence of autism, they all confirm a
large increase in the recent years, rising from 2002
with an increase rate of 78%. In particular on
average, but depending on the age of the data
retrieved autism affects about 1 children out of 100
(Baio, 2012) in the peak age (8 years old). The
following Figure 5 report the rapid increase and
trend (Chiarotti and Venerosi Pesciolini, 2012).
Autism has a genetic basis, but a complete
explanation of its causes is still unknown. An
exhaustive description of this disorder in medical
terms is beyond the scope of this document.
Studies have shown that music-therapy has a
significant, positive influence when used to treat
autistic individuals (Alvin and Warwick, 1992).
HEALTHINF2014-InternationalConferenceonHealthInformatics
566