random_tone_generator
A small Python utility to generate randomized tone sweeps and holds in real time.
Features
- Real-time audio output via
sounddevice - Random sweep patterns:
base -> random -> basebase -> random -> random -> base
- Adjustable:
- playback speed
- min/max frequency
- amplitude
- Explicit playback duration with
play_for(seconds)
function calls
gen.set_speed(speed) # float, must be > 0 gen.set_max_freq(max_freq) # float, must be >= min_freq gen.set_min_freq(min_freq) # float, must be <= max_freq (if implemented) gen.set_base_freq(base_freq) # float (if implemented) gen.set_amplitude(amplitude) # float in [0.0, 1.0] (if implemented) state = gen.get_state() # returns dict of current settings gen.play_for(seconds) # play for N seconds (explicit mode)
Installation
pip install random_tone_generator
Metadata
Release files for random-tone-generator 0.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| random_tone_generator-0.0.1.tar.gz | 3.1 kB | Without provenance | Details for random_tone_generator-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| random_tone_generator-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for random_tone_generator-0.0.1-py3-none-any.whl |
Total release size: 6.2 kB
Release files / random_tone_generator-0.0.1.tar.gz
| Download URL | random_tone_generator-0.0.1.tar.gz |
|---|---|
| Size | 3.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
506b795a959b37f1091448bb3d07aa329e78e45271262a5be5dbb6e001e700ca
|
|
BLAKE2b-256 checksum How to use checksums |
007ee98a782b3b70fddac45756e4f8dbd42c4bca27e21f1ccc1e02383ae13fe9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / random_tone_generator-0.0.1-py3-none-any.whl
| Download URL | random_tone_generator-0.0.1-py3-none-any.whl |
|---|---|
| Size | 3.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6285a403c707ed4b046bdd8f7b43477b13229604dd3e35a23acdc95c2410d32e
|
|
BLAKE2b-256 checksum How to use checksums |
db617e056335fc3c8290943633776b793f6e897854c5e2e5a333d7e449ae1543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Security for random-tone-generator 0.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.