Project Concept
I’m creating an interactive data sonification tool that transforms real time stock and cryptocurrency market data into synchronized visual and audio experiences. The project will allow users to “hear” and “see” market movements in real time, so that it’s easier to understand financial data.
The core idea is to make abstract numerical data (stock prices, trading volume, market volatility) tangible through sound and visual patterns. Instead of just reading numbers on a screen, users will experience the market as a living system.
What the Program Will Do
The p5.js sketch will fetch live market data and translate it into multi-sensory output: Data Layer is going to be:
- Connecting to a financial data API (such as Alpha Vantage, CoinGecko, or Yahoo Finance API)
- Pull real-time price data for selected stocks/cryptocurrencies
- Calculating derived metrics
Code structure for demo:
// Fetch data from API
function fetchBitcoinPrice() {
// API call to get current BTC price
}
// Map price to frequency
function priceToFrequency(price) {
// Convert dollar value to Hz (e.g., 30000-60000 → 200-800 Hz)
}
// Play the tone
function playPriceTone(frequency, volume) {
// Use p5.Oscillator to generate sound
}
// Keyboard interaction
function keyPressed() {
if (key === 'r') refreshData();
}