Model-Based Testing Real-Time and Interactive Music Systems Thesis - - PowerPoint PPT Presentation

model based testing real time and interactive music
SMART_READER_LITE
LIVE PREVIEW

Model-Based Testing Real-Time and Interactive Music Systems Thesis - - PowerPoint PPT Presentation

Model-Based Testing Real-Time and Interactive Music Systems Thesis defended on 11/10/16 Poncelet Sanchez Clement, Florent Jacquemard SYNCHRON 2016 Team: RepMus Score-Based Interactive Music Systems Mixed Score e input output a evt


slide-1
SLIDE 1

Model-Based Testing Real-Time and Interactive Music Systems

Poncelet Sanchez Clement,

Florent Jacquemard Team: RepMus

SYNCHRON 2016

Thesis defended on 11/10/16

slide-2
SLIDE 2

Score-Based Interactive Music Systems

input

  • utput

hard time synchronous

e a

Mixed Score

IMS

discrete inputs/outputs e

evt

a

act

slide-3
SLIDE 3

3

Mixed Score

slide-4
SLIDE 4

4

Mixed Score

Specified inputs Interpretation

slide-5
SLIDE 5

5

Mixed Score

Interpretation

slide-6
SLIDE 6

infinite possibilities

  • f performances

6

Mixed Score

Interpretation

?

slide-7
SLIDE 7

7

? ?

Set of relevant inputs Set of corresponding implementation outputs

==

?

Computation of expected

  • utputs

Timed conformance

Timed Conformance Testing

slide-8
SLIDE 8

Manual Testing IMS

8

  • Test for one

performance

  • Time costly
  • Not precise

IMS environment

Manual Methods Rehearsals

evt act

slide-9
SLIDE 9

Model-Based Testing IMS

9

  • ‘Exhaustive’

generation

  • Fast forward

execution (virtual clocks)

  • Precise:
  • Automated

comparison

  • Formal

conformance criteria

  • informative

feedbacks

𝓕 𝑻

e a

m

  • d

e l Environment

== ?

evt act

Implementation Under Test

slide-10
SLIDE 10

Model-Based Testing IMS

10

𝓕 𝑻

e a

Implementation Under Test m

  • d

e l

Bound performances Automatic construction

evt act

Environment

== ?

slide-11
SLIDE 11

Outline

11

1.Objectives

2.Testing Framework

3.Interactive Real-Time Model

𝓕 𝑻

slide-12
SLIDE 12

.tref .tin .tout

Offline Approach

12

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

𝓕 𝑻

e a

Construction: from high level to model Online Approach

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

e a

Mixed Score Models Verdict Model-Based Testing: from model to verdict

Testing Framework Overview

slide-13
SLIDE 13

13

.tref .tin .out

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

(Simulation) Compute Expected Outputs

.tref

2

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

(Execution) Compute Real Outputs

.tout

3

==

?

Timed conformance

4

Inputs Generation

.tin

1

Testing Approaches

Model + Mixed Score

slide-14
SLIDE 14

Outline

14

1.Objectives 2.Testing Framework

3.Interactive Real-Time Model

𝓕 𝑻

slide-15
SLIDE 15

15

? ?

Input / Output formalisation

slide-16
SLIDE 16

Specified inputs

Timed Input Trace

16

Timed Traces

<e1, 0, 120>

tempo: 120bpm A timed trace is a tuple <s, t, p>: s: symbol t: timestamp in time unit p: pace in time unit per minute Definition:

e

slide-17
SLIDE 17

<e2, 2, 120>

<e1, 0, 120> Timed Input Trace

17

Timed Traces

tempo: 120bpm A timed trace is a tuple <s, t, p>: s: symbol t: timestamp in time unit p: pace in time unit per minute Definition:

e

Specified inputs

slide-18
SLIDE 18

<e3, 2.33, 120>

<e1, 0, 120><e2, 2, 120> Timed Input Trace

18

Timed Traces

tempo: 120bpm A timed trace is a tuple <s, t, p>: s: symbol t: timestamp in time unit p: pace in time unit per minute Definition:

e

Specified inputs

slide-19
SLIDE 19

Interpretation

<e1, 0, 120><e2, 2, 120><e3, 2.33, 120><e4, 2.66, 120><e5, 3, 120><e6, 6, 120> Timed Input Trace

19

Timed Traces

<e1, 0, 119><e2, 1.9, 80.9> <e4, 2.76, 114><e5, 3.2, 115.3><e6, 5.9, 119>

.tin

Timed Input Trace e

tempo: 120bpm A timed trace is a tuple <s, t, p>: s: symbol t: timestamp in time unit p: pace in time unit per minute Definition: Specified inputs

<e1, 0, 120><e2, 2, 120> <e4, 2.66, 120><e5, 3, 120><e6, 6, 120> !

errors

<e1, 0, 120><e2, 1.9, 120> <e4, 2.76, 120><e5, 3.2, 120><e6, 5.9, 120>

variations

slide-20
SLIDE 20

a Timed Input Trace Timed Output Trace <a1, 0, 60><a2, 2.66, 60><a3, 3, 60>

20

Timed Traces

Expected trace .tref

<e1, 0, 120><e2, 2, 120><e3, 2.33, 120><e4, 2.66, 120><e5, 3, 120><e6, 6, 120> <e1, 0, 119><e2, 1.9, 80.9> <e4, 2.76, 114><e5, 3.2, 115.3><e6, 5.9, 119>

.tin

<e1, 0, 120><e2, 1.9, 120> <e4, 2.76, 120><e5, 3.2, 120><e6, 5.9, 120> <e1, 0, 120><e2, 2, 120> <e4, 2.66, 120><e5, 3, 120><e6, 6, 120> ! e

tempo: 120bpm

?

Specified inputs

slide-21
SLIDE 21

21

Set of relevant inputs Set of corresponding implementation outputs

==

?

Computation of expected

  • utputs

Timed conformance

Timed Conformance Testing

.tin

.tref

.tout

slide-22
SLIDE 22

22

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

Models

IRTM TAIO model-checking / decidability Interactive Real- Time Model Timed Automata with Input-Output

𝓕 𝑻

e a

Model = E + S Bound performances Compute expected output Environment Model System Model TA aspects Synchronous aspects

slide-23
SLIDE 23

23

e a

a1! a2! e1?

Labelled Transition System

Jan Tretmans. Model Based Testing with Labelled Transition Systems. Formal Methods and Testing, an outcome of the FORTEST.

  • M. Timmer, E. Brinsksma and M. Stoelinga.

Model Based Testing. So<ware and Systems Safety - SpecificaBon and VerificaBon.

Input/Output System Specification

slide-24
SLIDE 24

24

Jan Tretmans. Model Based Testing with Labelled Transition Systems. Formal Methods and Testing, an outcome of the FORTEST.

a1! a2! e1?

Labelled Transition System

  • M. Timmer, E. Brinsksma and M. Stoelinga.

Model Based Testing. So<ware and Systems Safety - SpecificaBon and VerificaBon.

Simulation

.tin .tref

slide-25
SLIDE 25

25

e1

a1! a2! e1?

Labelled Transition System

Receive

e1

Jan Tretmans. Model Based Testing with Labelled Transition Systems. Formal Methods and Testing, an outcome of the FORTEST.

  • M. Timmer, E. Brinsksma and M. Stoelinga.

Model Based Testing. So<ware and Systems Safety - SpecificaBon and VerificaBon.

Simulation

.tin .tref

slide-26
SLIDE 26

Send

26

a1

a1! a2! e1?

a1

Labelled Transition System

Jan Tretmans. Model Based Testing with Labelled Transition Systems. Formal Methods and Testing, an outcome of the FORTEST.

  • M. Timmer, E. Brinsksma and M. Stoelinga.

Model Based Testing. So<ware and Systems Safety - SpecificaBon and VerificaBon.

Simulation

.tref

slide-27
SLIDE 27

a2

Send

27

a2

a1! a2! e1?

Labelled Transition System

a1

Jan Tretmans. Model Based Testing with Labelled Transition Systems. Formal Methods and Testing, an outcome of the FORTEST.

  • M. Timmer, E. Brinsksma and M. Stoelinga.

Model Based Testing. So<ware and Systems Safety - SpecificaBon and VerificaBon.

Simulation

.tref

slide-28
SLIDE 28

System Specification

  • R. Alur and D. Dill.

A theory of timed automata. TheoreBcal Computer Science.

28

a1! a2! e1?

c1 == 0.5 c1 <= 0.5 c1 := 0.0

Timed Automata with Input-Output

Time Finite set of clocks valued on reels Restricted with guards and invariants Reset with affectations Urgent locations Abstract Time Same rate

  • A. David, K.G. Larsen, S. Li, M. Mikucionis, B. Nielsen.

Testing real-time systems under uncertainty. FMCO’10.

clock value: ci = ℝ+.

slide-29
SLIDE 29

Extended aspects Multiple time units Alternation

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

29

𝑻

m.u: musical time unit m.s: mini seconds

System Specification

Interactive Real-Time Model (IRTM)

TA aspects Clock constraints Transition Discrete/Temporal

slide-30
SLIDE 30

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

30

IRTM: System Model

𝑻

State: <t, n> [controls] { symbols } Dense time

Poncelet, Jacquemard. Model Based Testing of an Interactive Music System. 30th ACM/ SIGAPP Symposium Computing (ACM SAC, 2015). Poncelet, Jacquemard. Model-Based Testing for Building Reliable Realtime Interactive Music Systems. Science of Computer Programming (SCP, 2016).

control: Ci=ℝ+

Synchronous aspects

slide-31
SLIDE 31

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

31

State: <0, 0> [C1:0] { }

𝑻

IRTM: System Model

Simulation lead

slide-32
SLIDE 32

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

32

State: <0, 1> [C1=0 :: C2=0] { } Alternation

𝑻

IRTM: System Model

Simulation lead wait

slide-33
SLIDE 33

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

33

Cooperative Scheduling State: <0, 1> [C1=0 :: C2=0] { }

𝑻

IRTM: System Model

Simulation lead wait suspended

slide-34
SLIDE 34

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

34

End of logical instant State: <0, 1> [C1=0 :: C2=0] { }

𝑻

IRTM: System Model

Simulation Synchronous aspect TA aspects Transition Discrete/Temporal

slide-35
SLIDE 35

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

35

.tin

<e1, 0, 184>

State: <0, 1> [C1=0 :: C2=0] { e1 }

𝑻

IRTM: System Model

Simulation

slide-36
SLIDE 36

Receive

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

36

State: <0, 2> [C1=0 :: C2=0] { e1 }

e1

𝑻

IRTM: System Model

Simulation

slide-37
SLIDE 37

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

37

State: <0, 2> [C1=0 :: C2=0] { e1 }

𝑻

IRTM: System Model

Simulation extended aspects Priorities

slide-38
SLIDE 38

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

38

State: <0, 2> [C1=0 :: C2=0] { e1 }

𝑻

IRTM: System Model

Simulation extended aspects Priorities

slide-39
SLIDE 39

Send

a1

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

39

.tref

State: <0, 3> [C1=0 :: C2=0] { e1 }

<a1, 0>

𝑻

IRTM: System Model

Simulation

slide-40
SLIDE 40

Delay 0.040

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

40

.tref

State: <0.040, 0> [C1=0.040 :: C2=0.040] { }

<a1, 0>

𝑻

IRTM: System Model

Simulation

slide-41
SLIDE 41

Expire

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

41

.tref

State: <0.040, 1> [C1=0 :: C2=0.040] { }

<a1, 0>

𝑻

IRTM: System Model

Simulation

slide-42
SLIDE 42

Expire

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

42

.tref

State: <0.040, 1> [C1=0 :: C2=0.040] { }

<a1, 0>

𝑻

IRTM: System Model

Simulation

slide-43
SLIDE 43

Send

a2

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

43

.tref

State: <0.040, 2> [C1=0 :: C2=0.040] { }

<a1, 0><a2, 0.040>

𝑻

IRTM: System Model

Simulation

slide-44
SLIDE 44

Remove Control Point

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

44

.tref

State: <0.040, 3> [C2=0.040] { }

<a1, 0><a2, 0.040>

𝑻

IRTM: System Model

Simulation

slide-45
SLIDE 45

45

.tin

<e1, 0, 184><e2, 0, 184>

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

State: <0, 2> [C1=0 :: C2=0] { e1, e2 }

𝑻

IRTM: System Model

Simulation

slide-46
SLIDE 46

46

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

State: <0, 2> [C1=0 :: C2=0] { e1, e2 }

𝑻

IRTM: System Model

Simulation

slide-47
SLIDE 47

Receive

e2

47

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

State: <0, 3> [C1=0 :: C2=0] { e1, e2 }

𝑻

IRTM: System Model

Simulation

slide-48
SLIDE 48

Send

min(a1, a3)

48

e1? a1! 0.125 mu a2! e2? a3! 93 ms a4! 93 ms a5!

State: <0, 3> [C1=0 :: C2=0] { e1, e2 }

𝑻

IRTM: System Model

Simulation

slide-49
SLIDE 49

e1! 0.5 mu e2! 0.5 mu e3! 0.5 mu

49

𝓕

IRTM: Environment Model

slide-50
SLIDE 50

e1! 0.5 mu e2! e2! 0.5 mu e3! e

3

! 0.5 mu

50

Interpretation

𝓕

Non-Determinism: missed events

TA aspects Non-determinism missed events

slide-51
SLIDE 51

e1! 0.5 mu e2! e2 ! 0.5 mu e3! e3! e3 ! 0.5 mu

51

Interpretation

𝓕

Non-Determinism: missed events

TA aspects Non-determinism missed events

slide-52
SLIDE 52

52

Interpretation

e1! [0.3,0.7] mu e2! e

2

! [0.3,0.7] mu e3! e3! e

3

! [0.3,0.7] mu

𝓕

Non-Determinism: duration variation

TA aspects Non-determinism duration bounds

slide-53
SLIDE 53

Outline

53

1.Objectives 2.Interactive Real-Time Model

3.Testing Framework

𝓕 𝑻

slide-54
SLIDE 54

Poncelet, Jacquemard. Model Based Testing of an Interactive Music System. 30th ACM/SIGAPP Symposium Computing (ACM SAC, 2015).

54

Contribution

Publications

Poncelet, Jacquemard. Model-Based Testing for Building Reliable Realtime Interactive Music Systems. Science of Computer Programming (SCP, 2016).

journals conferences

Developments

Antescofo adaptors (C++). Application to Antescofo + Regression tests front-end compiler of AntescofoDSL (C++, 13.000 loc). ~ 20 Scripts for test execution (Perl). Conformance and trace manager (C++, 4.000 loc). Virtual Machine (C++, 3.000 loc).

𝓕 𝑻

  • C. Poncelet, F. Jaquemard.

An automatic test framework for interactive music systems. Journal of New Music Research (JNMR), 2016.

  • C. Poncelet, F. Jaquemard.

Test Methods for Score-Based Interactive Music Systems. ICMC - SMS, 2014. Poncelet, Jacquemard. Model-Based Testing for Building Reliable Realtime Interactive Music Systems. Science of Computer Programming (SCP, 2016).

Burloiu, Cont, Poncelet. A visual framework for dynamic mixed music notation. Journal of New Music Research (JNMR, 2016).

slide-55
SLIDE 55

55

Perspectives

  • Applications:

Interactive Real-Time Model: Testing Framework:

  • Visual tool for improving framework uses
  • A debug environment with Ascograph
  • Application to other IMS (or timed-cyber systems)
  • Translate IRTM into Hybrid Automata
  • add constraints on tempo
  • Translate IRTM into Stochastic Automata
  • Improve the input generation
  • Improve Fuzz Testing
  • White-fuzzing Guided-Random (DART)
  • Specify a concrete specification language
  • Based on a Given-When-Then like paradigm

(Gherkin)

Other Applications:

  • Static Analysis of Mixed Score
  • Verification of properties
slide-56
SLIDE 56
slide-57
SLIDE 57

Online Approach

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

e a

.tref .tin .tout

Offline Approach

57

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

𝓕 𝑻

e a

Construction: from high level to model Mixed Score Models Verdict Model-Based Testing: from model to verdict

Testing Framework Overview

  • C. Poncelet, F. Jaquemard.

An automatic test framework for interactive music systems. Journal of New Music Research (JNMR), 2016.

slide-58
SLIDE 58

Uppaal

58

Translation: from IRTM into TA IRTM TA under restrictions Build Simulate Verify

  • A. David, K.G. Larsen, S. Li, M. Mikucionis, B. Nielsen.

Testing real-time systems under uncertainty. FMCO’10.

slide-59
SLIDE 59

Blom, Hessel, Jonsson, Peterson. Specifying and Generating Test Cases Using Observer Automata. FATES’04.

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

59

CoVer

&

  • bservers

covering queries

  • Covering

generation

  • Existing Tools
  • Translation into

Timed Automata

  • Generates lowest

durations

Covering Input Generation

e1? a1! 0.125 mu a2! e2? a3! 0.125 mu a4! 0.125 mu a5!

Location/Transition/Path

  • C. Poncelet, F. Jaquemard.

Test Methods for Score-Based Interactive Music Systems. ICMC - SMS, 2014.

slide-60
SLIDE 60

Blom, Hessel, Jonsson, Peterson. Specifying and Generating Test Cases Using Observer Automata. FATES’04.

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

60

  • bservers

covering queries

e1? a1! 0.125 mu a2! e2? a3! 0.125 mu a4! 0.125 mu a5!

Location/Transition/Path

CoVer

&

Covering Input Generation

  • Covering

generation

  • Existing Tools
  • Translation into

Timed Automata

  • Generates lowest

durations

slide-61
SLIDE 61

Blom, Hessel, Jonsson, Peterson. Specifying and Generating Test Cases Using Observer Automata. FATES’04.

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

61

  • bservers

covering queries

e1? a1! 0.125 mu a2! e2? a3! 0.125 mu a4! 0.125 mu a5!

Location/Transition/Path

CoVer

&

Covering Input Generation

  • Covering

generation

  • Existing Tools
  • Translation into

Timed Automata

  • Generates lowest

durations

slide-62
SLIDE 62

Blom, Hessel, Jonsson, Peterson. Specifying and Generating Test Cases Using Observer Automata. FATES’04.

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

62

  • bservers

covering queries

e1? a1! 0.125 mu a2! e2? a3! 0.125 mu a4! 0.125 mu a5!

Location/Transition/Path

CoVer

&

Covering Input Generation

  • Covering

generation

  • Existing Tools
  • Translation into

Timed Automata

  • Generates lowest

durations

slide-63
SLIDE 63
  • Musically

relevant

  • No translation
  • No coverage

guarantee

Henkjan Honing. From Time to Time: The Representation of Timing and Tempo. Computer Music Journal. 2001.

63

Time Functions (TIF) Random Interpretation = local shift and global tempo changes

Fuzz Generation

reference trace

.tin

slide-64
SLIDE 64

64

Execution

.tin .tout

a d a p t

  • r

e a

evt act

slide-65
SLIDE 65

65

==

?

Timed Conformance

.tout

.tref

<a1, 0><a2, 0.040><a3, 0.080> <a1, 0><a2, 0.040><a3, 0.080>

Expected Trace Real Trace Timed conformance: Set inclusion of real timed output traces into the expected timed output traces Definition:

slide-66
SLIDE 66

66

==

?

Timed Conformance

.tout

.tref

<a1, 0><a2, 0.040><a3, 0.080> <a1, 0> <a3, 0.080>

Expected Trace Real Trace Missed actions Timed conformance: Set inclusion of real timed output traces into the expected timed output traces Definition:

slide-67
SLIDE 67

67

==

?

Timed Conformance

.tout

.tref

<a1, 0> <a3, 0.080>

Expected Trace Real Trace Unexpected actions

<a1, 0><a2, 0.040><a3, 0.080>

Timed conformance: Set inclusion of real timed output traces into the expected timed output traces Definition:

slide-68
SLIDE 68

68

==

?

Timed Conformance

.tout

.tref

Expected Trace Real Trace Delta > ε

<a1, 0><a2, 0.040><a3, 0.090> <a1, 0><a2, 0.040><a3, 0.080>

Timed conformance: Set inclusion of real timed output traces into the expected timed output traces Definition:

slide-69
SLIDE 69

.tref .tin .tout

Offline Approach

69

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

𝓕 𝑻

e a

Construction: from high level to model Online Approach

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

e a

Mixed Score Models Verdict Model-Based Testing: from model to verdict

Testing Framework Overview

  • C. Poncelet, F. Jaquemard.

An automatic test framework for interactive music systems. Journal of New Music Research (JNMR), 2016.

slide-70
SLIDE 70

70

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

(Simulation) Compute Expected Outputs On-the-fly Inputs Generation

Online Approach

Model = bytecode

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

et at

Implementation Under Test

  • No translation
  • No coverage

guarantee

a’

(Execution) Compute Real Outputs

a d a p t

  • r

evt act

==

?

On-the-fly Comparison

Virtual Machine

a e

Generator

e

slide-71
SLIDE 71

Outline

71

1.Objectives 2.Interactive Real-Time Model 3.Testing Framework

4.Application to Antescofo

𝓕 𝑻

slide-72
SLIDE 72

72

Application to Antescofo

slide-73
SLIDE 73

73

Listening machine Reactive engine

Antescofo

tempo pos.

slide-74
SLIDE 74

74

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

(Simulation) Compute Expected Outputs

.tref

2

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

(Execution) Compute Real Outputs

.tout

3

==

?

Timed conformance

4

Inputs Generation

.tin

1

Offline Approaches application

Model Mixed Score (DSL Antescofo)

Construction: from high level to model

slide-75
SLIDE 75

75

Construction

Construction: from high level to model Automatic

e1? d11 msg11! d12 e2? d21 msg21! . . . . . .

𝓕 𝑻

et at

Domain Specific Language Antescofo Interactive Real-Time Model

: ; `all A∅ : ms `env Menv : ms `proxy P : ms `sys A : ms `all MenvkPkA

Inference Rules FSM Parts & Connectors + Operators

` 1 ` 2 `i 3 `0

e

3 `0

e

4 `0 4 2 `0 1 e? e ? e? e?

  • e0?

e0 ?

` ` 1 ` 2 `e 3 `e 4 `0 1 a `0 2 a `0

e

3 a `0

e

4 a

slide-76
SLIDE 76

Listening machine

Reactive engine

Reactive Engine

black box

76

.tin <e1, 0, 120><e2, 0.5, 120><e3, 1, 120> .tout

<e, t, p>

Antescofo Execution

slide-77
SLIDE 77

77

Antescofo Execution

.tin

<e1, 0, _><e2, 0.5, _><e3, 1, _>

Listening machine

Reactive engine

Reactive Engine

black box

.tout

<e, t>

tempo

slide-78
SLIDE 78

78

.tout

.tref

Verdict

slide-79
SLIDE 79

coverage (% locations)

22,5 45 67,5 90 1 3 5 7

0% 5% 50%

79

Experiments

% allowed duration variation

duration (seconds) 100 200 300 400 1 3 5 7 Approach Offline: CoVer

Benchmark

consecutive misses

  • Covering

generation

  • Existing Tools
  • Translation into

Timed Automata

  • No musically

relevant

consecutive misses

slide-80
SLIDE 80

Nb generated traces 40 80 120 160 5 8 10 15 40

coverage (% locations)

25 50 75 100 5 8 10 15 40

0-00 3-10 7-25

80

Experiments

misses - k Sonata in F major Georg Friedrich Händel

Measures 5 10s 25 events 84 actions Measures 8 16s 48 events 185 actions Measures 10 20s 74 events 264 actions Measures 15 30s 122 events 444 actions Measures 40 80s 360 events 1218 actions Approach Offline: CoVer

Measures Measures

consecutive misses - % allowed duration variation

slide-81
SLIDE 81

Nb generated traces 40 80 120 160 5 8 10 15 40

coverage (% locations)

25 50 75 100 5 8 10 15 40

0-00 3-10 7-25

81

Experiments

misses - k Sonata in F major Georg Friedrich Händel

Approach Offline: CoVer

Measures Measures

  • Not scalable

consecutive misses - % allowed duration variation

slide-82
SLIDE 82

coverage (% locations) 10 20 30 40 1 10 100 1000

coverage (% locations)

12,5 25 37,5 50 5 8 10 15 40

0-00 3-10 7-25

82

Experiments

Sonata in F major Georg Friedrich Händel

Measures 40 80s 360 events 1218 actions Approach Offline: Fuzz

10 traces

Measures

  • Nb. tins

40 measures

  • Musically

relevant

  • No translation
  • No coverage

guarantee

consecutive misses - % allowed duration variation

slide-83
SLIDE 83

duration (seconds) 75 150 225 300 10 50 100

83

Experiments

misses - k Sonata in F major Georg Friedrich Händel

Approach Online coverage (% locations) 58 59 60 61 62 10 50 100

  • Nb. tins
  • Nb. tins

10 traces Entire measures

  • Musically

relevant

  • No translation
  • No coverage

guarantee

  • Faster
slide-84
SLIDE 84

84

Appendices

a! b! b? a?

State: <0, 0> [C1=0 :: C2=0] { }

slide-85
SLIDE 85

85

Appendices

a! b! b? a?

State: <0, 0> [C1=0 :: C2=0] { }

slide-86
SLIDE 86

86

Appendices

a! b! b? a?

State: <0, 1> [C1=0 :: C2=0] { a }

slide-87
SLIDE 87

87

Appendices

a! b! b? a?

State: <0, 2> [C1=0 :: C2=0] { a, b }

slide-88
SLIDE 88

88

Appendices

a! b! b? a?

State: <0, 3> [C2=0] { a, b }

slide-89
SLIDE 89

89

Appendices

a! b! b? a?

State: <0, 4> [C2=0] { a, b }

slide-90
SLIDE 90

90

Appendices

a! b! b? a?

State: <0, 5> [C2=0] { a, b }