Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Instruwav

This library lets you to form notes of different instruments from just one base note and play them

Run

Pianoputer only works in python3 so make sure you are using python3. You can download it from https://pypi.org

After a few minutes finished downloading, you can install it using pip

cd (Downloadpath)
pip install (Downloadfilename)

Helps

Changing the sound file

You can provide your own sound file by moving or copy your file into the .\instruwav\audio_files, then configure in python.

For example:

import instruwav
generator=instruwav.instrusound.engine()
# Replace filename with your file's name
generator.config("add","filename.wav")        # Add the file to the list
generator.config("audio_file","filename.wav") # switch to filename.wav as the default file

All changes are only made in this single program. If you want to permanetly change to all programs, adjust the _config.json file.

It looks like this:

{
    "DISABLE_OUTPUT":false,
    "DEFAULT_INSTRUMENTS":
    [
        "violin_c4.wav",
        "piano_c4.wav",
        "bowl_c6.wav"
    ],
    "BASESOUND_FOLDER":".\\audio_files\\",
    "_PATH":{
        "violin":"violin_c4.wav",
        "piano":"piano_c4.wav",
        "bell":"bowl_c6.wav"
    },
    "VERSION":"2.0.2"
}

Add your filename to it

{
    "DISABLE_OUTPUT":false,
    "DEFAULT_INSTRUMENTS":
    [
        "violin_c4.wav",
        "piano_c4.wav",
        "bowl_c6.wav",
        "filename.wav"
    ],
    "BASESOUND_FOLDER":".\\audio_files\\",
    "_PATH":{
        "violin":"violin_c4.wav",
        "piano":"piano_c4.wav",
        "bell":"bowl_c6.wav",
        "nickname":"filename.wav"
    },
    "VERSION":"2.0.2"
}

The file will permanetly be added in the list of available audios, and run the python program:

import instruwav
generator=instruwav.instrusound.engine()
generator.config("audio_file","filename.wav")

Changing the keyboard layout

Note that the default keyboard configuration (stored in file keyboards/qwerty_piano.txt) is for the most commonly used QWERTY keyboards. You can change the configuration so that it matches your keyboard, for instance using the alternative keyboards/azerty_typewriter.txt:

Disable output

To stop the "Thank you..." change the config.json:

DIABLE_OUTPUT: true

Changelog

See changelog in the folder

Release files for instruwav 0.0.0rc0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for instruwav 0.0.0rc0
File Size Uploaded
instruwav-0.0.0rc0.tar.gz 1.3 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for instruwav 0.0.0rc0
File Interpreter ABI Platform
instruwav-0.0.0rc0-py3-none-any.whl Python 3 none any Details

Total release size: 2.6 MB

Release files / instruwav-0.0.0rc0.tar.gz

Download URL instruwav-0.0.0rc0.tar.gz
Size 1.3 MB
Tags Source
SHA-256 checksum
How to use checksums
3430f88f64d7edc1c6738467e16adbd549555c91fdc3649a1137d70eed18c83b
BLAKE2b-256 checksum
How to use checksums
44a8d524f3d866f3c2e748a6d7136d66113d48fd1977dee75378cb1ddbd71545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release files / instruwav-0.0.0rc0-py3-none-any.whl

Download URL instruwav-0.0.0rc0-py3-none-any.whl
Size 1.3 MB
Tags Python 3
SHA-256 checksum
How to use checksums
a03b1738499989a9e01056e2d0c2632c530164a8506541f4e7942b543f87adda
BLAKE2b-256 checksum
How to use checksums
56db18a7fdcdbed481428703a492306f4c16771d87bdd9e1612d6b6aad039276
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.13

Release history Release notifications | RSS feed

This release

0.0.0rc0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page