Chapters · Chapter 7 of 7
Track Windows settings
Extend the schema to live Windows master audio settings.
What to expect#
Pinman uses the same schema and Capture model for live Windows settings. In this chapter, you'll track master Volume and Mute, capture a baseline, change both settings and then restore them. The same approach works for other device and runtime settings.
Schema authoring workflow
- Choose what mattersfirst tracked file
- Describe configurationsettings + labels
- Keep noise outMatching Rules
- Prove the schemacompare with baseline
- Extend beyond filesRegistry + Windows
Steps#
Add Windows master audio#
Master audio settings control the computer's overall volume and mute state. The values vary by machine, so capture what your computer reports rather than trying to match a screenshot.
- In Explore, find Windows Settings (winrt) → Sound → Master, scanning as needed.
- Track Volume with Track item…, leaving its read-only access unchanged.
- Track Mute the same way.
- On the Explore toolbar, select Refresh to apply and wait for the refresh to complete.
The settings appear beneath Windows Settings. Their locations are
winrt:/Sound/Master/Volume and winrt:/Sound/Master/Mute; winrt: identifies
a Windows runtime setting.
Capture the master audio baseline#
The schema now covers files, Registry state and Windows settings. Capture that configuration before changing the real machine.
- Create a Checkpoint titled Master audio baseline with Files + settings, Tracked only and Record only. Wait for it to complete.
Master audio baseline contains the selected application files and settings, the presence or absence of Pinman's startup value, and the computer's current Volume and Mute.
Change and compare master audio#
Master audio is live device state. Change it with the same Windows controls you normally use, then Refresh to compare it with the baseline.
- Note the Volume and Mute values captured in Master audio baseline.
- Use the keyboard or Windows system tray to change the master volume and toggle mute.
- In Explore, select Refresh.
Volume and Mute now show their new values against Master audio baseline.
- Use the Windows controls to restore Volume and Mute to the values captured in Master audio baseline.
- In Explore, select Refresh.
Volume and Mute agree with Master audio baseline again.
What we did#
You extended the schema to live Windows settings, captured a baseline, then changed and restored both master audio values.
Where to go from here#
You built a schema from a blank project, chose a useful scope, brought different application formats into one readable view, kept noise out and proved the result against real changes.
That completes Tracking from Scratch. You can use the features covered here to build schemas for your own systems and applications.
To repeat this tutorial, run pinman tutorial install tracking (using
--project with your project name if it differs). Reinstalling resets the
tutorial work in that project.
Visit the Pinman documentation for more on schemas, Profiles and kits.
Instructions#
-
In Explore, find Windows Settings (winrt) → Sound → Master, scanning as needed.
-
Track Volume with Track item…, leaving its read-only access unchanged.
-
Track Mute the same way.
-
On the Explore toolbar, select Refresh to apply and wait for the refresh to complete.
-
Create a Checkpoint titled Master audio baseline with Files + settings, Tracked only and Record only. Wait for it to complete.
-
Note the Volume and Mute values captured in Master audio baseline.
-
Use the keyboard or Windows system tray to change the master volume and toggle mute.
-
In Explore, select Refresh.
-
Use the Windows controls to restore Volume and Mute to the values captured in Master audio baseline.
-
In Explore, select Refresh.

