Dataset Viewer
Auto-converted to Parquet Duplicate
Search is not available for this dataset
audio
audioduration (s)
0.25
0.25
id
int64
1
1k
cell
int64
0
8
x_norm
float64
0.05
0.95
y_norm
float64
0.05
0.95
x_mm
float64
17.3
327
y_mm
float64
11.4
212
x_px
int64
103
1.95k
y_px
int64
68
1.26k
lid_deg
int64
80
130
onset_s
float64
26.2
1.51k
reaction_ms
float64
136
18.1k
peak_dbfs
float64
-47.2
-15.8
1
0
0.21887
0.26938
75.45
60.02
450
358
105
26.2192
5,931.2
-36.7
2
7
0.47082
0.90745
162.29
202.19
968
1,206
105
29.2923
2,608.3
-39
3
5
0.87451
0.58465
301.45
130.27
1,798
777
105
32.7734
3,017.4
-34.7
4
3
0.12695
0.48232
43.76
107.47
261
641
105
34.5741
1,339.5
-32.2
5
6
0.05885
0.86832
20.29
193.48
121
1,154
105
36.5763
1,537.6
-24.7
6
2
0.94407
0.20316
325.42
45.27
1,941
270
105
38.4675
1,434.2
-34.5
7
1
0.42023
0.15952
144.86
35.54
864
212
105
40.4105
1,478.5
-35.5
8
8
0.79767
0.71783
274.96
159.94
1,640
954
105
43.7921
2,920.1
-32.7
9
4
0.44893
0.4304
154.75
95.9
923
572
105
45.1625
905.2
-38.3
10
3
0.25049
0.51166
86.34
114.01
515
680
105
46.6447
1,024.7
-31.8
11
7
0.47276
0.89014
162.96
198.34
972
1,183
105
48.2311
1,127.1
-30.6
12
8
0.79329
0.88111
273.45
196.33
1,631
1,171
105
49.5923
897.6
-38.6
13
4
0.3964
0.57562
136.64
128.26
815
765
105
50.8278
766.5
-35.1
14
0
0.20428
0.25207
70.42
56.17
420
335
105
52.1809
898.2
-38
15
1
0.46449
0.24003
160.11
53.48
955
319
105
53.4477
811.7
-32
16
6
0.15953
0.74718
54.99
166.48
328
993
105
54.7956
887.6
-26.9
17
2
0.93434
0.24906
322.07
55.49
1,921
331
105
56.2451
995.8
-37
18
5
0.74708
0.54778
257.52
122.05
1,536
728
105
57.4594
750
-35.5
19
4
0.41051
0.4146
141.5
92.38
844
551
105
58.6965
779.2
-36.4
20
8
0.88813
0.83371
306.14
185.76
1,826
1,108
105
60.1802
1,024.2
-40.9
21
0
0.23298
0.23702
80.31
52.81
479
315
105
61.6201
977.5
-39.1
22
5
0.86235
0.41159
297.26
91.71
1,773
547
105
64.6593
2,575.3
-32
23
2
0.73589
0.20241
253.66
45.1
1,513
269
105
66.5724
1,451.1
-37.5
24
3
0.09971
0.50263
34.37
111.99
205
668
105
68.2623
1,225
-28.2
25
7
0.51994
0.8149
179.23
181.57
1,069
1,083
105
70.3405
1,613.9
-26.1
26
6
0.07928
0.83672
27.33
186.43
163
1,112
105
72.0628
1,254.8
-31.7
27
1
0.60263
0.13093
207.73
29.17
1,239
174
105
73.4082
881.5
-33.7
28
1
0.57879
0.20166
199.51
44.93
1,190
268
105
74.6824
815.7
-32.1
29
7
0.48444
0.80587
166.99
179.56
996
1,071
105
75.9472
803.2
-30.6
30
2
0.78307
0.07374
269.93
16.43
1,610
98
105
77.2965
895.2
-37.1
31
6
0.26994
0.72837
93.05
162.29
555
968
105
78.6528
896.8
-29.5
32
3
0.13521
0.60873
46.61
135.63
278
809
105
79.9613
850.6
-29.2
33
4
0.41634
0.47555
143.51
105.96
856
632
105
81.1575
734.8
-36.9
34
0
0.13181
0.06772
45.43
15.09
271
90
105
83.3962
1,778.9
-40.6
35
5
0.91148
0.52596
314.19
117.19
1,874
699
105
84.8025
938.5
-37.1
36
8
0.81518
0.86983
280.99
193.81
1,676
1,156
105
89.2107
3,956
-35.8
37
4
0.50924
0.55606
175.54
123.9
1,047
739
105
90.9812
1,313.2
-31.3
38
0
0.18969
0.06245
65.39
13.92
390
83
105
92.3303
890.3
-35.4
39
1
0.50195
0.08427
173.02
18.78
1,032
112
105
93.6689
876.9
-34.5
40
5
0.8035
0.43642
276.97
97.24
1,652
580
105
95.523
1,397.7
-32.2
41
3
0.07101
0.41761
24.48
93.05
146
555
105
97.0322
1,049.5
-35.7
42
2
0.73249
0.21369
252.49
47.61
1,506
284
105
98.4136
916.3
-34.4
43
6
0.15175
0.84199
52.31
187.61
312
1,119
105
99.8443
969.6
-23.5
44
8
0.88765
0.84048
305.97
187.27
1,825
1,117
105
102.1149
1,808.2
-35.9
45
7
0.42753
0.93679
147.37
208.73
879
1,245
105
103.533
955.7
-31.6
46
6
0.27967
0.92175
96.4
205.38
575
1,225
105
104.7598
763.8
-34.5
47
4
0.46595
0.3988
160.62
88.86
958
530
105
106.0127
799.4
-35.7
48
2
0.85457
0.23853
294.57
53.15
1,757
317
105
107.2378
771.1
-37
49
1
0.40661
0.14974
140.16
33.36
836
199
105
108.3811
681.1
-39
50
3
0.11868
0.41535
40.91
92.55
244
552
105
109.5782
738.2
-31.8
51
0
0.21741
0.2009
74.94
44.76
447
267
105
110.9083
870.9
-35.8
52
8
0.78307
0.92024
269.93
205.04
1,610
1,223
105
112.9565
1,588.5
-40.6
53
7
0.52626
0.83446
181.4
185.93
1,082
1,109
105
114.1128
694.1
-35.7
54
5
0.72617
0.47931
250.31
106.8
1,493
637
105
115.3325
763.2
-39
55
6
0.2286
0.94883
78.8
211.42
470
1,261
105
116.725
927.7
-34.1
56
8
0.93142
0.76373
321.06
170.17
1,915
1,015
105
118.2127
1,026
-41.7
57
4
0.4251
0.43266
146.53
96.4
874
575
105
119.458
790
-34.8
58
7
0.53745
0.80361
185.26
179.06
1,105
1,068
105
120.6731
751.7
-36.9
59
2
0.93969
0.13544
323.91
30.18
1,932
180
105
122.0532
915.9
-38
60
1
0.51216
0.18585
176.54
41.41
1,053
247
105
124.2409
1,730.2
-36.6
61
3
0.16245
0.50865
56
113.34
334
676
105
125.6162
910.9
-35.5
62
0
0.16342
0.10609
56.33
23.64
336
141
105
127.7905
1,707.8
-36.1
63
5
0.92023
0.58916
317.21
131.28
1,892
783
105
129.2094
957.4
-31.6
64
3
0.17461
0.44018
60.19
98.08
359
585
105
130.4842
808.2
-29.9
65
4
0.46887
0.45222
161.62
100.76
964
601
105
132.2335
1,289.5
-33.1
66
0
0.08512
0.17231
29.34
38.39
175
229
105
133.5355
846.1
-37.4
67
2
0.89932
0.2754
310
61.36
1,849
366
105
134.8189
826.9
-34
68
8
0.91586
0.76448
315.7
170.34
1,883
1,016
105
137.2052
1,926.5
-39.9
69
5
0.86722
0.44169
298.93
98.41
1,783
587
105
139.045
1,373
-38.2
70
6
0.23541
0.84048
81.15
187.27
484
1,117
105
140.2916
784.9
-28.6
71
1
0.58901
0.23326
203.03
51.97
1,211
310
105
142.5658
1,817.8
-35.4
72
7
0.4679
0.75621
161.29
168.5
962
1,005
105
143.8238
798.4
-28.7
73
7
0.51265
0.79684
176.71
177.55
1,054
1,059
105
144.8782
586.2
-29.3
74
1
0.4966
0.08352
171.18
18.61
1,021
111
105
146.1944
851.8
-38
75
0
0.26897
0.13017
92.71
29
553
173
105
148.3313
1,671.3
-35.6
76
8
0.78988
0.78104
272.27
174.03
1,624
1,038
105
149.8257
1,033.7
-32
77
5
0.79864
0.51392
275.29
114.51
1,642
683
105
150.9123
624.3
-37.4
78
6
0.18142
0.80587
62.54
179.56
373
1,071
105
152.2404
860.4
-27.3
79
4
0.45768
0.43792
157.77
97.58
941
582
105
153.4071
707.1
-35
80
3
0.1644
0.56734
56.67
126.41
338
754
105
154.6326
766
-33.6
81
2
0.91342
0.24981
314.86
55.66
1,878
332
105
155.8771
779.8
-36.8
82
0
0.1143
0.09481
39.4
21.12
235
126
105
157.0904
745
-35.4
83
6
0.10895
0.75696
37.56
168.66
224
1,006
105
158.3101
756.8
-28.4
84
5
0.85409
0.54628
294.41
121.72
1,756
726
105
160.1948
1,424.1
-33.7
85
7
0.50973
0.76674
175.7
170.84
1,048
1,019
105
161.3094
652.1
-31
86
8
0.77772
0.7231
268.08
161.12
1,599
961
105
162.5534
782.7
-33.9
87
4
0.40175
0.48758
138.48
108.64
826
648
105
163.7831
768.5
-33
88
1
0.41099
0.14071
141.67
31.35
845
187
105
165.067
821.6
-36.5
89
2
0.73444
0.14071
253.16
31.35
1,510
187
105
166.2996
771.6
-36.9
90
3
0.12403
0.58315
42.75
129.93
255
775
105
167.6042
845.5
-29.9
91
6
0.22179
0.76298
76.45
170
456
1,014
105
168.7294
664.1
-27.9
92
0
0.10263
0.1377
35.38
30.68
211
183
105
170.034
843.4
-39.6
93
4
0.51654
0.52972
178.05
118.03
1,062
704
105
171.2456
753.6
-32.1
94
8
0.77821
0.92476
268.25
206.05
1,600
1,229
105
172.6746
969.2
-38.1
95
3
0.16391
0.46727
56.5
104.11
337
621
105
174.0095
881.5
-31.7
96
5
0.74903
0.57938
258.19
129.1
1,540
770
105
175.9323
1,459
-33.7
97
7
0.39689
0.90594
136.81
201.86
816
1,204
105
177.1449
750.3
-32.2
98
1
0.45817
0.17908
157.93
39.9
942
238
105
178.4973
896
-34.6
99
2
0.78794
0.17457
271.6
38.9
1,620
232
105
179.741
783.7
-34.1
100
5
0.78064
0.386
269.09
86.01
1,605
513
105
181.7148
1,504.2
-31.1
End of preview. Expand in Data Studio

Eavestap: my MacBook hears where I tap the screen

My MacBook doesn't have a touchscreen. But it does have a microphone, and it turns out that's almost enough.

This dataset has 1000 taps on the screen of a MacBook Pro, recorded by its own built-in microphone. Each tap comes with its sound (250 ms) and the exact spot on the screen.

What the model guesses. Guessing the exact point from sound alone is still too hard, so I split the screen into 9 equal zones, a 3Γ—3 grid like a tic-tac-toe board. Each zone is about 11.5 Γ— 7.4 cm. The model listens to the "click" and says which zone I tapped.

β”Œβ”€β”€β”€β”¬β”€β”€β”€β”¬β”€β”€β”€β”
β”‚ 0 β”‚ 1 β”‚ 2 β”‚
β”œβ”€β”€β”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€
β”‚ 3 β”‚ 4 β”‚ 5 β”‚   ← MacBook screen, zone numbers
β”œβ”€β”€β”€β”Όβ”€β”€β”€β”Όβ”€β”€β”€β”€
β”‚ 6 β”‚ 7 β”‚ 8 β”‚
β””β”€β”€β”€β”΄β”€β”€β”€β”΄β”€β”€β”€β”˜

A simple model guesses the zone right 76% of the time. Random guessing would give 11%, or 1 in 9.

Where the idea came from

It all started with two papers showing that you can tell which keys someone presses just from the sound:

And I thought: Apple just released its first MacBook Pro with a touchscreen. If a microphone can hear a keyboard that well, why can't my ordinary MacBook learn to understand taps too?

How I collected the data

Honestly, I now get why Steve Jobs once called laptop touchscreens "ergonomically terrible", and I don't get why Apple went back on that. While tapping, my arm nearly fell off. Holding it up in front of a vertical screen for 25 minutes is no fun. And the screen ends up covered in fingerprints.

I collected everything myself, in my ordinary room at home. It was hard: by the end my arm just stopped cooperating, and it was tough mentally too.

The main trick: fingernails. The microphone barely hears a normal tap with the pad of a finger. So I grew my nails out, so that every tap is a clear "click" on the glass. This dataset is really the sound of a fingernail hitting the screen.

How the collection went:

  • a dot appeared at a random spot on a black screen, I tapped it with a nail, and the program cut out the sound around the tap;
  • all 9 zones got an equal share of taps, 110–112 each;
  • every 150 taps I set the lid to a new angle: 80Β°, 85Β°, 95Β°, 105Β°, 115Β°, 125Β° and 130Β°;
  • no missed taps, no clipped clips and no silent ones.

Honestly, I'd love to build a huge dataset: thousands of taps, different MacBooks, different hands. But I can't pull that off alone. It would kill me πŸ™‚

Why MacBook

Because MacBooks are nearly all the same. Even with differences between generations, there are only a few sizes: 14 and 16 inches. Within one model the body, screen and microphone are identical. And MacBooks have a lid-angle sensor, and the lid angle changes the sound a lot.

Windows laptops are made by dozens of companies, they are all different, and many have no lid-angle sensor. Owners of other laptops, no offense πŸ™‚ Try it on your device, maybe it works. But one model is unlikely to fit them all.

If you have a different MacBook, the model can be fine-tuned. Mine is a 16-inch MacBook Pro M1 Pro from 2021. If yours is different and the model makes more mistakes, a short calibration on your laptop is enough: a few dozen taps. The result only gets better, and specifically for your laptop.

I tested this by treating each lid angle as a "new laptop": the model is trained on the other angles, and I add a few taps from the new angle.

Calibration taps 0 9 18 36 54 90
Zone guessed right 76% 78% 79% 81% 82% 85%

So 36 taps (about a minute) give as much as a model trained from scratch on 360 taps. Caveat: a different lid angle is still not a different laptop. I haven't tested this on other MacBooks yet.

What's inside

File What it is
clips/00001.wav … clips/01000.wav One clip per tap. Mono, 48 kHz, float32, 250 ms: 50 ms before the tap and 200 ms after.
metadata.csv One row per clip: where I tapped and under what conditions.
session.json Mac model, screen size, lid angles.
LICENSE CC BY 4.0 license text.

Recorded on a MacBook Pro 16" M1 Pro 2021 (MacBookPro18,1), screen 345 Γ— 223 mm, built-in microphone, November 2026.

Columns of metadata.csv

Column Meaning
file_name Path to the clip.
id Tap number from 1 to 1000, in order.
cell Screen zone in the 3Γ—3 grid, 0 to 8, left to right and top to bottom. Row = cell // 3, column = cell % 3.
x_norm, y_norm Tap position as a fraction of the screen from the top-left corner (0…1).
x_mm, y_mm The same position in millimetres.
x_px, y_px The same position in screen points (screen is 2056 Γ— 1329).
lid_deg Lid angle: 80, 85, 95, 105, 115, 125 or 130Β°.
onset_s Tap time in seconds from the start of the recording.
reaction_ms How long I took to reach the dot after it appeared.
peak_dbfs How loud the "click" was, in dBFS.

The label is the position of the dot I aimed at, not a measured touch: there's no touch sensor, after all. Dots were placed at least 15% of a zone's size away from its edges, so the zone is reliable even if I missed the dot slightly.

How well it works

Important: don't split the data randomly. Neighbouring taps were recorded under the same conditions, and a random split gives a pretty but dishonest accuracy. Split by lid angle: train on 6 angles, test on the 7th.

That's how I tested it myself. The model is simple: hand-crafted spectral features plus logistic regression.

Lid angle 80Β° 85Β° 95Β° 105Β° 115Β° 125Β° 130Β° mean
Zone guessed right 65% 71% 87% 85% 86% 79% 62% 76.2%

It does worst at the extreme angles, because the model has seen nothing beyond them.

Checking it isn't cheating. The same model on the sound before the tap scores 11–12%, which is chance. So it really hears the tap itself, not something else in the recording.

What about the eyes?

While working on this project, I realized the best solution might be not to listen to the tap at all, but to look at where the person is looking. Before you tap the screen, you look at that spot anyway.

I tested this too: I recorded 5 minutes from the built-in camera while looking at dots on the screen. From the eyes alone, the model guesses the zone 68–72% of the time, with an error of about 3 cm. Not bad for a laptop webcam with no special hardware.

Sound and eyes together should work even better: when a tap sounds uncertain, the gaze gives a hint. My rough estimate is about 92%. But that's only an estimate: I recorded sound and gaze at different times, not together, so the real number is still to be measured.

I'm not publishing the gaze dataset: it's video of my face, and that's too personal. So gaze deserves its place in this story, but for now only as results.

Limitations

  • One person, one laptop, one room. How this carries over to other MacBooks, other people and other hands is still unknown.
  • Fingernail taps. Taps with the pad of a finger are much quieter; the model will most likely not work on them.
  • 1000 examples is not much. Enough for classical models and calibration, not for training large neural networks from scratch.
  • Taps were slow and one at a time. Real tapping is faster, and the surroundings are noisier.
  • There's no full room recording, only the 250 ms clips. That's for privacy.

Responsible use

This is also an acoustic side channel, like in the papers above: a laptop's microphone gives away where you touch the screen. I'm publishing the data so this leak can be measured, defended against, and used for helpful features that the user knows about and agrees to. Please don't use it to build tools that eavesdrop on people without their knowledge.

How to load

from datasets import load_dataset

ds = load_dataset("eventvoid/macbook-acoustic-touch", split="train")
row = ds[0]
samples = row["audio"].get_all_samples()   # datasets >= 4, needs torchcodec
print(samples.data.shape, samples.sample_rate, row["cell"], row["lid_deg"])

Without datasets: read metadata.csv with pandas and the clips with soundfile.read.

License

CC BY 4.0: use it however you like, including in commercial projects, just credit the author.

You can credit the author however is convenient, for example with a link to this page or the entry below.

How to cite

@misc{voloshin2026eavestap,
  author       = {Voloshin, Nikita},
  title        = {Eavestap: MacBook screen taps heard by the built-in microphone},
  year         = {2026},
  publisher    = {Hugging Face},
  howpublished = {\url{https://huggingface.co/datasets/eventvoid/macbook-acoustic-touch}}
}
Downloads last month
146

Paper for eventvoid/macbook-acoustic-touch