---
title: Blog - 0110.be
canonical: https://0110.be/Blog?page=3
markdown_url: https://0110.be/Blog.md?page=3
page: 3
posts_per_page: 30
total_posts: 260
filters:
  content_page: Blog
  tags:
  - 0110 concerten
  - 0110.be
  - ARIP
  - Code
  - Collaborative Filtering
  - Command Line Application
  - Computational ethnomusicology
  - Computational musicology
  - Cultuur
  - Dutch
  - Film
  - Folk Music Analysis (FMA) conference
  - Hackerspace Ghent
  - Harde waren
  - HoGent
  - ISMIR
  - JNMR
  - Java
  - Jazz
  - Jongleren
  - Joren In Halmstad
  - LaTeX
  - Mac OS X
  - Music Information Retrieval
  - Muziek
  - PeachNote Piano
  - Poging tot humor
  - Portfolio
  - Presentation
  - Projecten
  - Reizen
  - Research papers
  - School
  - Schoolwijs
  - Tarsos
  - TarsosDSP
  - TarsosTranscoder
  - Thesis
  - UGent
  - Vooruit
  - WSOLA
  - featured
  - français
previous: https://0110.be/Blog.md?page=2
next: https://0110.be/Blog.md?page=4
---

# Blog - 0110.be

## [Audio marker finder](https://0110.be/posts/Audio_marker_finder.md)

- Published: 2019-02-22T00:00:00Z
- Updated: 2025-11-29T14:38:33Z
- Author: Joren
- ID: 468
- Canonical: https://0110.be/posts/Audio_marker_finder

- Tags: [Code](https://0110.be/tags/Code.md), [UGent](https://0110.be/tags/UGent.md)

I have uploaded a small piece of software which allows users to find a specific audio marker in audio streams. It is mainly practical to synchronise a camera (audio/video) recording with other audio with the same marker. The marker is a set of three beeps. These three beeps are found with millisecond accurate precision within the audio streams under analysis. By comparing the timing of marker synchronization becomes possible. It can be regarded as an alternative for the movie clapper boards.

<center>
<img src="https://0110.be/files/attachments/468/screenshot.png" alt="Screenshot of the Audio marker finder"/>

</center>
The source code for the [audio marker finder](https://github.com/ArtScienceLab/AudioMarkerFinder) is on GitHub. The software is used in the [Art Science Interaction Lab (ASIL)](https://www.ugent.be/lw/kunstwetenschappen/en/research-groups/musicology/ipem/artsciencelab-ipem) of the Krook. Below you can download the [Audio marker finder](https://0110.be/files/attachments/468/2019.02.19.AudioMarkerFinder.jar) and the [marker](https://0110.be/files/attachments/468/marker.wav) itself.


- [screenshot.png](https://0110.be/files/attachments/468/screenshot.png)

- [marker.wav](https://0110.be/files/attachments/468/marker.wav)

- [2019.02.19.AudioMarkerFinder.jar](https://0110.be/files/attachments/468/2019.02.19.AudioMarkerFinder.jar)

---

## [Nano4Sports in Team Scheire ](https://0110.be/posts/Nano4Sports_in_Team_Scheire_.md)

- Published: 2019-02-05T00:00:00Z
- Updated: 2019-02-05T12:29:48Z
- Author: Joren
- ID: 467
- Canonical: https://0110.be/posts/Nano4Sports_in_Team_Scheire_

- Tags: [UGent](https://0110.be/tags/UGent.md)

'Team Scheire' is a Flemish TV program with a similar concept as BBC Two's 'The Big Life Fix'. In the program, makers create ingenious new solutions to everyday problems and build life-changing solutions for people in desperate need.

One of the cases is [Ben](https://www.canvas.be/team-scheire/ben). Ben loves to run but has a recurring running related injury. To monitor Ben's running and determine a maximum training length a sensor was developed that measures the impact and the amount of steps taken. The program makers were interested in the results of the [Nano4Sports project at UGent](https://www.ugent.be/en/research/research-ugent/trackrecord/trackrecord-h2020/interreg/interreg-vlaanderen-nederland-nano4sports.htm). One of the aims of that project is to build those type of sensors and knowhow related to correct interpretation of data and use of such devices. Below a video with some background information can be found:

<center>
<video width="460" controls>
<source  src="https://0110.be/files/attachments/467/Team_Lieven_Scheire_N4S.mp4" type="video/mp4">
</video>
</center>
The solution build for the program is documented in a [Github Repository](https://github.com/TeamScheire/theBenZ) One of the scientific results of the Nano4Sports project can be found in an article for the Journal of Biomechanics titled [*Validity and reliability of peak tibial accelerations as real-time measure of impact loading during over-ground rearfoot running at different speeds*.](https://www.sciencedirect.com/science/article/pii/S0021929019300764)


---

## [Validity and reliability of peak tibial accelerations as real-time measure of impact loading during over-ground rearfoot running at different speeds - Journal of Biomechanics](https://0110.be/posts/Validity_and_reliability_of_peak_tibial_accelerations_as_real-time_measure_of_impact_loading_during_over-ground_rearfoot_running_at_different_speeds_-_Journal_of_Biomechanics.md)

- Published: 2019-02-05T00:00:00Z
- Updated: 2025-11-29T14:40:02Z
- Author: Joren
- ID: 466
- Canonical: https://0110.be/posts/Validity_and_reliability_of_peak_tibial_accelerations_as_real-time_measure_of_impact_loading_during_over-ground_rearfoot_running_at_different_speeds_-_Journal_of_Biomechanics

- Tags: [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/466/journal_of_biomechanics.jpg" style="float:right" width="250"/>With the goal in mind to reduce common runner injuries we first need to measure some running style characteristics. Therefore, we have developed a sensor to measure how hard a runners foot repeatedly hits the ground. This sensor has been compared with laboratory equipment which proofs that its measurements are valid and can be repeated. The main advantages of our sensor is that it can be used 'in the wild', outside the lab on the runners regular tours. We want to use this sensor to provide real-time biofeedback in order to change running style and ultimately reduce injury risk.

We have published an article on this sensor in the journal of Biomechanics: Pieter Van den Berghe, Joren Six, Joeri Gerlo, Marc Leman, Dirk De Clercq [*Validity and reliability of peak tibial accelerations as real-time measure of impact loading during over-ground rearfoot running at different speeds*](https://www.sciencedirect.com/science/article/pii/S0021929019300764), ([author version](https://0110.be/files/attachments/466/author_version.pdf), Journal of Biomechanics, 2019

> Studies seeking to determine the effects of gait retraining through biofeedback on peak tibial acceleration (PTA) assume that this biometric trait is a valid measure of impact loading that is reliable both within and between sessions. However, reliability and validity data were lacking for axial and resultant PTAs along the speed range of over-ground endurance running. A wearable system was developed to continuously measure 3D tibial accelerations and to detect PTAs in real-time. Thirteen rearfoot runners ran at 2.55, 3.20 and 5.10 m\*s-1 over an instrumented runway in two sessions with re-attachment of the system. Intraclass correlation coefficients (ICCs) were used to determine within-session reliability. Repeatability was evaluated by paired T-tests and ICCs. Concerning validity, axial and resultant PTAs were correlated to the peak vertical impact loading rate (LR) of the ground reaction force. Additionally, speed should affect impact loading magnitude. Hence, magnitudes were compared across speeds by RM-ANOVA. Within a session, ICCs were over 0.90 and reasonable for clinical measurements. Between sessions, the magnitudes remained statistically similar with ICCs ranging from 0.50 to 0.59 for axial PTA and from 0.53 to 0.81 for resultant PTA. Peak accelerations of the lower leg segment correlated to LR with larger coefficients for axial PTA (r range: 0.64--0.84) than for the resultant PTA per speed condition. The magnitude of each impact measure increased with speed. These data suggest that PTAs registered per stand-alone system can be useful during level, over-ground rearfoot running to evaluate impact loading in the time domain when force platforms are unavailable in studies with repeated measurements.


---

## [ISMIR 2018 Conference - Automatic Analysis Of Global Music Recordings  suggests Scale Tuning Universals](https://0110.be/posts/ISMIR_2018_Conference_-_Automatic_Analysis_Of_Global_Music_Recordings__suggests_Scale_Tuning_Universals.md)

- Published: 2018-09-24T00:00:00Z
- Updated: 2019-07-03T13:46:15Z
- Author: Joren
- ID: 462
- Canonical: https://0110.be/posts/ISMIR_2018_Conference_-_Automatic_Analysis_Of_Global_Music_Recordings__suggests_Scale_Tuning_Universals

- Tags: [IPEM](https://0110.be/tags/IPEM.md), [ISMIR](https://0110.be/tags/ISMIR.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/462/ismir_2018_logo.jpg" style="float:right" width="250"/>Thanks to the support of a travel grant by the faculty of Arts and Philosophy of Ghent University I was able to attend the ISMIR 2018 conference. A conference on Music Information Retrieval. I am co author on a contribution for the [the Late-Breaking / Demos session](http://ismir2018.ircam.fr/pages/events-lbd.html)

> The structure of musical scales has been proposed to reflect universal acoustic principles based on simple integer ratios. However, some studying tuning in small samples of non-Western cultures have argued that such ratios are not universal but specific to Western music. To address this debate, we applied an algorithm that could automatically analyze and cross-culturally compare scale tunings to a global sample of 50 music recordings, including both instrumental and vocal pieces. Although we found great cross-cultural diversity in most scale degrees, these preliminary results also suggest a strong tendency to include the simplest possible integer ratio within the octave (perfect fifth, 3:2 ratio, \~700 cents) in both Western and non-Western cultures. This suggests that cultural diversity in musical scales is not without limit, but is constrained by universal psycho-acoustic principles that may shed light on the evolution of human music.


- [musical\_scales\_extended\_abstract\_\_0826\_revision\_copy.pdf](https://0110.be/files/attachments/462/musical_scales_extended_abstract__0826_revision_copy.pdf)

- [animated\_logo.gif](https://0110.be/files/attachments/462/animated_logo.gif)

- [ismir\_2018\_logo.jpg](https://0110.be/files/attachments/462/ismir_2018_logo.jpg)

---

## [JGaborator - Fast Gabor spectral transforms in Java](https://0110.be/posts/JGaborator_-_Fast_Gabor_spectral_transforms_in_Java.md)

- Published: 2018-09-13T00:00:00Z
- Updated: 2018-09-26T13:25:04Z
- Author: Joren
- ID: 465
- Canonical: https://0110.be/posts/JGaborator_-_Fast_Gabor_spectral_transforms_in_Java

- Tags: [Code](https://0110.be/tags/Code.md), [UGent](https://0110.be/tags/UGent.md)

Recently I have published a small library [on github called JGaborator](https://github.com/JorenSix/JGaborator). The library calculates fine grained constant-Q spectral representations of audio signals quickly from Java. The calculation of a [Gabor transform](https://en.wikipedia.org/wiki/Gabor_transform) is done by a C library named [Gaborator](http://gaborator.com). A Java native interface (JNI) bridge to the C Gaborator is provided. A combination of Gaborator and a fast FFT library (such as [pfft](https://bitbucket.org/jpommier/pffft)) allows fine grained constant-Q transforms at a rate of about 200 times real-time on moderate hardware. It can serve as a front-end for several audio processing or MIR applications.

For more information on the Gaborator C library by Andreas Gustafsson, please see the [gaborator.com](http://gaborator.com) website or a talk by the author on the library called [Exploring time-frequency space with the Gaborator](https://www.youtube.com/watch?v=ONJVJBmFiuE)

While the gaborator allows reversible transforms, only a forward transform (from time domain to the spectral domain) is currently supported from Java.A spectral visualization tool for sprectral information is part of this package. See below for a screenshot:

<center>
<img src="https://0110.be/files/attachments/465/jgaborator.png" width="550" alt="JGaborator screenshot"/>

</center>


---

## [TISMIR journal article - A Case for Reproducibility in MIR: Replication of ‘A Highly Robust Audio Fingerprinting System’](https://0110.be/posts/TISMIR_journal_article_-_A_Case_for_Reproducibility_in_MIR%3A_Replication_of_%E2%80%98A_Highly_Robust_Audio_Fingerprinting_System%E2%80%99.md)

- Published: 2018-09-12T00:00:00Z
- Updated: 2018-09-26T13:00:47Z
- Author: Joren
- ID: 463
- Canonical: https://0110.be/posts/TISMIR_journal_article_-_A_Case_for_Reproducibility_in_MIR%3A_Replication_of_%E2%80%98A_Highly_Robust_Audio_Fingerprinting_System%E2%80%99

- Tags: [ISMIR](https://0110.be/tags/ISMIR.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/463/TISMIR.png" style="float:right;background-color:#313131" width="250"/> As an extension of the ISMIR conferences the International Society for Music Information Retrievel started a new journal: TISMIR. The first issue contains an article of mine:\
[A Case for Reproducibility in MIR: Replication of 'A Highly Robust Audio Fingerprinting System'](https://transactions.ismir.net/articles/10.5334/tismir.4/). The abstract can be read here:

> Claims made in many Music Information Retrieval (MIR) publications are hard to verify due to the fact that (i) often only a textual description is made available and code remains unpublished -- leaving many implementation issues uncovered; (ii) copyrights on music limit the sharing of datasets; and (iii) incentives to put effort into reproducible research -- publishing and documenting code and specifics on data -- is lacking. In this article the problems around reproducibility are illustrated by replicating an MIR work. The system and evaluation described in 'A Highly Robust Audio Fingerprinting System' is replicated as closely as possible. The replication is done with several goals in mind: to describe difficulties in replicating the work and subsequently reflect on guidelines around reproducible research. Added contributions are the verification of the reported work, a publicly available implementation and an evaluation method that is reproducible.


---

## [JNMR article - Beyond documentation – The digital philology of interaction heritage](https://0110.be/posts/JNMR_article_-_Beyond_documentation_%E2%80%93_The_digital_philology_of_interaction_heritage.md)

- Published: 2018-07-31T00:00:00Z
- Updated: 2018-09-26T13:13:46Z
- Author: Joren
- ID: 464
- Canonical: https://0110.be/posts/JNMR_article_-_Beyond_documentation_%E2%80%93_The_digital_philology_of_interaction_heritage

- Tags: [JNMR](https://0110.be/tags/JNMR.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

Marc Leman and myself have recently published an article in the Journal of New Music Research for a special issue on Digital Philology for Multimedia Cultural Heritage. Our contribution is titled <img src="https://0110.be/files/attachments/464/jnmr.jpg" width="120" style="float:right"/>[Beyond documentation -- The digital philology of interaction heritage](https://www.tandfonline.com/doi/abs/10.1080/09298215.2018.1479428)

> A philologist's approach to heritage is traditionally based on the curation of documents, such as text, audio and video. However, with the advent of interactive multimedia, heritage becomes floating and volatile, and not easily captured in documents. We propose an approach to heritage that goes beyond documents. We consider the crucial role of institutes for interactive multimedia (as motor of a living culture of interaction) and propose that the digital philologist's task will be to promote the collective/shared responsibility of (interactive) documenting, engage engineering in developing interactive approaches to heritage, and keep interaction-heritage alive through the education of citizens.


---

## [MIR Meetup Berlin - Acoustic Fingerprinting in Research](https://0110.be/posts/MIR_Meetup_Berlin_-_Acoustic_Fingerprinting_in_Research.md)

- Published: 2018-04-26T00:00:00Z
- Updated: 2025-11-29T14:40:22Z
- Author: Joren
- ID: 461
- Canonical: https://0110.be/posts/MIR_Meetup_Berlin_-_Acoustic_Fingerprinting_in_Research

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

I was kindly invited by SoundCloud to give a presentation on "Acoustic fingerprinting in research". The presentation took place during one of the "MIR Meetups" in Berlin on Monday, April 23, 2018. Before my presentation there was a presentation by Derek and Josh (both SoundCloud engineers) detailing the state of the internal fingerprinting system of SoundCloud.

During my presentation I gave an overview of various applications of acoustic fingerprinting in a music research environment and detailed how these applications can be handled and are implemented in [Panako: an open source fingerprinting system](http://panako.be)

Below the slides used during the presentation can be found:

<iframe style="width:100%;height:50vh;border:1px black solid" src="https://0110.be/attachment/presentations/2018.04.22-Panako-Berlin/index.html">
</iframe>


---

## [Engineering systematic musicology](https://0110.be/posts/Engineering_systematic_musicology.md)

- Published: 2018-02-02T00:00:00Z
- Updated: 2025-11-29T14:41:35Z
- Author: Joren
- ID: 460
- Canonical: https://0110.be/posts/Engineering_systematic_musicology

- Tags: [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

The 11th of January I successfully completed my PhD training under mentorship of Marc Leman with a public defense at [de Krook](http://dekrook.be) in Ghent.

I also handed in my dissertation titled  [Engineering systematic musicology: methods and services for computational and empirical music research](https://0110.be/files/attachments/460/2018.01.phd.joren.six-Engineering.systematic.musicology.pdf)  ([version of record](https://biblio.ugent.be/publication/8544101)). The dissertation bundles several of [my publications](https://0110.be/Publications) and places them in a framework in the introduction and reflects upon these in the conclusion. The publications all contribute either directly to the field of systematic musicology (e.g. tone scale research) or contributes indirectly by facilitating specific research tasks (e.g. synchronization of multi-modal research data).

The presentation during my defense was meant for a broader audience. During the presentation I gave examples of the research topics I have been working and focused on how these are connected. The [presentation titled Engineering systematic musicology](https://0110.be/phd/presentation/) can be seen by following the previous link and is included below. The slide with the live spectrogram and the slide with the map need to be started by *double clicking* otherwise they remain empty.

<div style="width:100%">
<iframe height="550px" width="100%" style="border:none;width:100%,height:550px"  src="https://0110.be/phd/presentation/index.html">
</iframe>
</div>
The presentation is essentially an interactive HTML5 website build with the [reveal.js](https://revealjs.com) framework. This has the advantage that multimedia is well supported and all kinds of interactions can be scripted. The presentation above, for example, uses the web audio API for live audio visualization and the google maps API for interactive maps. Video integration is also seamless. It would be a struggle to achieve similar multi-media heavy presentations with other presentation software packages such as Impress, Keynote or Powerpoint.


![De Krook - Ghent](https://0110.be/files/photos/460/krook.jpg)

![Defending](https://0110.be/files/photos/460/IMG_20180111_165705271.jpg)

![](https://0110.be/files/photos/460/IMG_3962.JPG)

- [2018.01.phd.joren.six-Engineering.systematic.musicology.pdf](https://0110.be/files/attachments/460/2018.01.phd.joren.six-Engineering.systematic.musicology.pdf)

---

## [HTML5 spectrogram on canvas with pitch estimation](https://0110.be/posts/HTML5_spectrogram_on_canvas_with_pitch_estimation.md)

- Published: 2018-01-25T00:00:00Z
- Updated: 2018-03-07T10:46:11Z
- Author: Joren
- ID: 459
- Canonical: https://0110.be/posts/HTML5_spectrogram_on_canvas_with_pitch_estimation

- Tags: [UGent](https://0110.be/tags/UGent.md)

To present my research in an accessible way I needed a reliable way to visualize audio, audio feature extraction and processing of audio features into a higher level representation. Canvas, HTML5, javascript and the [Reveal.js](https://revealjs.com) presentation framework offered a solution.

I often need audio and video material embedded into presentations. I have had bad experiences with powerpoint/keynote and especially the LaTeX beamer package and multimedia: audio/video material does not start playing or at the wrong moment, finicky on codecs, limited compatibility, a clunky UX (whoever came up with the idea to show multimedia controls while hovering over e.g. an audio thumbnail should be reoriented towards back-end programming) all contribute to errors while handling audio/video. Moreover the interactive capabilities are limiting.

<div style="width:100%">
<iframe height="550px" width="100%" style="border:none;width:100%,height:550px"  src="https://0110.be/phd/presentation/spectrogram/index.html">
</iframe>
</div>
The component above is an interactive spectrogram which combines HTML5's web audio API capabilities with the canvas element and some Javascript to glue things together. Note that this has been tested on Chrome and Firefox only.

To experiment with the capabilities you can either [drag and drop mp3 files](https://0110.be/phd/presentation/spectrogram/file.html) or [analyse live audio from your microphone](https://0110.be/phd/presentation/spectrogram/live.html)

This is based on the [spectrogram implementation by GitHub user Boris Smus](https://github.com/borismus/spectrogram). The live pitch tracking is implemented by [Peter Hayes](https://github.com/peterkhayes/pitchfinder) which again is based on my own Java code.


---

## [IRCDL 2018 - Applications of Duplicate Detection in Music Archives: from Metadata Comparison to Storage Optimisation](https://0110.be/posts/IRCDL_2018_-_Applications_of_Duplicate_Detection_in_Music_Archives%3A_from_Metadata_Comparison_to_Storage_Optimisation.md)

- Published: 2018-01-23T00:00:00Z
- Updated: 2025-11-29T14:42:43Z
- Author: Joren
- ID: 458
- Canonical: https://0110.be/posts/IRCDL_2018_-_Applications_of_Duplicate_Detection_in_Music_Archives%3A_from_Metadata_Comparison_to_Storage_Optimisation

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [IPEM](https://0110.be/tags/IPEM.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

Together with Federica Bressan I have contributed to the [Italian Research Conference on Digital Libraries 2018](http://ircdl2018.dimi.uniud.it/):

> *"Since 2005, the Italian Research Conference on Digital Libraries has served as an important national forum focused on digital libraries and associated technical, practical, and social issues. IRCDL encompasses the many meanings of the term "digital libraries", including new forms of information institutions; operational information systems with all manner of digital content; new means of selecting, collecting, organizing, and distributing digital content..."*

The 26th of January Federica presented our joint contribution titled "Applications of Duplicate Detection in Music Archives: from Metadata Comparison to Storage Optimisation". The work focuses on applications of duplicate detection for managing digital music archives. It aims to make this mature music information retrieval (MIR) technology better known to archivists and provide clear suggestions on how this technology can be used in practice. More specifically applications are discussed to complement meta-data, to link or merge digital music archives, to improve listening experiences and to re-use segmentation data.

The [version of record](https://link.springer.com/chapter/10.1007/978-3-319-73165-0_10) of the article and an [author version](https://0110.be/files/attachments/458/2018.IRCDL-duplicates-article-author-version.pdf) are available. The [presentation](https://0110.be/files/attachments/458/2018.IRCDL-duplicates-presentation.pdf) is available here as well.


- [2018.IRCDL-duplicates-presentation.pdf](https://0110.be/files/attachments/458/2018.IRCDL-duplicates-presentation.pdf)

- [2018.IRCDL-duplicates-article-author-version.pdf](https://0110.be/files/attachments/458/2018.IRCDL-duplicates-article-author-version.pdf)

---

## [International Symposium on Computational Ethnomusicological Archiving](https://0110.be/posts/International_Symposium_on_Computational_Ethnomusicological_Archiving.md)

- Published: 2017-11-24T00:00:00Z
- Updated: 2017-12-13T09:00:47Z
- Author: Joren
- ID: 457
- Canonical: https://0110.be/posts/International_Symposium_on_Computational_Ethnomusicological_Archiving

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

This weekend the University Hamburg - Institute for Systematic Musicology and more specifically Christian D. Koehn organized the [International Symposium on Computational Ethnomusicological Archiving](https://www.fbkultur.uni-hamburg.de/sm/iscea.html). The symposium featured a broad selection of research topics (physical modelling of instruments, MIR research, 3D scanning techniques, technology for (re)spacialisation of music, library sciences) which all had a relation with archiving musics of the world:

> *How could existing digital technologies in the field of music information retrieval, artificial intelligence, and data networking be efficiently implemented with regard to digital music archives? How might current and future developments in these fields benefit researchers in ethnomusicology? How can analytical data about musical sound and descriptive data about musical culture be more comprehensively integrated?*

I was able to attend the symposium and contributed with a talk titled "Challenges and opportunities for computational analysis of wax cylinders":\[2017.12.Hamburg-Wax-presentation.pdf\] and by chairing a panel discussion. The symposium was kindly sponsored by the VolkswagenStiftung. The talk had the following abstract:

> *In this presentation we describe our experience of working with computational analysis on digitized wax cylinder recordings. The audio quality of these recordings is limited which poses challenges for standard MIR tools. Unclear recording and playback speeds further hinder some types of audio analysis. Moreover, due to a lack of systematical meta-data notation it is often uncertain where a single recording originates or when exactly it was recorded. However, being the oldest available sound recordings, they are invaluable witnesses of various musical practices and they are opportunities to improve the understanding of these practices. Next to sketching these general concerns, we present results of the analysis of pitch content of 400 wax cylinder recordings from Indiana University (USA) and from the Royal Museum from Central Africa (Belgium). The scales of the 400 recordings are mapped and analyzed as a set. It is found that the fifth is almost always present and that scales with four and five pitch classes are organized similarly and differ from those with six and seven pitch classes, latter center around intervals of 170 cents, and former around 240 cents.*


- [2017.12.Hamburg-Wax-presentation.pdf](https://0110.be/files/attachments/457/2017.12.Hamburg-Wax-presentation.pdf)

- [ISCEA-final-program.pdf](https://0110.be/files/attachments/457/ISCEA-final-program.pdf)

---

## [4th International Digital Libraries for Musicology workshop (DLfM 2017)](https://0110.be/posts/4th_International_Digital_Libraries_for_Musicology_workshop_%28DLfM_2017%29.md)

- Published: 2017-10-28T00:00:00Z
- Updated: 2017-12-05T13:56:47Z
- Author: Joren
- ID: 456
- Canonical: https://0110.be/posts/4th_International_Digital_Libraries_for_Musicology_workshop_%28DLfM_2017%29

- Tags: [Computational musicology](https://0110.be/tags/Computational%20musicology.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Panako](https://0110.be/tags/Panako.md), [Presentation](https://0110.be/tags/Presentation.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/456/dlfm.png" style="float:right;margin:5px" width="250" alt="DLFM logo"/>I have contributed to the 4th International Digital Libraries for Musicology workshop (DLfM 2017) which was organized in Shanghai, China. It was a satellite event of the ISMIR 2017 conference. Unfortunately I did not mange to find funding to attend the workshop, I did however contribute as co-author to two proceeding papers. Both were presented by Reinier de Valk (thanks again).

### [MIRchiving: Challenges and opportunities of connecting MIR research and digital music archives](https://dl.acm.org/citation.cfm?id=3144755)

By Reinier de Valk (DANS), Anja Volk (Utrecht University), Andre Holzapfel (KTH Royal Institute of Technology) , Aggelos Pikrakis (University of Piraeus), Nadine Kroher (University of Seville - IMUS) and Joren Six (Ghent University - IPEM). Next to the [version of record](https://dl.acm.org/citation.cfm?id=3144755) there is also an author version available of the contribution titled "MIRchiving: Challenges and opportunities of connecting MIR research and digital music archives":\[2017.DLfM.MIRchiving-author.pdf\].

> This study is a call for action for the music information retrieval (MIR) community to pay more attention to collaboration with digital music archives. The study, which resulted from an interdisciplinary workshop and subsequent discussion, matches the demand for MIR technologies from various archives with what is already supplied by the MIR community. We conclude that the expressed demands can only be served sustainably through closer collaborations. Whereas MIR systems are described in scientific publications, usable implementations are often absent. If there is a runnable system, user documentation is often sparse----posing a huge hurdle for archivists to employ it. This study sheds light on the current limitations and opportunities of MIR research in the context of music archives by means of examples, and highlights available tools. As a basic guideline for collaboration, we propose to interpret MIR research as part of a value chain. We identify the following benefits of collaboration between MIR researchers and music archives: new perspectives for content access in archives, more diverse evaluation data and methods, and a more application-oriented MIR research workflow.

### [Applications of duplicate detection: linking meta-data and merging music archives: The experience of the IPEM historical archive of electronic music](https://dl.acm.org/citation.cfm?id=3144759)

By Federica Bressan, Joren Six and Marc Leman (Ghent University - IPEM). Next to the [version of record](https://dl.acm.org/citation.cfm?id=3144759) there is also an author version available of the contribution titled "Applications of duplicate detection: linking meta-data and merging music archives: The experience of the IPEM historical archive of electronic music":\[2017.dlfm_duplicates-author.pdf\].

> This work focuses on applications of duplicate detection for managing digital music archives. It aims to make this mature music information retrieval (MIR) technology better known to archivists and provide clear suggestions on how this technology can be used in practice. More specifically applications are discussed to complement meta-data, to link or merge digital music archives, to improve listening experiences and to re-use segmentation data. The IPEM archive, a digitized music archive containing early electronic music, provides a case study.

The [full DLfM 2017 proceedings](https://dl.acm.org/citation.cfm?id=3144749) are published by ACM.


- [2017.DLfM.MIRchiving-author.pdf](https://0110.be/files/attachments/456/2017.DLfM.MIRchiving-author.pdf)

- [2017.dlfm\_duplicates-author.pdf](https://0110.be/files/attachments/456/2017.dlfm_duplicates-author.pdf)

- [dlfm.png](https://0110.be/files/attachments/456/dlfm.png)

---

## [ESCOM 2017 - Regularity and asynchrony when tapping to tactile, auditory and combined pulses](https://0110.be/posts/ESCOM_2017_-_Regularity_and_asynchrony_when_tapping_to_tactile%2C_auditory_and_combined_pulses.md)

- Published: 2017-07-31T00:00:00Z
- Updated: 2017-08-02T15:40:23Z
- Author: Joren
- ID: 455
- Canonical: https://0110.be/posts/ESCOM_2017_-_Regularity_and_asynchrony_when_tapping_to_tactile%2C_auditory_and_combined_pulses

- Tags: [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/455/escom-logo-g-1.png" width="100" alt="ESCOM 2017 Logo" style="float:right;margin:10px"/>The 25th anniversary edition of the [ESCOM 2017 Conference](http://www.escom2017.org/) conference was organised in August 2017 by the IPEM research group from Ghent University. ESCOM is the conference of the [European Society for the Cognitive Sciences of Music](http://www.escom.org/.I) had two contributions to the conference.

The first was a collaboration with Frank Desmet, Micheline Lesaffre, Nathalie Ehrlé and Séverine Samson. The contribution is titled "Multimodal Analysis of Synchronization Data from Patients with Dementia":\[Desmet-et-al.pdf\]. It details a famework to analyze data in an experiment for patients with dementia.

For the second contribution I was the main researcher. It is the result of a project with students of the systematic musicology course at Ghent University (Laura Arens, Hade Demoor, Thomas Kint) . The contribution is called "Regularity and asynchrony when tapping to tactile, auditory and combined pulses":\[2017.escom_multimodal_async.pdf\]

The presentation "details a multi sensory tapping task":\[six-escom2017-presentation.pdf\] with the aim to develop an assistive technology for dancers.


![ESCOM 2017 presentation](https://0110.be/files/photos/455/IMG-20170802-WA0002.jpg)

---

## [AES 2017 - A framework to provide fine-grained time-dependent context for active listening experiences](https://0110.be/posts/AES_2017_-_A_framework_to_provide_fine-grained_time-dependent_context_for_active_listening_experiences.md)

- Published: 2017-06-16T00:00:00Z
- Updated: 2017-07-10T11:16:36Z
- Author: Joren
- ID: 454
- Canonical: https://0110.be/posts/AES_2017_-_A_framework_to_provide_fine-grained_time-dependent_context_for_active_listening_experiences

- Tags: [Code](https://0110.be/tags/Code.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [UGent](https://0110.be/tags/UGent.md)

The [2017 AES international conference on semantic audio](http://www.aes.org/conferences/2017/semantic/) was organized at ISS Fraunhofer, Erlangen, Germany. As the birthplace of the MP3 codec, it is holy ground, a stop that can not be skipped on the itinerary of an audio engineers pilgrimage of life. At the conference I presented " A framework to provide fine-grained time-dependent context for active listening experiences":\[2017.author.aes.pdf\] with a poster ("pdf":\[aes_2017_poster.pdf\], "inkscape svg":\[aes_2017_poster_2.svg\]).

<center>
<video  width="320" height="240" controls>
<source src="https://0110.be/files/attachments/454/active_listening_demo_movie.mp4" type="video/mp4">
</video>
</center>
The "active listening demo movie":\[active_listening_demo_movie.mp4\] above should explain the aim system succinctly. It shows two different ways to provide 'context' to audio playing in the room. In the first instance beats information is used to synchronize smartphones and flash the screen, the second demo shows a tactile feedback device responding to beats. The device is a [soundbrenner pulse tactile metronome](http://www.soundbrenner.com/) and was kindly sponsored by the company that sells these.


![Poster session](https://0110.be/files/photos/454/2017-06-22_18.10.10.jpg)

![Group photo](https://0110.be/files/photos/454/20170623_AES1_2k.jpg)

![Better group photo, arguably](https://0110.be/files/photos/454/20170623_AES2_2k.jpg)

---

## [Workshop on ESP32 microcontroller](https://0110.be/posts/Workshop_on_ESP32_microcontroller.md)

- Published: 2017-04-08T00:00:00Z
- Updated: 2017-04-11T19:26:37Z
- Author: Joren
- ID: 453
- Canonical: https://0110.be/posts/Workshop_on_ESP32_microcontroller

- Tags: [0110.be](https://0110.be/tags/0110.be.md), [Hackerspace Ghent](https://0110.be/tags/Hackerspace%20Ghent.md)

<img src="https://0110.be/files/attachments/453/ESP32-Thing.jpg" width="160px" alt="ESP32 Thing" style="float:right" /> On Saturday the eight of April I gave a workshop on the ESP 32 micro controller at [Newline](http://hackerspace.gent/newline), the yearly hackerspace conference of Hackerspace Ghent. The aim was to provide a hands-on introduction. The participants had to program to make the ESP execute the following:

-   Blink

-   Connecting to wifi

-   Sending data from the ESP32
    -   Sending data using TCP
    -   Broadcast data over UDP
    -   Broadcast data using OSC over UDP
    -   Broadcasting sensor data over UDP and OSC

-   Mesh Networking

At the start of the workshop I gave a "presention":\[2017.04.ESP32_intro.pdf\] as an introduction.


---

## [Computational Ethnomusicology: Methodologies for a New Field](https://0110.be/posts/Computational_Ethnomusicology%3A_Methodologies_for_a_New_Field.md)

- Published: 2017-03-30T00:00:00Z
- Updated: 2017-04-03T08:36:34Z
- Author: Joren
- ID: 451
- Canonical: https://0110.be/posts/Computational_Ethnomusicology%3A_Methodologies_for_a_New_Field

- Tags: [Computational ethnomusicology](https://0110.be/tags/Computational%20ethnomusicology.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/451/poster.jpg" width="150" alt="Comp ethno workshop" style="float:right;margin:10px"/> From 27 to 31 March 2017 I have attended a workshop on [Computational Ethnomusicology: Methodologies for a New Field](https://www.lorentzcenter.nl/lc/web/2017/866//info.php3?wsid=866&venue=Oort) at the Lorentz Center in Leiden. The workshop format was aimed at creating time for interdisciplinary discussion.

It was attended by a mix of (Ethno)musicologists, archivists, computer scientists and people identifying themselves as more than one of these categories by varying degrees. This mix ensured a healthy discussion and talks by Frans Wiering, Willard McCarthy, Emilia Gomez, and "may more":\[program.pdf\] provided ample source material to discuss. These discussions ranged from the abstracts around schemata down to concrete of software tools for archive management.

On a more personal side the workshop did provide useful insights to contextualize my research and help form ideas that can be condensed in my PhD dissertation.


---

## [ESP32 Thing as xOSC alternative](https://0110.be/posts/ESP32_Thing_as_xOSC_alternative.md)

- Published: 2017-01-11T00:00:00Z
- Updated: 2025-11-29T15:44:03Z
- Author: Joren
- ID: 449
- Canonical: https://0110.be/posts/ESP32_Thing_as_xOSC_alternative

- Tags: [IPEM](https://0110.be/tags/IPEM.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/449/ESP32-Thing.jpg" width="160" alt="ESP32 Thing" style="float:right"/> The xOSC board by [x-io technologies](http://x-io.co.uk/x-osc/) looks like a very nice solution in many interactive wireless setups. Judging from the specifications and documentation it offers a lot of value. It is basically a small WiFi transmitter with some sensors and a battery attached to it. The board also has some drawbacks. 1) It is expensive at about € 180. This is especially problematic if you need about five or so for your application.2) It seems that it is also hard to add extra sensors via SPI or I²C. 3)The battery needs to be removed to charge, which makes it harder to build into a fixed enclosure. This post describes an alternative based on the ESP32 platform that addresses these shortcomings.

The ESP32 is a micro-controller with a WiFi transmitter which can be programmed using the Arduino environment. Sparkfun has a thing called the [ESP32 Thing](https://www.sparkfun.com/products/13907) which contains the ESP32 chip. It can be used to build an xOSC alternative.

1.  It costs about 20\$, when you add a battery 5\$ and a sensor 20\$ (IMU) you end up with a 45\$ price tag. The price of course depends on which exact sensor/battery you need for your application. A 500mAh lasts about two hours when sending 66 messages per second over WiFi (using UDP).

2.  The ESP32 Thing supports the Arduino environment which potentially allows you to use all available Arduino libraries and supported sensors. However, some libraries do contain hardware specific instructions which are often not ported yet. Since the hardware is rather new - large scale production started only 3 months ago - not many libraries have been ported. Fortunately a lot of libraries simply work without any changes. At hackaday they have been testing a few: [ESP32 and Arduino libraries](https://hackaday.com/2016/10/31/whats-new-esp-32-testing-the-arduino-esp32-library/). I had success with the [BNO55](https://learn.adafruit.com/adafruit-bno055-absolute-orientation-sensor/wiring-and-test) library, it did not need any changes. The [OSC library](https://github.com/CNMAT/OSC) did need some small changes to operate as expected.

3.  The Thing contains a battery charging circuit. Once embedded into an enclosure the battery can stay in place. The software running on the device even keeps running when changing power sources.

Attached to this post you can find modifications to the Andriod OSC library that enable it to run on the ESP32: [ESP32-Arduino-OSC-library](https://0110.be/files/attachments/449/ESP32-Arduino-OSC-library.zip) together with a patch that sends [random data over OSC](https://0110.be/files/attachments/449/RandomOSC.ino). This should enable you to build an xOSC alternative.

Some drawbacks of the ESP32 is that the supporting software is quite immature. There is a Bluetooth chip on the ESP32 which is currently not supported in the Arduino environment. The setup can be somewhat challenging. The documentation can be improved. Some of the ESP32 Things seem to be unable to connect to old WiFi routers which can be problematic.


![ESP32 with battery and sensor.](https://0110.be/files/photos/449/2017-01-12_10.52.07.jpg)

![A signal from the ESP32](https://0110.be/files/photos/449/time-magnetometer.png)

![Graphical datasheet](https://0110.be/files/photos/449/esp32-thing-graphical-datasheet-v02.png)

- [ESP32-Arduino-OSC-library.zip](https://0110.be/files/attachments/449/ESP32-Arduino-OSC-library.zip)

- [RandomOSC.ino](https://0110.be/files/attachments/449/RandomOSC.ino)

- [ESP32-Thing.jpg](https://0110.be/files/attachments/449/ESP32-Thing.jpg)

---

## [Ipem at Opening Event Digital Week](https://0110.be/posts/Ipem_at_Opening_Event_Digital_Week.md)

- Published: 2016-10-10T00:00:00Z
- Updated: 2025-11-29T19:31:55Z
- Author: Joren
- ID: 448
- Canonical: https://0110.be/posts/Ipem_at_Opening_Event_Digital_Week

- Tags: [UGent](https://0110.be/tags/UGent.md)

Last Saturday, October eight 2016, IPEM was present at the opening event of the [digital week](http://www.digitaleweek.be/). A small video report was made for VRT news, unfortunately our contribution did not make the cut.

<center>
<video  width="320" height="240" controls>
<source src="https://0110.be/files/attachments/448/video_1296.mp4" type="video/mp4">
</video>
</center>

> *Van 8 tot en met 16 oktober 2016 loopt de elfde editie van de De Digitale Week. Plaatselijke organisaties in heel Vlaanderen en Brussel organiseren tijdens deze week diverse laagdrempelige activiteiten waarbij het gebruik van multimedia centraal staat, steeds gratis of zeer goedkoop, en open voor zowel beginners als mensen met wat meer ervaring. Daarnaast loopt er tijdens de Digitale Week een grote publiciteitscampagne die aandacht vraagt voor de thema's e-inclusie en mediawijsheid.*


![](https://0110.be/files/photos/448/2016-10-08_13.33.22.jpg)

![Overview of our installation](https://0110.be/files/photos/448/2016-10-08_13.38.12.jpg)

---

## [IPEM at Parklife 2016](https://0110.be/posts/IPEM_at_Parklife_2016.md)

- Published: 2016-09-28T00:00:00Z
- Updated: 2016-09-28T12:11:56Z
- Author: Joren
- ID: 447
- Canonical: https://0110.be/posts/IPEM_at_Parklife_2016

- Tags: [UGent](https://0110.be/tags/UGent.md)

This weekend IPEM, the research institute in musicology of University Ghent, was present at [Parklife 2016](http://www.gentfestival.be/nl/programma/parklife-muziekfestival-voor-families-foodies-friends/83/). Parklife is a music festival with a special focus on interactive music installations aimed at children. Two of those were provided by IPEM.

<center>
<video width="320" height="240" controls>
<source src="https://0110.be/files/attachments/447/2016-09-25_13.32.32.mp4" type="video/mp4">
Your browser does not support the video tag.

</video>
</center>
The first installation was a trampoline that triggered sounds. Two trampoline were provided with a pressure sensor. An [Axoloti](http://www.axoloti.com/) provides the sonic feedback. A simple but fun experience especially for younger children.

The second installation was more involved. It consisted of a bike - controlled by a first participant - that provided the speed of falling blocks that a second participant had to step on. When the second participant triggered the blocks on time a melody appeared. The video above makes it more clear.


![](https://0110.be/files/photos/447/2016-09-25_15.29.42.jpg)

![](https://0110.be/files/photos/447/2016-09-25_12.20.07.jpg)

![](https://0110.be/files/photos/447/2016-09-25_15.30.31.jpg)

- [2016-09-25\_13.32.32.mp4](https://0110.be/files/attachments/447/2016-09-25_13.32.32.mp4)

---

## [Real-time signal synchronization with acoustic fingerprinting - A Master's Thesis By Ward Van Assche ](https://0110.be/posts/Real-time_signal_synchronization_with_acoustic_fingerprinting_-_A_Master%27s_Thesis_By_Ward_Van_Assche_.md)

- Published: 2016-06-24T00:00:00Z
- Updated: 2025-11-29T19:33:03Z
- Author: Joren
- ID: 446
- Canonical: https://0110.be/posts/Real-time_signal_synchronization_with_acoustic_fingerprinting_-_A_Master%27s_Thesis_By_Ward_Van_Assche_

- Tags: [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

During the last semester Ward wrote a Masters thesis titled "Real-time signal synchronization with acoustic fingerprinting":\[Van_Assche_2016_Realtime_signaal_synchronisatie_met_acoustic_fingerprinting.pdf\]. For his thesis Marleen Denert and I served both as promoter.

<div align="center">
<img src="https://0110.be/files/attachments/446/max-msp.png"/>

</div>
The aim of the thesis was to design and develop a system to automatically synchronize streams of incoming sensor data in real-time. Ward followed up on an idea that was described in an article called [Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment](https://0110.be/posts/Synchronizing_Multimodal_Recordings_Using_Audio-To-Audio_Alignment_-_In_Journal_on_Multimodal_User_Interfaces). The [extended abstract](https://0110.be/files/attachments/446/2016_Real-time_signal_synchronization_with_acoustic_fingerprinting.pdf) can be consulted. The remainder of the thesis is in Dutch.

For the thesis Ward developed a Max/MSP object to read data from sensors together with audio. Also provided by Ward is an object to synchronize audio and data in real-time. The objects are depicted above.


---

## [Connecting Musical Modules - Musical Hardware and Software Interfaces](https://0110.be/posts/Connecting_Musical_Modules_-_Musical_Hardware_and_Software_Interfaces.md)

- Published: 2016-03-19T00:00:00Z
- Updated: 2025-11-29T19:33:25Z
- Author: Joren
- ID: 445
- Canonical: https://0110.be/posts/Connecting_Musical_Modules_-_Musical_Hardware_and_Software_Interfaces

- Tags: [Hackerspace Ghent](https://0110.be/tags/Hackerspace%20Ghent.md), [IPEM](https://0110.be/tags/IPEM.md), [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/445/logo.png" width="150" alt="Axoloti logo" style="float:right"/> I have given a presentation at the the [Newline](https://0x20.be/newline/2016/) conference, a yearly event organized by the [Hackerspace Ghent](http://0x20.be). It was about:

> <em>"In this talk I will give a practical overview on how to connect hard- and software components for musical applications. Next to an overview there will be demos! Do you want to make a musical instrument using a light sensor? Use your smartphone as an input device for a synth? Or are you simply interested in simple low-latency communication between devices? Come to this talk! More concretely the talk will feature the Axoloti audio board, Teensy micro-controller with audio board, MIDI and OSC protocols, Android MIDI features and some sensors."</em>

During the presentation the hard and software components were demonstrated. More concretely an introduction was given to the following:

-   [Axoloti audio board](http://www.axoloti.com/): An audio DSP board.
-   [Teensy 3.2](https://www.pjrc.com/teensy): A general purpose microcontroller with audio capabilities.
-   [TarsosDSP](https://github.com/JorenSix/TarsosDSP): A library for audio processing in Java available for Android.

The "presentation about DIY musical modules":\[2016.03.19.music-interfaces.pdf\] can be downloaded here.


- [2016.03.19.music-interfaces.pdf](https://0110.be/files/attachments/445/2016.03.19.music-interfaces.pdf)

- [logo.png](https://0110.be/files/attachments/445/logo.png)

---

## [Lecture on MIR - Tone Scale Extraction - Acoustic Fingerprinting](https://0110.be/posts/Lecture_on_MIR_-_Tone_Scale_Extraction_-_Acoustic_Fingerprinting.md)

- Published: 2015-10-30T00:00:00Z
- Updated: 2025-11-29T19:35:10Z
- Author: Joren
- ID: 444
- Canonical: https://0110.be/posts/Lecture_on_MIR_-_Tone_Scale_Extraction_-_Acoustic_Fingerprinting

- Tags: [Presentation](https://0110.be/tags/Presentation.md), [UGent](https://0110.be/tags/UGent.md)

This morning, the 30th of October 2015, I gave a lecture on Music Information Retrieval in general and two MIR-tasks in particular. The two more detailed tasks were tone scale analysis and acoustic fingerprinting.

<center>
<img src="https://0110.be/files/attachments/444/slide.jpg" alt="A slide" width="300px">

</center>
During the lecture some live demonstrations were done with [Panako](http://panako.be) and [Tarsos](https://0110.be/Software). Also some examples from [TarsosDSP](https://0110.be/Software) were used. Excerpts of the music used is available [here](https://0110.be/files/attachments/444/Acoustica-MIR-Tarsos-Panako-examples.zip), this is especially interesting if you want to repeat the demos. [Sonic visualizer](http://www.sonicvisualiser.org/), [Music21](http://web.mit.edu/music21/) and [MuseScore](https://musescore.org/) were also mentioned during the lecture.

The [presentation about Music Information Retrieval](https://0110.be/files/attachments/444/2015.10.30.MIR-Acoustica.pdf) and the [handouts](https://0110.be/files/attachments/444/2015.10.30.MIR-Acoustica-handout.pdf) can be found here als well.


- [Acoustica-MIR-Tarsos-Panako-examples.zip](https://0110.be/files/attachments/444/Acoustica-MIR-Tarsos-Panako-examples.zip)

- [2015.10.30.MIR-Acoustica-handout.pdf](https://0110.be/files/attachments/444/2015.10.30.MIR-Acoustica-handout.pdf)

- [2015.10.30.MIR-Acoustica.pdf](https://0110.be/files/attachments/444/2015.10.30.MIR-Acoustica.pdf)

- [slide.jpg](https://0110.be/files/attachments/444/slide.jpg)

---

## [Opening Sport Science Laboratory - Jacques Rogge](https://0110.be/posts/Opening_Sport_Science_Laboratory_-_Jacques_Rogge.md)

- Published: 2015-10-02T00:00:00Z
- Updated: 2025-11-29T19:40:47Z
- Author: Joren
- ID: 443
- Canonical: https://0110.be/posts/Opening_Sport_Science_Laboratory_-_Jacques_Rogge

- Tags: [UGent](https://0110.be/tags/UGent.md)

For the opening of the [Sport Science Laboratory - Jacques Rogge](http://www.ugent.be/ge/bsw/en/sportlab) of University Ghent I have created a demo of a system to visualize running impact. The demo can be seen starting at 45s in the video below.

<center>
<iframe style="width:90%;height:480px;margin-bottom:2rem" src="https://www.youtube.com/embed/cwrp-DOaiSk?start=45" frameborder="0" allowfullscreen>
</iframe>


![Measuring impact using accelerometers](https://0110.be/files/photos/443/2015-10-01_14.49.33.jpg)

---

## [TgForce Sensor on Android](https://0110.be/posts/TgForce_Sensor_on_Android.md)

- Published: 2015-10-02T00:00:00Z
- Updated: 2025-11-29T22:10:14Z
- Author: Joren
- ID: 442
- Canonical: https://0110.be/posts/TgForce_Sensor_on_Android

- Tags: [UGent](https://0110.be/tags/UGent.md)

[Kelsec Systems](http://kelsec.com/) developed a nice sensor for measuring running impact, the [TgForce Running Impact Sensor](http://tgforce.com/). The sensor comes with an IOS application but has no available counterpart on Android. To interface with the sensor on Android I needed to create some glue code. The people of Kelsec Systems were kind enough to mail some documentation about the protocol and with that information I got to work.

The [TgForce Sensor Android code](https://github.com/JorenSix/TgForceSensor) is available on GitHub, together with some documentation which is available below as well:

# TgForce Impact Running Sensor Andoid API

The TgForceSensor repository contains Android code to interface with the [TgForce Impact Running Sensor](http://tgforce.com/). The TgForce sensor is a Bluetooth LE device that measures [tibial shock](http://tgforce.com/about-tibial-shock/). It follows the\
Bluetooth LE standards and is relatively easy to interface with.

This repository contains Android code to interface with the device. The protocol is encoded in the source code and is documented in the readme.


![TgForce Sensor](https://0110.be/files/photos/442/iphone5_and_unit_homepage_v2_cad179.png)

---

## [Spontaneous Entrainment of Running Cadence to Music Tempo](https://0110.be/posts/Spontaneous_Entrainment_of_Running_Cadence_to_Music_Tempo.md)

- Published: 2015-08-27T00:00:00Z
- Updated: 2025-11-29T19:42:14Z
- Author: Joren
- ID: 441
- Canonical: https://0110.be/posts/Spontaneous_Entrainment_of_Running_Cadence_to_Music_Tempo

- Tags: [Dutch](https://0110.be/tags/Dutch.md), [IPEM](https://0110.be/tags/IPEM.md), [UGent](https://0110.be/tags/UGent.md)

Collega [Edith van Dyck](http://www.ipem.ugent.be/user/47) stuurde vorige week een persbericht rond over het onderzoek dat ze deed rond muziek en sporten. [UGent persbericht *'Muziek beïnvloedt pasfrequentie bij lopers'*](http://www.ugent.be/nl/actueel/persberichten/muziek-pasfrequentie.htm):

> *Aangezien heel wat joggers met muziek trainen, wilden onderzoekers van het IPEM (het onderzoekscentrum van de afdeling Musicologie, Vakgroep Kunst, Muziek, en Theaterwetenschappen aan de UGent) nagaan of het tempo van muziek de pasfrequentie tijdens het lopen kan beïnvloeden. Eerdere studies hadden al aangetoond dat muziek een motiverend effect kan hebben op sportprestaties en dat een hogere pasfrequentie blessurepreventief kan werken.*

Een neerslag van het onderzoek is te lezen in het artikel [Spontaneous Entrainment of Running Cadence to Music Tempo](http://www.sportsmedicine-open.com/content/1/1/15). Het persbericht werd goed opgepikt door de media en ook de lokale televisiezender AVS vertoonde interesse. Een cameraploeg kwam langs en dit resulteerde in volgend verslag. In het verslag spelen mijn vriendin en ikzelf een figurantenrol. De hoofdrol is weggelegd voor Dieter.

<br>
<center>
<video  controls>
<source src="https://0110.be/files/attachments/441/20150826-NIEUWS-06.mp4" type="video/mp4">
</video>
</center>
<br>


---

## [Access Mi Band from Android - Notes on the Bluetooth LE Protocol](https://0110.be/posts/Access_Mi_Band_from_Android_-_Notes_on_the_Bluetooth_LE_Protocol.md)

- Published: 2015-08-13T00:00:00Z
- Updated: 2025-11-29T19:43:02Z
- Author: Joren
- ID: 439
- Canonical: https://0110.be/posts/Access_Mi_Band_from_Android_-_Notes_on_the_Bluetooth_LE_Protocol

- Tags: [Code](https://0110.be/tags/Code.md), [UGent](https://0110.be/tags/UGent.md)

<img src="https://0110.be/files/attachments/439/vibrate_flowchart__1_.svg" alt="Vibrate flowchart" style="float:right"/>The [Mi Band](http://www.mi.com/in/miband) is a bracelet with some sensors, three RGB leds and a vibration motor. It is marketed as an activity tracker and notifier. It is a neat little device that communicates via Bluetooth LE and has a battery life of around 30 days. It would be nice if it could be used for whatever purpose you want but alas, its API is not very open. This blog post gives pointers to useful resources and tips to make it work with your own code.

There have been some efforts to reverse engineer the Bluetooth protocol. This [blog post](http://allmydroids.blogspot.be/2014/12/xiaomi-mi-band-ble-protocol-reverse.html) contains some info. There are even complete implementations available of the protocol, there is a [Mi Band protocol implementation in python](http://oscaracena.bitbucket.org/mibanda/api/_modules/mibanda.html#BandDevice.setUserInfo) and a [Mi Band protocol implementation in Java](https://github.com/pangliang/miband-sdk-android). It is however not always clear which firmware version is targeted.

I would advise against installing the official Mi Band app, if you want to use it with custom code. The app upgrades the firmware to the latest version and it seems that Xiaomi is obfuscating the protocol more and more with each version. I was able to send vibrate and led commands to a Mi Band with firmware version 10.0.9.3. With the previously mentioned sources and the flow described to the right the device reacts to commands. I used an Android device. The flow:

1.  Pair with the Mi Band in the Android Bluetooth setting.
2.  In your code, connect to the paired device. Save the device address, you will need it later.
3.  Send a pair command to the device. This is part of the Mi Band protocol and has nothing to do with the previous Bluetooth pairing. If all goes well it reacts with a 2. See [here](http://allmydroids.blogspot.be/2014/12/xiaomi-mi-band-ble-protocol-reverse.html)
4.  Send user info. This step is crucial and not trivial. The user info needs to be encoded in a certain way and is [CRC'd](https://en.wikipedia.org/wiki/Cyclic_redundancy_check) with the device address. The following is an example implementation of the [Mi Band user info encoding](https://github.com/pangliang/miband-sdk-android/blob/master/src/com/zhaoxiaodan/miband/model/UserInfo.java#L58)
5.  Now you can send vibrate or other commands.

Some notes: the self-test command works without the set user step. For Android the [Mi Band protocol implementation in Java](https://github.com/pangliang/miband-sdk-android) works well. To check the firmware version of the device, call the `get device info` characteristic. The last bytes, interpreted as an integer, define the version info. For my device it is 10.9.3.2:

````
    Write to characteristic 0000ff05-0000-1000-8000-00805f9b34fb
    onCharacteristicWrite status: 0 characteristic 0000ff05-0000-1000-8000-00805f9b34fb
    Read firmware version
    11 value: 2
    12 value: 3
    13 value: 9
    14 value: 0
    15 value: 1
`````

Another note: the set user info needs to be called with a 1 as type the first time the band is used. This is done with `new UserInfo(20111111, 1, 32, 180, 55, "NM", 1)` with the Android sdk by GitHub user pangliang. This sets and overwrites the user info. The next times you do not want to overwrite the info and the type needs to be zero.


![](https://0110.be/files/photos/439/sh-v-4.png)

![](https://0110.be/files/photos/439/xiaomi_mi_band_colours.jpg)

- [vibrate\_flowchart\_\_1\_.svg](https://0110.be/files/attachments/439/vibrate_flowchart__1_.svg)

---

## [Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment - In Journal on Multimodal User Interfaces](https://0110.be/posts/Synchronizing_Multimodal_Recordings_Using_Audio-To-Audio_Alignment_-_In_Journal_on_Multimodal_User_Interfaces.md)

- Published: 2015-08-06T00:00:00Z
- Updated: 2025-11-29T19:45:17Z
- Author: Joren
- ID: 434
- Canonical: https://0110.be/posts/Synchronizing_Multimodal_Recordings_Using_Audio-To-Audio_Alignment_-_In_Journal_on_Multimodal_User_Interfaces

- Tags: [Code](https://0110.be/tags/Code.md), [Java](https://0110.be/tags/Java.md), [Music Information Retrieval](https://0110.be/tags/Music%20Information%20Retrieval.md), [Panako](https://0110.be/tags/Panako.md), [Research papers](https://0110.be/tags/Research%20papers.md), [UGent](https://0110.be/tags/UGent.md)

The article titled *"Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment"* by Joren Six and Marc Leman has been accepted for publication in the [Journal on Multimodal User Interfaces](https://www.springer.com/computer/hci/journal/12193). The article will be published later this year. It describes and tests a method to synchronize data-streams. Below you can find the abstract, pointers to the software under discussion and an author version of the article itself.

### Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment <br><small><small>An Application of Acoustic Fingerprinting to Facilitate Music Interaction Research</small></small>

> **Abstract:** *Research on the interaction between movement and music often involves analysis of multi-track audio, video streams and sensor data. To facilitate such research a framework is presented here that allows synchronization of multimodal data. A low cost approach is proposed to synchronize streams by embedding ambient audio into each data-stream. This effectively reduces the synchronization problem to audio-to-audio alignment. As a part of the framework a robust, computationally efficient audio-to-audio alignment algorithm is presented for reliable synchronization of embedded audio streams of varying quality. The algorithm uses audio fingerprinting techniques to measure offsets. It also identifies drift and dropped samples, which makes it possible to find a synchronization solution under such circumstances as well. The framework is evaluated with synthetic signals and a case study, showing millisecond accurate synchronization.*

To read the article, consult the author version of [Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment](https://0110.be/files/attachments/434/2015.synchronized-recording.pdf). The data-set used in the case study is available here. It contains a [recording of balanceboard data, accelerometers, and two webcams](https://0110.be/files/attachments/434/SyncDataset.zip) that needs to be synchronized. The final publication is available at Springer via [10.1007/s12193-015-0196-1](http://dx.doi.org/10.1007/s12193-015-0196-1)

The algorithm under discussion is included in [Panako](http://panako.be) an audio fingerprinting system but is also available for download here. The [SyncSink application](https://0110.be/files/attachments/434/SyncSink-1.4.jar) has been packaged separately for ease of use.

To use the application start it with double click the [downloaded SyncSink JAR-file](https://0110.be/files/attachments/434/SyncSink-1.4.jar). Subsequently add various audio or video files using drag and drop. If the same audio is found in the various media files a time-box plot appears, as in the screenshot below. To add corresponding data-files click one of the boxes on the timeline and choose a data file that is synchronized with the audio. The data-file should be a CSV-file. The separator should be ',' and the first column should contain a time-stamp in fractional seconds. After pressing Sync a new CSV-file is created with the first column containing correctly shifted time stamps. If this is done for multiple files, a synchronized sensor-stream is created. Also, [ffmpeg](http://ffmpeg.org) commands to synchronize the media files themselves are printed to the command line.

This work was supported by funding by a Methusalem grant from the Flemish Government, Belgium. Special thanks goes to Ivan Schepers for building the balance boards used in the case study. If you want to cite the article, use the following BiBTeX:

<pre>
@article{six2015multimodal,
      author      = {Joren Six and Marc Leman},
      title       = {{Synchronizing Multimodal Recordings Using Audio-To-Audio Alignment}},
      issn        = {1783-7677},
      volume      = {9},
      number      = {3},
      pages       = {223-229},
      doi         = {10.1007/s12193-015-0196-1},
      journal     = {{Journal of Multimodal User Interfaces}}, 
      publisher   = {Springer Berlin Heidelberg},
      year        = 2015
 }
</pre>

![SyncSink Synchronize media files. A user-friendly interface to synchronize media and data files.  First a reference media-file is added using drag-and-drop. The audio steam of the reference is extracted and plotted on a timeline as the topmost box. Subsequently other media-files are added. The offsets with respect to the reference are calculated and plotted. CSV-files with timestamps and data recorded in sync with a stream can be attached to a respective audio stream. Finally, after pressing Sync!, the data and media files are modified to be exactly in sync with the reference.](https://0110.be/files/photos/434/syncsink_synchronize_media_files.png)

![Synchronized streams in Sonic Visualizer. Here you can see two channel audio synchronized with accelerometer data (top, green) and balanceboard data (bottom, purple).](https://0110.be/files/photos/434/sonic_visualizer_waveform.png)

![The synchronized data from the two webcams, accelerometer and balanceboard in ELAN. From top to bottom the synchronized streams are two video-streams, balance-board data (red), accelerometer-data (green) and audio (black).](https://0110.be/files/photos/434/elan_analysis.png)

![Conceptual drawing used as a basis for the SyncSync application. A reference stream (blue) can be synchronized with streams one and two. It allows a workflow where streams are started and stopped (red) or start before the reference stream (green).](https://0110.be/files/photos/434/drift_and_stuff.png)

![A microcontroller fitted with an electret microphone and a microSD card slot. It can record audio in real-time together with sensor data.](https://0110.be/files/photos/434/teensy_audio.jpg)

![Multimodal recording system diagram. Each webcam has a microphone and is connected to the pc via USB. The dashed arrows represent analog signals. The balance board has four analog sensors but these are simplified to one connection in the schematic. The analog output of the microphones is also recorded through the DAQ. An analog accelerometer is connected with a microcontroller which also records audio.](https://0110.be/files/photos/434/system_diagram.png)

![Two streams of audio with fingerprints marked. Some fingerprints are present in both streams (green, O) while others are not (red, x). Matching fingerprints have the same offset, indicated by the dotted lines.](https://0110.be/files/photos/434/sync_two_streams_landmarks.png)

- [2015.synchronized-recording.pdf](https://0110.be/files/attachments/434/2015.synchronized-recording.pdf)

- [SyncDataset.zip](https://0110.be/files/attachments/434/SyncDataset.zip)

- [SyncSink-1.4.jar](https://0110.be/files/attachments/434/SyncSink-1.4.jar)

---

## [Control Audio Time Stretching and Pitch Shifting from Java using Rubber Band And JNI](https://0110.be/posts/Control_Audio_Time_Stretching_and_Pitch_Shifting_from_Java_using_Rubber_Band_And_JNI.md)

- Published: 2015-08-05T00:00:00Z
- Updated: 2025-11-29T19:46:33Z
- Author: Joren
- ID: 437
- Canonical: https://0110.be/posts/Control_Audio_Time_Stretching_and_Pitch_Shifting_from_Java_using_Rubber_Band_And_JNI

- Tags: [Code](https://0110.be/tags/Code.md), [TarsosDSP](https://0110.be/tags/TarsosDSP.md), [UGent](https://0110.be/tags/UGent.md)

This post explains how to do real-time pitch-shifting and audio time-stretching in Java. It uses two components. The first component is [a high quality software C library for audio time-stretching and pitch-shifting C called Rubber Band](http://breakfastquay.com/rubberband/). The second component is a Java audio library called [TarsosDSP](https://github.com/JorenSix/TarsosDSP). To bridge the gap between the two JNI (Java Native Interface) is used. Rubber Band provides a JNI interface and starting from the currently unreleased version 1.8.2, makefiles are provided that make compiling and subsequently using the JNI version of Rubber Band relatively straightforward.

However, it still requires some effort to control real-time pitch-shifting and audio time-stretching from java. To make it more easy some example code and documentation is available in a GitHub repository called [RubberBandJNI](https://github.com/JorenSix/RubberBandJNI). It documents some of the configuration steps needed to get things working. It also offers precompiled libraries and documents how to compile those for the following systems:

-   [Audio Time-Stretching vdia JNI on Debian](https://github.com/JorenSix/RubberBandJNI#compiling-the-rubber-band-jni-library-on-debian-linux)
-   [Audio Time-Stretching via JNI on Mac OS X](https://github.com/JorenSix/RubberBandJNI#compiling-the-rubber-band-jni-library-on-mac-os-x)
-   [Audio Time-Stretching via JNI for Android on Debian](https://github.com/JorenSix/RubberBandJNI#compiling-the-rubber-band-jni-library-on-debian-for-android)

If the instructions are followed rather precisely you are able to control the tempo of a song in real-time with the following Java code:

````java
float tempoFactor = 0.8f;
float pitchFactor = 1.0f;
AudioDispatcher adp = AudioDispatcherFactory.fromPipe("music.mp3", 44100, 4096, 0);
TarsosDSPAudioFormat format = adp.getFormat();
rbs = new RubberBandAudioProcessor(44100, tempoFactor, pitchFactor);
adp.addAudioProcessor(rbs);
adp.addAudioProcessor(new AudioPlayer(JVMAudioInputStream.toAudioFormat(format)));
new Thread(adp).start();
````


![User interfact to control tempo/pitch of audio in Java. It uses RubberBand, a high quality time-stretcher library implemented in C++, called via JNI.](https://0110.be/files/photos/437/rubberband_JNI.png)

---

## [Decode MP3s and other Audio formats the easy way on Android](https://0110.be/posts/Decode_MP3s_and_other_Audio_formats_the_easy_way_on_Android.md)

- Published: 2015-07-14T00:00:00Z
- Updated: 2025-11-29T19:48:15Z
- Author: Joren
- ID: 438
- Canonical: https://0110.be/posts/Decode_MP3s_and_other_Audio_formats_the_easy_way_on_Android

- Tags: [TarsosDSP](https://0110.be/tags/TarsosDSP.md), [UGent](https://0110.be/tags/UGent.md)

This post describes how to decode MP3's using an already compiled ffmpeg binary on android. Using ffmpeg to decode audio on Android has advantages:

-   It supports about every audio format known to man. Three channel flac, vorbis with 32 bit samples, ... do not pose a problem.
-   Extracting audio from video container formats is supported. Accessing the first audio stream from `mkv`, `avi`, `mov`,... just works.
-   Decoding audio frames is more efficient using native code than often buggy Java decoders.
-   Resampling and downmixing is supported. If you want to resample incoming audio to e.g. 44.1kHz and only want single channel audio this is easily achievable.

The main disadvantage is that you need an ffmpeg build for your Android device. Luckily some [poor soul](https://github.com/hiteshsondhi88/ffmpeg-android) already managed to compile ffmeg for Android for several architectures. The [precompiled ffmpeg binaries for Android](https://github.com/hiteshsondhi88/ffmpeg-android/releases/download/v0.3.3/prebuilt-binaries.zip) are available for download and are mirrored [here](https://0110.be/releases/TarsosDSP/TarsosDSP-static-ffmpeg/Android/) as well.

To bridge the ffmpeg binary and the java world TarsosDSP contains some glue code. The `AndroidFFMPEGLocator` is responsible to find and extract the correct binary for your Android device. It expects [these ffmpeg binaries](https://0110.be/releases/TarsosDSP/TarsosDSP-static-ffmpeg/Android/) in the assets folder of your Android application. When the correct ffmpeg binary has been extracted and made executable the `PipeDecoder` is able to call it. The `PipeDecoder` calls ffmpeg so that decoded, downmixed and resampled PCM samples are streamed into the Java application via a pipe, which explains its name.

With the TarsosDSP Android library the following code plays an MP3 from external storage:

````java
new AndroidFFMPEGLocator(this);
new Thread(new Runnable() {
    @Override
    public void run() {
        File externalStorage = Environment.getExternalStorageDirectory();
        File mp3 = new File(externalStorage.getAbsolutePath(), "/audio.mp3");
        AudioDispatcher adp;
        adp = AudioDispatcherFactory.fromPipe(mp3.getAbsolutePath(), 44100, 5000, 2500);
        adp.addAudioProcessor(new AndroidAudioPlayer(adp.getFormat(), 5000, AudioManager.STREAM_MUSIC));
        adp.run();
    }
}).start();
````

This code *just works* if the application has the `READ_EXTERNAL_STORAGE` permission, includes a recent TarsosDSP-Android.jar, is ran on one of the supported ffmpeg architectures and has these binaries available in the assets folder.


---

[Newer posts](https://0110.be/Blog.md?page=2)

[Older posts](https://0110.be/Blog.md?page=4)
