SlideShare a Scribd company logo
 
Python for manufacturing
musical instruments
Olivier CAYROL - June 15th, 2016
 
Prolegomena
•  A few words about me:
•  co-founder and deputy CEO of Logilab
•  cuddling computers for 30 years
•  data modelling, software design
•  A few words about my company:
•  created in 2000, 20 engineers today
•  Python since the beginning, agile development
•  active free software supporter
•  development of strategic semantic Web applications:
•  data.bnf.fr (national library), francearchives.fr (national archives)
2
 
Context
•  Making and repair of musical instruments:
•  2,400 companies in France, 2/3 with only 1 employee
•  employees: 11,000 people in France
•  turnover: 800 millions Euros / year
•  exported production rate: 80%
•  Assets:
•  traditional craftsmanship
•  world-famous quality
•  Challenge:
•  aggressive competition from foreign countries
3
 
Context illustration
Restoration of baritone saxo from 1901, Gaëtan Schneider
4
 
ITEMM laboratory
•  European Technological Institute for Musical Professions
•  Based in Le Mans, France
•  Designing digital tools dedicated to the manufacturing of musical
instruments:
•  characterization of instruments
•  analysis of the sounds the instruments produce
•  development of digital models to predict the sounds of the instruments
•  Driving the digital revolution of the French sector of instruments
craftsmanship
5
 
Needs of the instrument makers
•  When designing an instrument, makers are interested in:
•  tuning
•  timbre
•  ease of playing
•  Traditionally, makers:
•  build multiple prototypes
•  in order to choose the proper instrument dimensions
6
 
PAFI platform
•  Web application developped by ITEMM and Logilab
•  source code to be soon published as free software
•  Support for woodwind and brass wind instruments:
•  trumpets, horns, trombones, saxophones, clarinets, oboes, etc.
•  Dedicated digital tools:
•  instrument models, fingering descriptions
•  computation of acoustic input impedance for a given fingering
•  tuning diagram for each fingering
•  capture of acoustic input impedance from a real instrument
•  Ability to share and clone instrument models
7
 
PAFI platform overview
8
 
Use case 1 - introduction
•  Project made by Baptiste Le Guillou
•  student at the ITEMM
•  in the context of his degree in Arts and Crafts (Brevet des Métiers d'Art)
•  project duration: 2 years
•  Turning a valves trumpet into a valves and slide trumpet
•  the added slide must modify the note up to one tone
•  the added slide allows playing quarter tones or glissando effects
9
 
Use case 1 - work to be done
•  Add tubings in the tuning slide to allow the desired effect
•  Remove a part of the tubing between the bell and the valves
•  in order to have a longer space for the tuning slide
10
 
Use case 1 - study
•  Questions to be answered:
•  what length of tubing should be added to the tuning slide?
•  what are the effects of the modifications on the instrument?
•  Use of the digital simulation instead of numerous trial / error cycles:
•  cheaper, faster
•  ability to explore more possibilities
11
 
Use case 1 - geometry
•  Measure of the actual instrument:
•  tubings length and diameter
•  valves position
•  Description of the instrument in the platform:
•  series of tubings, cones, valves, returns, holes, etc.
•  different fingerings:
•  which holes are closed, half-closed, opened
•  which valve pistons are pushed
•  what note is expected
12
 
Use case 1 - computation
•  Computation of the acoustic impedance:
•  Fourier transform of the pressure divided by the volume flow
•  shows the resonance frequencies of the instrument
•  and thus the notes that can be played
•  Computation of the tuning diagram:
•  difference between the expected note and the actual note (computed above)
•  the musician must adjust his playing to correct the note:
•  small differences mean ease of playing
13
 
Use case 1 - results
14
 
Use case 1 - checking
•  Measure of the actual acoustic impedance of the instrument
•  with dedicated sensors (loudspeakers and microphone)
•  connection through the Web browser thanks to the Web audio API
•  Comparison of the two impedance graphs
•  especially the resonance frequencies
15
 
Use case 1 - measures
16
 
Use case 1 - conclusion
•  Different slide lengths have been simulated
•  The best option has been implemented on the instrument
•  The result perfectly meets the initial requirements
17
 
Use case 2 - introduction
•  Project made by Gaëtan Schneider
•  student at the ITEMM
•  in the context of his degree in Arts and Crafts (Brevet des Métiers d'Art)
•  project duration: 2 years
•  Restoring a Couesnon baritone saxo from 1901
•  numerous keys are twisted
•  the neck is smashed and splitted
•  it can't be restored
18
 
Use case 2 - initial state
19
 
Use case 2 - study
•  A new neck must be built
•  Question to be answered:
•  what must be the length and the shape of the neck?
•  Study:
•  geometry description
•  computation of tuning diagram
•  digital try of different necks
20
 
Use case 2 - model
21
 
Use case 2 - results
22
 
Under the hood
•  Web application coded in Python and javascript
•  Computations based on numpy and scipy libraries
•  refactored from Matlab prototypes
•  Simple model and simple computations
•  easy to describe
•  fast to compute
•  sufficient accuracy for the expected physical values
•  the played note corresponds to the first order in physics
23
 
Feedbacks
•  Craftsmen:
•  easy test of instrument designs with a digital tool
•  ability to explore and dig in several options
•  no installation (Web application)
•  Researchers:
•  easy-to-understand code
•  Python compactness, high-level operations in its numeric libraries
•  structuring in modules
•  security from the numerous automatic tests
•  ability to enhance the algorithms without regression
24
 
We are hiring!
•  Visit http://www.logilab.fr/emplois
•  Web developer (javascript + Python)
•  Developer for data analysis and semantic Web (Python)
•  Thank you for your attention
•  Email: olivier.cayrol@logilab.fr
•  Twitter: @OCayrol
25
Pydata Paris Python for manufacturing musical instruments

More Related Content

PPTX
Slideshare ppt
PPT
Keeping your audience happy - Paul Glinkowski
PPT
PPT - Powerful Presentation Techniques
PPT
Slideshare Powerpoint presentation
PDF
PAFI (Euroscipy2014 - Logilab)
PDF
Piano Keyboard Application Project using MATLAB
PDF
Prestentation
PDF
mchr dissertation2
Slideshare ppt
Keeping your audience happy - Paul Glinkowski
PPT - Powerful Presentation Techniques
Slideshare Powerpoint presentation
PAFI (Euroscipy2014 - Logilab)
Piano Keyboard Application Project using MATLAB
Prestentation
mchr dissertation2

Similar to Pydata Paris Python for manufacturing musical instruments (20)

PDF
TECHNOLOGIES OF MUSIC
PDF
MUSI5662M - Music Technology Project Report 200467576
PDF
Max Msp Jitter For Music A Practical Guide To Developing Interactive Music Sy...
PDF
Audio Classification using Artificial Neural Network with Denoising Algorithm...
PDF
A new parallel bat algorithm for musical note recognition
PDF
Introduction To Computing And Programming In Python A Multimedia Approach Pap...
PPTX
Guitar Tone Analyzer and Note Plotter Presentation
PPTX
Day 3( magic camp)
PPTX
Audio equalizer
PDF
(2013)_Rigaud_-_PhD_Thesis_Models_of_Music_Signal_Informed_by_Physics
PDF
(2011) Rigaud, David, Daudet - A Parametric Model of Piano Tuning
DOCX
EENG 1920 Final Report
PPTX
seniordesign_presentation_final
PDF
ScoReader: A Mobile Computer Vision System for Optical Music Recognition
PDF
CPSC 473 Final Presentation
PDF
MusicData for basis of data science in context.pdf
PDF
Introduction of my research histroy: From instrument recognition to support o...
PPTX
Design for Longevity - Ongoing use of Instruments from NIME 2010-14
PPTX
Analysis of vibration signals to identify cracks in a gear unit
PPT
Parallel dsp for efficient piano synthesis
TECHNOLOGIES OF MUSIC
MUSI5662M - Music Technology Project Report 200467576
Max Msp Jitter For Music A Practical Guide To Developing Interactive Music Sy...
Audio Classification using Artificial Neural Network with Denoising Algorithm...
A new parallel bat algorithm for musical note recognition
Introduction To Computing And Programming In Python A Multimedia Approach Pap...
Guitar Tone Analyzer and Note Plotter Presentation
Day 3( magic camp)
Audio equalizer
(2013)_Rigaud_-_PhD_Thesis_Models_of_Music_Signal_Informed_by_Physics
(2011) Rigaud, David, Daudet - A Parametric Model of Piano Tuning
EENG 1920 Final Report
seniordesign_presentation_final
ScoReader: A Mobile Computer Vision System for Optical Music Recognition
CPSC 473 Final Presentation
MusicData for basis of data science in context.pdf
Introduction of my research histroy: From instrument recognition to support o...
Design for Longevity - Ongoing use of Instruments from NIME 2010-14
Analysis of vibration signals to identify cracks in a gear unit
Parallel dsp for efficient piano synthesis
Ad

More from Logilab (20)

PDF
Testinfra pyconfr 2017
PDF
Open Source & Open Data : les bienfaits des communs
PDF
Salon Open Data
PDF
Présentation Logilab
PDF
Système d'archivage électronique mutualisé
PDF
Utiliser salt pour tester son infrastructure sur open stack ou docker
PDF
Importer des données en Python avec CubicWeb 3.21
PDF
Simulagora au service d'un grand défi industriel
PDF
Simulagora - Salon du Bourget
PDF
Innover par et pour la donnée - Logilab ADBU Bibcamp 2015
PDF
Study of the dynamic behavior of a pump with Code_ASTER on Simulagora
PDF
Initialiser des conteneurs Docker à partir de configurations Salt construites...
PDF
Battle Opendata - Logilab - Cubicweb
PDF
Debconf14 : Putting some salt in your Debian systems -- Julien Cristau
PDF
Simulagora (Euroscipy2014 - Logilab)
PDF
Open Legislative Data Conference 2014
PDF
Pylint : 10 ans, état des lieux
PDF
BRAINOMICS A management system for exploring and merging heterogeneous brain ...
PDF
Présentation sur le stand à l'OpenWorldForum 2013
PDF
Cubicweb lauréat Dataconnexions 2013
Testinfra pyconfr 2017
Open Source & Open Data : les bienfaits des communs
Salon Open Data
Présentation Logilab
Système d'archivage électronique mutualisé
Utiliser salt pour tester son infrastructure sur open stack ou docker
Importer des données en Python avec CubicWeb 3.21
Simulagora au service d'un grand défi industriel
Simulagora - Salon du Bourget
Innover par et pour la donnée - Logilab ADBU Bibcamp 2015
Study of the dynamic behavior of a pump with Code_ASTER on Simulagora
Initialiser des conteneurs Docker à partir de configurations Salt construites...
Battle Opendata - Logilab - Cubicweb
Debconf14 : Putting some salt in your Debian systems -- Julien Cristau
Simulagora (Euroscipy2014 - Logilab)
Open Legislative Data Conference 2014
Pylint : 10 ans, état des lieux
BRAINOMICS A management system for exploring and merging heterogeneous brain ...
Présentation sur le stand à l'OpenWorldForum 2013
Cubicweb lauréat Dataconnexions 2013
Ad

Recently uploaded (20)

PPTX
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
PPTX
Lecture Notes Electrical Wiring System Components
PDF
Well-logging-methods_new................
PDF
Model Code of Practice - Construction Work - 21102022 .pdf
DOCX
573137875-Attendance-Management-System-original
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
PDF
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
PPTX
bas. eng. economics group 4 presentation 1.pptx
PPTX
Internet of Things (IOT) - A guide to understanding
PPTX
Welding lecture in detail for understanding
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPT
Project quality management in manufacturing
PDF
composite construction of structures.pdf
PPTX
CH1 Production IntroductoryConcepts.pptx
PDF
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
PPTX
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
PPTX
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
PDF
Digital Logic Computer Design lecture notes
Recipes for Real Time Voice AI WebRTC, SLMs and Open Source Software.pptx
Lecture Notes Electrical Wiring System Components
Well-logging-methods_new................
Model Code of Practice - Construction Work - 21102022 .pdf
573137875-Attendance-Management-System-original
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
TFEC-4-2020-Design-Guide-for-Timber-Roof-Trusses.pdf
The CXO Playbook 2025 – Future-Ready Strategies for C-Suite Leaders Cerebrai...
bas. eng. economics group 4 presentation 1.pptx
Internet of Things (IOT) - A guide to understanding
Welding lecture in detail for understanding
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Project quality management in manufacturing
composite construction of structures.pdf
CH1 Production IntroductoryConcepts.pptx
July 2025 - Top 10 Read Articles in International Journal of Software Enginee...
FINAL REVIEW FOR COPD DIANOSIS FOR PULMONARY DISEASE.pptx
M Tech Sem 1 Civil Engineering Environmental Sciences.pptx
Digital Logic Computer Design lecture notes

Pydata Paris Python for manufacturing musical instruments

  • 1.   Python for manufacturing musical instruments Olivier CAYROL - June 15th, 2016
  • 2.   Prolegomena •  A few words about me: •  co-founder and deputy CEO of Logilab •  cuddling computers for 30 years •  data modelling, software design •  A few words about my company: •  created in 2000, 20 engineers today •  Python since the beginning, agile development •  active free software supporter •  development of strategic semantic Web applications: •  data.bnf.fr (national library), francearchives.fr (national archives) 2
  • 3.   Context •  Making and repair of musical instruments: •  2,400 companies in France, 2/3 with only 1 employee •  employees: 11,000 people in France •  turnover: 800 millions Euros / year •  exported production rate: 80% •  Assets: •  traditional craftsmanship •  world-famous quality •  Challenge: •  aggressive competition from foreign countries 3
  • 4.   Context illustration Restoration of baritone saxo from 1901, Gaëtan Schneider 4
  • 5.   ITEMM laboratory •  European Technological Institute for Musical Professions •  Based in Le Mans, France •  Designing digital tools dedicated to the manufacturing of musical instruments: •  characterization of instruments •  analysis of the sounds the instruments produce •  development of digital models to predict the sounds of the instruments •  Driving the digital revolution of the French sector of instruments craftsmanship 5
  • 6.   Needs of the instrument makers •  When designing an instrument, makers are interested in: •  tuning •  timbre •  ease of playing •  Traditionally, makers: •  build multiple prototypes •  in order to choose the proper instrument dimensions 6
  • 7.   PAFI platform •  Web application developped by ITEMM and Logilab •  source code to be soon published as free software •  Support for woodwind and brass wind instruments: •  trumpets, horns, trombones, saxophones, clarinets, oboes, etc. •  Dedicated digital tools: •  instrument models, fingering descriptions •  computation of acoustic input impedance for a given fingering •  tuning diagram for each fingering •  capture of acoustic input impedance from a real instrument •  Ability to share and clone instrument models 7
  • 9.   Use case 1 - introduction •  Project made by Baptiste Le Guillou •  student at the ITEMM •  in the context of his degree in Arts and Crafts (Brevet des Métiers d'Art) •  project duration: 2 years •  Turning a valves trumpet into a valves and slide trumpet •  the added slide must modify the note up to one tone •  the added slide allows playing quarter tones or glissando effects 9
  • 10.   Use case 1 - work to be done •  Add tubings in the tuning slide to allow the desired effect •  Remove a part of the tubing between the bell and the valves •  in order to have a longer space for the tuning slide 10
  • 11.   Use case 1 - study •  Questions to be answered: •  what length of tubing should be added to the tuning slide? •  what are the effects of the modifications on the instrument? •  Use of the digital simulation instead of numerous trial / error cycles: •  cheaper, faster •  ability to explore more possibilities 11
  • 12.   Use case 1 - geometry •  Measure of the actual instrument: •  tubings length and diameter •  valves position •  Description of the instrument in the platform: •  series of tubings, cones, valves, returns, holes, etc. •  different fingerings: •  which holes are closed, half-closed, opened •  which valve pistons are pushed •  what note is expected 12
  • 13.   Use case 1 - computation •  Computation of the acoustic impedance: •  Fourier transform of the pressure divided by the volume flow •  shows the resonance frequencies of the instrument •  and thus the notes that can be played •  Computation of the tuning diagram: •  difference between the expected note and the actual note (computed above) •  the musician must adjust his playing to correct the note: •  small differences mean ease of playing 13
  • 15.   Use case 1 - checking •  Measure of the actual acoustic impedance of the instrument •  with dedicated sensors (loudspeakers and microphone) •  connection through the Web browser thanks to the Web audio API •  Comparison of the two impedance graphs •  especially the resonance frequencies 15
  • 17.   Use case 1 - conclusion •  Different slide lengths have been simulated •  The best option has been implemented on the instrument •  The result perfectly meets the initial requirements 17
  • 18.   Use case 2 - introduction •  Project made by Gaëtan Schneider •  student at the ITEMM •  in the context of his degree in Arts and Crafts (Brevet des Métiers d'Art) •  project duration: 2 years •  Restoring a Couesnon baritone saxo from 1901 •  numerous keys are twisted •  the neck is smashed and splitted •  it can't be restored 18
  • 20.   Use case 2 - study •  A new neck must be built •  Question to be answered: •  what must be the length and the shape of the neck? •  Study: •  geometry description •  computation of tuning diagram •  digital try of different necks 20
  • 23.   Under the hood •  Web application coded in Python and javascript •  Computations based on numpy and scipy libraries •  refactored from Matlab prototypes •  Simple model and simple computations •  easy to describe •  fast to compute •  sufficient accuracy for the expected physical values •  the played note corresponds to the first order in physics 23
  • 24.   Feedbacks •  Craftsmen: •  easy test of instrument designs with a digital tool •  ability to explore and dig in several options •  no installation (Web application) •  Researchers: •  easy-to-understand code •  Python compactness, high-level operations in its numeric libraries •  structuring in modules •  security from the numerous automatic tests •  ability to enhance the algorithms without regression 24
  • 25.   We are hiring! •  Visit http://www.logilab.fr/emplois •  Web developer (javascript + Python) •  Developer for data analysis and semantic Web (Python) •  Thank you for your attention •  Email: olivier.cayrol@logilab.fr •  Twitter: @OCayrol 25