{"id":20286676,"url":"https://github.com/yezzfusl/harmonicvoyage","last_synced_at":"2026-06-05T04:31:29.283Z","repository":{"id":251963499,"uuid":"838933169","full_name":"yezzfusl/HarmonicVoyage","owner":"yezzfusl","description":"An artistic journey through sound and math, visualized in code.","archived":false,"fork":false,"pushed_at":"2024-08-06T17:15:40.000Z","size":911,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-04T04:13:04.097Z","etag":null,"topics":["algorithmic-art","audio","creative-coding","fourier-transform","graphics","mathematics","music","sound-synthesis","visualization"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/yezzfusl.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-06T16:15:54.000Z","updated_at":"2024-08-06T17:18:42.000Z","dependencies_parsed_at":"2024-08-06T21:59:47.160Z","dependency_job_id":"5a496ace-58b4-472e-9bc0-95b618a47d7c","html_url":"https://github.com/yezzfusl/HarmonicVoyage","commit_stats":null,"previous_names":["yezzfusl/harmonicvoyage"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yezzfusl/HarmonicVoyage","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezzfusl%2FHarmonicVoyage","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezzfusl%2FHarmonicVoyage/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezzfusl%2FHarmonicVoyage/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezzfusl%2FHarmonicVoyage/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yezzfusl","download_url":"https://codeload.github.com/yezzfusl/HarmonicVoyage/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezzfusl%2FHarmonicVoyage/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":27471333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-03T02:00:06.367Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["algorithmic-art","audio","creative-coding","fourier-transform","graphics","mathematics","music","sound-synthesis","visualization"],"created_at":"2024-11-14T14:36:07.796Z","updated_at":"2025-12-03T07:10:41.783Z","avatar_url":"https://github.com/yezzfusl.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# HarmonicVoyage\nAn artistic journey through sound and math, visualized in code.\n\n# Jingle Bells Synth\nhttps://github.com/user-attachments/assets/d83b6b92-fc12-4b57-8979-0a3a5236d5f2\n## Advanced Audio Synthesis and Visualization Project\n\n![Version](https://img.shields.io/badge/version-1.0.0-blue.svg)\n![License](https://img.shields.io/badge/license-BSD--3--Clause-blue.svg)\n\n### Table of Contents\n\n1. [Introduction](#introduction)\n2. [Features](#features)\n3. [System Requirements](#system-requirements)\n4. [Installation](#installation)\n5. [Usage](#usage)\n6. [Technical Details](#technical-details)\n7. [Architecture](#architecture)\n8. [Performance Optimization](#performance-optimization)\n9. [Future Enhancements](#future-enhancements)\n10. [Contributing](#contributing)\n11. [License](#license)\n\n---\n\n### Introduction\n\nJingle Bells Synth is a state-of-the-art audio synthesis and visualization project that demonstrates advanced techniques in digital signal processing, real-time audio generation, and graphical rendering. This project synthesizes the \"Jingle Bells\" melody using various waveforms and applies envelope shaping, while simultaneously providing a high-performance, real-time spectral analysis visualization.\n\n---\n\n### Features\n\n- **Advanced Waveform Synthesis**: Generates sine, square, triangle, and sawtooth waves with high precision.\n- **ADSR Envelope Shaping**: Applies attack, decay, sustain, and release envelopes to each note for realistic sound shaping.\n- **Real-time Spectral Analysis**: Performs fast Fourier transform (FFT) based spectral analysis on the audio output.\n- **High-performance Visualization**: Utilizes GPU-accelerated rendering for smooth, real-time spectrum visualization.\n- **Optimized Audio Processing**: Employs efficient algorithms for minimal CPU usage and low-latency output.\n\n---\n\n### System Requirements\n\n- **OS**: Debian-based Linux distribution (Ubuntu 20.04 LTS or later recommended)\n- **CPU**: x86_64 architecture, 2.0 GHz dual-core or better\n- **RAM**: 4 GB minimum, 8 GB recommended\n- **GPU**: OpenGL 3.3 compatible graphics card\n- **Audio**: ALSA-compatible audio device\n- **Development Tools**: GCC 9.3.0 or later, Make 4.2.1 or later\n\n---\n\n### Installation\n\n1. **Clone the repository:**\n    - `git clone https://github.com/yezzfusl/HarmonicVoyage.git`\n    - `cd HarmonicVoyage`\n    \n2. **Install dependencies:**\n    - `sudo apt-get update`\n    - `sudo apt-get install gcc make libsdl2-dev libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev`\n\n3. **Install Raylib:**\n    - `git clone https://github.com/raysan5/raylib.git`\n    - `sudo apt install libasound2-dev libx11-dev libxrandr-dev libxi-dev libgl1-mesa-dev libglu1-mesa-dev libxcursor-dev libxinerama-dev libwayland-dev libxkbcommon-dev`\n    - `cd raylib/src/`\n    - `make PLATFORM=PLATFORM_DESKTOP # To make the static version.`\n    - `sudo make install # Static version.`\n\n4. **Build the project:**\n    - `cd HarmonicVoyage/build`\n    - `make clean \u0026\u0026 make`\n\n---\n\n### Usage\n\n- Run the executable from the build directory:\n    - `./jingle_bells_synth`\n\n- The application will start playing the Jingle Bells melody and display the real-time spectral analysis. Close the window to exit the program.\n\n---\n\n### Technical Details\n\n#### Audio Synthesis\n\n- **Sample Rate**: 44.1 kHz\n- **Bit Depth**: 16-bit signed integer\n- **Waveforms**: Sine, Square, Triangle, Sawtooth\n- **Envelope**: ADSR (Attack, Decay, Sustain, Release)\n\n#### Spectral Analysis\n\n- **FFT Size**: 2048 samples\n- **Window Function**: Hann window\n- **Frequency Resolution**: ~21.5 Hz\n- **Time Resolution**: ~46.4 ms\n\n#### Visualization\n\n- **Rendering Engine**: Raylib\n- **Color Space**: HSV for spectrum visualization\n- **Frame Rate**: 60 FPS (V-Sync enabled)\n- **Resolution**: 800x450 pixels\n\n---\n\n### Architecture\n\nThe project follows a modular architecture with the following key components:\n\n1. **Sound Generator**: Responsible for waveform synthesis and ADSR envelope application.\n2. **Fourier Transform**: Performs real-time FFT for spectral analysis.\n3. **Visualizer**: Handles rendering of the spectral data using Raylib.\n4. **Main Controller**: Orchestrates audio playback and visualization updates.\n\n---\n\n### Performance Optimization\n\n- **SIMD Vectorization**: Utilizes SSE/AVX instructions for parallel audio processing.\n- **Cache-friendly Algorithms**: Optimized data structures and memory access patterns for improved cache utilization.\n- **GPU Acceleration**: Offloads visualization rendering to the GPU for reduced CPU load.\n- **Lock-free Audio Buffer**: Implements a custom lock-free ring buffer for low-latency audio output.\n\n---\n\n### Future Enhancements\n\n1. Implement real-time parameter adjustment for waveforms and ADSR envelopes.\n2. Add support for MIDI input for live performance capabilities.\n3. Integrate a reverb engine for enhanced audio output.\n4. Implement a more sophisticated spectral analysis using the STFT (Short-Time Fourier Transform) method.\n5. Develop a user interface for dynamic control of synthesis parameters.\n\n---\n\n### Contributing\n\nWe welcome contributions to the Jingle Bells Synth project. Please follow these steps to contribute:\n\n1. Fork the repository.\n2. Create a new branch for your feature or bug fix.\n3. Commit your changes with clear, descriptive commit messages.\n4. Push your branch and submit a pull request.\n\nPlease ensure your code adheres to the existing style conventions and includes appropriate test coverage.\n\n---\n\n### License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n---\n\nFor more information, please contact the project maintainer at maintainer@yezzfusl.me\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyezzfusl%2Fharmonicvoyage","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyezzfusl%2Fharmonicvoyage","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyezzfusl%2Fharmonicvoyage/lists"}