Implementation and Evaluation of Bluetooth Low Energy for Musical Devices

This paper presents the possibility to transfer Musical Instrument Digital Interface messages overBluetooth Low Energy. The main problem was to transmit the messages between two computers inless than 10 milliseconds. Anything above 10 milliseconds could be noticed as a delay by the personplaying or...

Full description

Bibliographic Details
Main Authors: Ljungström, Andreas, Panikian, Jack
Format: Others
Language:English
Published: KTH, Data- och elektroteknik 2016
Subjects:
Online Access:http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-188535
id ndltd-UPSALLA1-oai-DiVA.org-kth-188535
record_format oai_dc
spelling ndltd-UPSALLA1-oai-DiVA.org-kth-1885352016-09-30T05:10:14ZImplementation and Evaluation of Bluetooth Low Energy for Musical DevicesengImplementation och utvärdering av Bluetooth Low Energy för musikenheterLjungström, AndreasPanikian, JackKTH, Data- och elektroteknikKTH, Data- och elektroteknik2016Bluetooth Low EnergyMIDIMusical Instrument Digital InterfaceBlueZThis paper presents the possibility to transfer Musical Instrument Digital Interface messages overBluetooth Low Energy. The main problem was to transmit the messages between two computers inless than 10 milliseconds. Anything above 10 milliseconds could be noticed as a delay by the personplaying or listening to the music. A prototype was written which could transfer Musical InstrumentDigital Interface messages over Bluetooth Low Energy between two Linux-computers together with atesting framework which was used to make measurements. The prototype was written in the languageC++ with the BlueZ library. The time it took for one packet to travel back and forth from the computerswas clocked to get an estimation of the time it took for a packet to travel from one computer to theother. The measured results showed that it was possible to reach the desired time of 10 milliseconds.The results can also be used when considering development of other kind of equipment and/or applicationsthat implements the use of Bluetooth Low Energy. Denna rapport presenterar möjligheterna att överföra Musical Instrument Digital Interfacemeddelanden över Bluetooth Low Energy. Huvudproblemet var att överföra meddelandena mellantvå datorer under en tid av 10 millisekunder. Allt över 10 milliskunder skulle kunna uppfattas somen fördröjning av den som spelade eller lystnade på musiken. En prototyp skapades som kundeöverföra denna typ meddelanden över Bluetooth Low Energy mellan två Linux-datorer tillsammansmed ett test-ramverk som kunde utföra prestandamätningar. Prototypen skrevs i språket C++tillsammans med biblioteket BlueZ. Den tid det tog för ett paket att färdas fram och tillbaka mellande båda datorerna klockades för att få en uppskattning på hur lång tid det tog för ett paket att färdasfrån en dator till en annan. De uppmätta resultaten visar att det är möjligt att uppnå deneftersträvade tiden på 10 millisekunder. Resultatet kan också användas då det övervägs att utvecklaett annat typ av program eller applikation som ska nyttja Bluetooth Low Energy. Student thesisinfo:eu-repo/semantics/bachelorThesistexthttp://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-188535TRITA-STH ; 2016:65application/pdfinfo:eu-repo/semantics/openAccess
collection NDLTD
language English
format Others
sources NDLTD
topic Bluetooth Low Energy
MIDI
Musical Instrument Digital Interface
BlueZ
spellingShingle Bluetooth Low Energy
MIDI
Musical Instrument Digital Interface
BlueZ
Ljungström, Andreas
Panikian, Jack
Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
description This paper presents the possibility to transfer Musical Instrument Digital Interface messages overBluetooth Low Energy. The main problem was to transmit the messages between two computers inless than 10 milliseconds. Anything above 10 milliseconds could be noticed as a delay by the personplaying or listening to the music. A prototype was written which could transfer Musical InstrumentDigital Interface messages over Bluetooth Low Energy between two Linux-computers together with atesting framework which was used to make measurements. The prototype was written in the languageC++ with the BlueZ library. The time it took for one packet to travel back and forth from the computerswas clocked to get an estimation of the time it took for a packet to travel from one computer to theother. The measured results showed that it was possible to reach the desired time of 10 milliseconds.The results can also be used when considering development of other kind of equipment and/or applicationsthat implements the use of Bluetooth Low Energy. === Denna rapport presenterar möjligheterna att överföra Musical Instrument Digital Interfacemeddelanden över Bluetooth Low Energy. Huvudproblemet var att överföra meddelandena mellantvå datorer under en tid av 10 millisekunder. Allt över 10 milliskunder skulle kunna uppfattas somen fördröjning av den som spelade eller lystnade på musiken. En prototyp skapades som kundeöverföra denna typ meddelanden över Bluetooth Low Energy mellan två Linux-datorer tillsammansmed ett test-ramverk som kunde utföra prestandamätningar. Prototypen skrevs i språket C++tillsammans med biblioteket BlueZ. Den tid det tog för ett paket att färdas fram och tillbaka mellande båda datorerna klockades för att få en uppskattning på hur lång tid det tog för ett paket att färdasfrån en dator till en annan. De uppmätta resultaten visar att det är möjligt att uppnå deneftersträvade tiden på 10 millisekunder. Resultatet kan också användas då det övervägs att utvecklaett annat typ av program eller applikation som ska nyttja Bluetooth Low Energy.
author Ljungström, Andreas
Panikian, Jack
author_facet Ljungström, Andreas
Panikian, Jack
author_sort Ljungström, Andreas
title Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
title_short Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
title_full Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
title_fullStr Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
title_full_unstemmed Implementation and Evaluation of Bluetooth Low Energy for Musical Devices
title_sort implementation and evaluation of bluetooth low energy for musical devices
publisher KTH, Data- och elektroteknik
publishDate 2016
url http://urn.kb.se/resolve?urn=urn:nbn:se:kth:diva-188535
work_keys_str_mv AT ljungstromandreas implementationandevaluationofbluetoothlowenergyformusicaldevices
AT panikianjack implementationandevaluationofbluetoothlowenergyformusicaldevices
AT ljungstromandreas implementationochutvarderingavbluetoothlowenergyformusikenheter
AT panikianjack implementationochutvarderingavbluetoothlowenergyformusikenheter
_version_ 1718385887221383168