The Touch Bar Visualizer is a cosmetic program used to display the sound output from the computer as frequencies. The purpose of this program is to provide another cool trick for users that have a macbook equipped with a touchbar. While there are many music vissualizers out there this program is designed to both utilize a space on the keyboard often ignored and to provide a new way of directly viewing music when other programs may need space on the screen. Touch Bar Visualizer is written in Swift 5 and utilizes some objective-c methods. The backbone of the processing is based on Accelerate's vDSP methods.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
In order to listen to system sound Touch Bar Visualizer requires sound flower to be installed. Sound flower can be found here. Follow the instructions from Soundflower in order to download and run the installer and create a new audio device channel.
Once Soundflower has been installed you may either download the source of this project or download the latest release.
Upon opening the app a new aggregate device will be created between soundflower and the currently selected output speakers. Next the audio inputs will be analyzed and a vissualization will be sent to the touch bar. When closing the app the aggregate device will be closed and the input returned to normal.
The app will continue to run in the background and can be found on the control strip along with volume and brightness settings.
- Add a different view for the Vissualizer
- Create a new menu for selecting different audio inputs other than soundflower.