HoloWave


NameHoloWave JSON
Version 0.1.1 PyPI version JSON
download
home_pageNone
SummaryModern Sound manager for modern AI-driven applications.
upload_time2025-08-18 21:28:55
maintainerNone
docs_urlNone
authorTristan McBride Sr.
requires_python>=3.10
licenseNone
keywords ai agents speech recognition productivity automation
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
---

# HoloWave

## Overview

**HoloWave** is a modern, thread-safe audio playback manager for Python applications.
It provides robust, low-latency sound signaling, channel management, and cross-platform fallbacks for automation, agent systems, and productivity tools.

**Highlights:**

* **Low-latency sound playback:** Instantly play any supported audio file with minimal delay.
* **Thread-safe singleton:** Designed for multi-threaded, interactive, or automated applications.
* **Custom sound mapping:** Associate sounds with keys or events for rapid notification and feedback.
* **Automatic cross-platform fallback:** Produces a system beep if audio hardware or files are unavailable.
* **Flexible channel management:** Control mixer channels, output routing, and concurrency with ease.

---

## Why HoloWave?

Standard sound modules are often limited to blocking playback, lack robust error handling, or require boilerplate for channel management.

**HoloWave** solves these problems by:

* Providing a **centralized, extensible interface** for all sound playback.
* Robust error handling and fallback signaling on any OS.
* Supporting channel-based playback for overlapping or grouped sounds.
* Ensuring safe operation in multi-threaded or interactive environments.

---

## Key Features

* **Simple Sound Playback:**
  Play any loaded audio file by key, with non-blocking channel control.

* **Cross-Platform Support:**
  Uses `pygame` for playback, with built-in system beep fallback.

* **Custom Sound Mapping:**
  Map sound files to any integer or string keys for quick event-driven playback.

* **Thread-Safe Singleton:**
  Safe to use across threads or in long-running service applications.

* **Robust Error Handling:**
  Handles missing files, mixer errors, and hardware issues gracefully.

---

## How It Works

1. **Instantiate HoloWave** in your Python application.
2. **Map sounds to keys or events** in your app logic.
3. **Trigger playback** by calling `getSound(key)` from any thread or event handler.
4. **Automatically falls back** to system beep if playback fails.

---

## FAQ

**Q: Does HoloWave require a specific folder or class naming?**
A: No. Organize your project and sound files as you see fit.

**Q: Can I use HoloWave for overlapping or concurrent sounds?**
A: Yes. Channel management allows for multiple simultaneous sounds.

**Q: Is HoloWave thread-safe and production-ready?**
A: Yes. The singleton implementation and locking ensure safe use in all environments.

---

## Code Examples

You can find code examples on my [GitHub repository](https://github.com/TristanMcBrideSr/TechBook).

---

## License

This project is licensed under the [Apache License, Version 2.0](LICENSE).
Copyright 2025 Tristan McBride Sr.

---

## Acknowledgments

Project by:
- Tristan McBride Sr.
- Sybil

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "HoloWave",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.10",
    "maintainer_email": "\"Tristan McBride Sr.\" <142635792+TristanMcBrideSr@users.noreply.github.com>",
    "keywords": "AI, Agents, Speech Recognition, Productivity, Automation",
    "author": "Tristan McBride Sr.",
    "author_email": "\"Tristan McBride Sr.\" <142635792+TristanMcBrideSr@users.noreply.github.com>",
    "download_url": "https://files.pythonhosted.org/packages/c9/53/7c52850f8fbfb08c358d8e4db20e621f29a7141fe4bd089e97362d7001d7/holowave-0.1.1.tar.gz",
    "platform": null,
    "description": "\ufeff\r\n---\r\n\r\n# HoloWave\r\n\r\n## Overview\r\n\r\n**HoloWave** is a modern, thread-safe audio playback manager for Python applications.\r\nIt provides robust, low-latency sound signaling, channel management, and cross-platform fallbacks for automation, agent systems, and productivity tools.\r\n\r\n**Highlights:**\r\n\r\n* **Low-latency sound playback:** Instantly play any supported audio file with minimal delay.\r\n* **Thread-safe singleton:** Designed for multi-threaded, interactive, or automated applications.\r\n* **Custom sound mapping:** Associate sounds with keys or events for rapid notification and feedback.\r\n* **Automatic cross-platform fallback:** Produces a system beep if audio hardware or files are unavailable.\r\n* **Flexible channel management:** Control mixer channels, output routing, and concurrency with ease.\r\n\r\n---\r\n\r\n## Why HoloWave?\r\n\r\nStandard sound modules are often limited to blocking playback, lack robust error handling, or require boilerplate for channel management.\r\n\r\n**HoloWave** solves these problems by:\r\n\r\n* Providing a **centralized, extensible interface** for all sound playback.\r\n* Robust error handling and fallback signaling on any OS.\r\n* Supporting channel-based playback for overlapping or grouped sounds.\r\n* Ensuring safe operation in multi-threaded or interactive environments.\r\n\r\n---\r\n\r\n## Key Features\r\n\r\n* **Simple Sound Playback:**\r\n  Play any loaded audio file by key, with non-blocking channel control.\r\n\r\n* **Cross-Platform Support:**\r\n  Uses `pygame` for playback, with built-in system beep fallback.\r\n\r\n* **Custom Sound Mapping:**\r\n  Map sound files to any integer or string keys for quick event-driven playback.\r\n\r\n* **Thread-Safe Singleton:**\r\n  Safe to use across threads or in long-running service applications.\r\n\r\n* **Robust Error Handling:**\r\n  Handles missing files, mixer errors, and hardware issues gracefully.\r\n\r\n---\r\n\r\n## How It Works\r\n\r\n1. **Instantiate HoloWave** in your Python application.\r\n2. **Map sounds to keys or events** in your app logic.\r\n3. **Trigger playback** by calling `getSound(key)` from any thread or event handler.\r\n4. **Automatically falls back** to system beep if playback fails.\r\n\r\n---\r\n\r\n## FAQ\r\n\r\n**Q: Does HoloWave require a specific folder or class naming?**\r\nA: No. Organize your project and sound files as you see fit.\r\n\r\n**Q: Can I use HoloWave for overlapping or concurrent sounds?**\r\nA: Yes. Channel management allows for multiple simultaneous sounds.\r\n\r\n**Q: Is HoloWave thread-safe and production-ready?**\r\nA: Yes. The singleton implementation and locking ensure safe use in all environments.\r\n\r\n---\r\n\r\n## Code Examples\r\n\r\nYou can find code examples on my [GitHub repository](https://github.com/TristanMcBrideSr/TechBook).\r\n\r\n---\r\n\r\n## License\r\n\r\nThis project is licensed under the [Apache License, Version 2.0](LICENSE).\r\nCopyright 2025 Tristan McBride Sr.\r\n\r\n---\r\n\r\n## Acknowledgments\r\n\r\nProject by:\r\n- Tristan McBride Sr.\r\n- Sybil\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Modern Sound manager for modern AI-driven applications.",
    "version": "0.1.1",
    "project_urls": {
        "Homepage": "https://github.com/TristanMcBrideSr"
    },
    "split_keywords": [
        "ai",
        " agents",
        " speech recognition",
        " productivity",
        " automation"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "d72d18f4ddba5546c49e90a604a468b0f4ff349e41353cc9cf7d65cdab74ed96",
                "md5": "de3b3f2f742f15dd095176cce894cfdd",
                "sha256": "be27ba92d98ebd293ca715121e293c947d11378a1020b70bcba1922241ef5ecd"
            },
            "downloads": -1,
            "filename": "holowave-0.1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "de3b3f2f742f15dd095176cce894cfdd",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.10",
            "size": 4200,
            "upload_time": "2025-08-18T21:28:55",
            "upload_time_iso_8601": "2025-08-18T21:28:55.130029Z",
            "url": "https://files.pythonhosted.org/packages/d7/2d/18f4ddba5546c49e90a604a468b0f4ff349e41353cc9cf7d65cdab74ed96/holowave-0.1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c9537c52850f8fbfb08c358d8e4db20e621f29a7141fe4bd089e97362d7001d7",
                "md5": "e5fee106e92bef8538d3ad57ee783b23",
                "sha256": "f704997fe1652f825cdead1b78423828034efd14d7ee698c9378f4bfbe801859"
            },
            "downloads": -1,
            "filename": "holowave-0.1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "e5fee106e92bef8538d3ad57ee783b23",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.10",
            "size": 4371,
            "upload_time": "2025-08-18T21:28:55",
            "upload_time_iso_8601": "2025-08-18T21:28:55.892453Z",
            "url": "https://files.pythonhosted.org/packages/c9/53/7c52850f8fbfb08c358d8e4db20e621f29a7141fe4bd089e97362d7001d7/holowave-0.1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-08-18 21:28:55",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "holowave"
}
        
Elapsed time: 1.53570s