The open-source project is called "NO SPEAKER," and comes from developer Cody Collier, who recently shared shared a demonstration on X. The tool uses the small haptic motor that normally makes a Force Touch trackpad feel as though it clicks. Driving that motor at different frequencies makes the glass vibrate fast enough to produce audible sounds.
Developer Turns MacBook Trackpad Into a Speaker Using Haptic Motor