High School Technology Class — Understanding Microphone‑Triggered File Operations
The program touch.exe runs once every minute (1 beat per minute). But it only activates when the PC microphone detects a voice.
When voice is detected:
https://delacruz.belliniseven.ai/krollOntrack/TXT/selectFiles.txt
https://delacruz.belliniseven.ai/krollOntrack/DB/taggedFiles.db
After updating the database, an Intranet HTML Portal displays all the files stored in the database.
This is the basic logic the Python script follows:
# 1. Listen to microphone
if microphone_detects_voice():
# 2. Download list of files
files = download("selectFiles.txt")
# 3. Touch each file (update timestamp)
for f in files:
touch(f)
# 4. Update SQLite database
update_db("taggedFiles.db", files)
# 5. Wait 1 minute and repeat
The script repeats this cycle forever, but only runs the “touch” operation when your voice is detected.
After the database is updated, the school’s local intranet displays a webpage listing all touched files. This page is automatically refreshed whenever new files are added.
Below is a sample output of what the portal might look like.
Database: taggedFiles.db
| File Name | Last Touched | Status |
|---|---|---|
| report_001.txt | 2026‑06‑06 14:02:11 | Updated |
| casefile_A12.txt | 2026‑06‑06 14:02:11 | Updated |
| notes_final.txt | 2026‑06‑06 14:02:11 | Updated |
This project teaches students how to combine:
These are real‑world skills used in IT, cybersecurity, automation engineering, and enterprise software development.