Skip to main content

Music library

Project description

musix

Python music player for esoteric music formats

Example that plays music using pyaudio;

import sys
import pyaudio
import musix

stream = pyaudio.PyAudio().open(
        format=pyaudio.paInt16,
        channels=2,
        rate=44100,
        output=True)

musix.init()
player = musix.load(sys.argv[1])

def print_meta(what):
    for name in what:
        val = player.get_meta(name)
        print(f"{name} = {val}\n")
player.on_meta(print_meta)

while True:
    samples = player.render(4096)
    stream.write(samples)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

musix-0.1.2.tar.gz (16.1 MB view details)

Uploaded Source

Built Distributions

musix-0.1.2-pp310-pypy310_pp73-win_amd64.whl (26.1 MB view details)

Uploaded PyPy Windows x86-64

musix-0.1.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded PyPy macOS 10.15+ x86-64

musix-0.1.2-pp39-pypy39_pp73-win_amd64.whl (26.1 MB view details)

Uploaded PyPy Windows x86-64

musix-0.1.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded PyPy macOS 10.15+ x86-64

musix-0.1.2-pp38-pypy38_pp73-win_amd64.whl (26.1 MB view details)

Uploaded PyPy Windows x86-64

musix-0.1.2-pp38-pypy38_pp73-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded PyPy macOS 10.15+ x86-64

musix-0.1.2-cp312-cp312-win_amd64.whl (26.1 MB view details)

Uploaded CPython 3.12 Windows x86-64

musix-0.1.2-cp312-cp312-win32.whl (25.7 MB view details)

Uploaded CPython 3.12 Windows x86

musix-0.1.2-cp312-cp312-macosx_11_0_arm64.whl (26.3 MB view details)

Uploaded CPython 3.12 macOS 11.0+ ARM64

musix-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.12 macOS 10.15+ x86-64

musix-0.1.2-cp311-cp311-win_amd64.whl (26.1 MB view details)

Uploaded CPython 3.11 Windows x86-64

musix-0.1.2-cp311-cp311-win32.whl (25.7 MB view details)

Uploaded CPython 3.11 Windows x86

musix-0.1.2-cp311-cp311-macosx_11_0_arm64.whl (26.3 MB view details)

Uploaded CPython 3.11 macOS 11.0+ ARM64

musix-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.11 macOS 10.15+ x86-64

musix-0.1.2-cp310-cp310-win_amd64.whl (26.1 MB view details)

Uploaded CPython 3.10 Windows x86-64

musix-0.1.2-cp310-cp310-win32.whl (25.7 MB view details)

Uploaded CPython 3.10 Windows x86

musix-0.1.2-cp310-cp310-macosx_11_0_arm64.whl (26.3 MB view details)

Uploaded CPython 3.10 macOS 11.0+ ARM64

musix-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

musix-0.1.2-cp39-cp39-win_amd64.whl (26.1 MB view details)

Uploaded CPython 3.9 Windows x86-64

musix-0.1.2-cp39-cp39-win32.whl (25.7 MB view details)

Uploaded CPython 3.9 Windows x86

musix-0.1.2-cp39-cp39-macosx_11_0_arm64.whl (26.3 MB view details)

Uploaded CPython 3.9 macOS 11.0+ ARM64

musix-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.9 macOS 10.15+ x86-64

musix-0.1.2-cp38-cp38-win_amd64.whl (26.1 MB view details)

Uploaded CPython 3.8 Windows x86-64

musix-0.1.2-cp38-cp38-win32.whl (25.7 MB view details)

Uploaded CPython 3.8 Windows x86

musix-0.1.2-cp38-cp38-macosx_11_0_arm64.whl (26.3 MB view details)

Uploaded CPython 3.8 macOS 11.0+ ARM64

musix-0.1.2-cp38-cp38-macosx_10_15_x86_64.whl (26.6 MB view details)

Uploaded CPython 3.8 macOS 10.15+ x86-64

File details

Details for the file musix-0.1.2.tar.gz.

File metadata

  • Download URL: musix-0.1.2.tar.gz
  • Upload date:
  • Size: 16.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d6165fdbf70deaf43b237118482d5004b57838aeef6e8cbfdf235c0530156a97
MD5 71a75db6182aa744ae72ac1c6fa7899c
BLAKE2b-256 9d92d6a8ba068b21b2943b36a04a6fc4e5a3b7802f930891d0deb06d418090f1

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp310-pypy310_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp310-pypy310_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 c06a424787d4e43a1c96646883603c60021690a93603409c87f3ff05d5545a27
MD5 09e662602f6783b783d95be77a3bf86e
BLAKE2b-256 ed8b2f97d9ddb86ed3fdecd8888856e9b54a54eda0ebf72e7638e224ddded3c7

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp310-pypy310_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 351e2a3f228be5dcdfcbe76e6b56261d8d76506c8774f77a46d9f7774dddc3f7
MD5 d93985ff7e9f2def1a06bdd722c8b5e7
BLAKE2b-256 515a9abb109a7d9745a45baf7cbe1f2c6edd2dc6b8c06847755f1eb29ccdc703

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp39-pypy39_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp39-pypy39_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 a8122209dce84f8b4c4253dbfd8f1668f01c811bd945378d8512906703a621f6
MD5 71d437959d5f3ed9070c6575eeeb648a
BLAKE2b-256 0f85e0fa973d1fc580875c3ea7ea9f879d17bf5423cf58af4e9981989dcd3897

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp39-pypy39_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 506d4c25a183b4d3ac5efaf2c789d88a626b602eee7e9e00653af4f8783dbd47
MD5 7a6f34b7d1aa626ed0b45dac7d08f811
BLAKE2b-256 d9e212a5f910c574971681c5c84616bf151e22bd8f6105cb57eddd48fa13961e

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp38-pypy38_pp73-win_amd64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp38-pypy38_pp73-win_amd64.whl
Algorithm Hash digest
SHA256 4fa0d0a1baf30134c3f8415e6935bcfb9f3e4bedda995b7f548e0ba4c8fba729
MD5 86027d304c429dcdf48fa290d34d39f0
BLAKE2b-256 dbe56c503d36c4ff45c6e363c02dc53a19235bc99921b01601de3676a9348501

See more details on using hashes here.

File details

Details for the file musix-0.1.2-pp38-pypy38_pp73-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-pp38-pypy38_pp73-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 94ce0b3d6a0f30766cf50da80e9c4dd91359fe3be614e41add0217ac8275d937
MD5 e65f8bbb0b6157a797a5369a0f7e440e
BLAKE2b-256 050dc48b6bfbf2a356416dcce83fa5d9f213b21a727b285b57d77f05c2f4c1b1

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: musix-0.1.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 0abe93808939600a29970e17ba64b971ec4cd6f33600e8b8cf32eb5438e8c24a
MD5 d2bbe3c892fb5841f589e71df9bf7fd5
BLAKE2b-256 31a4499a8beca9a8d94fad0dd137fa15656cbb9077e9bad81d0c4424b55b5407

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp312-cp312-win32.whl.

File metadata

  • Download URL: musix-0.1.2-cp312-cp312-win32.whl
  • Upload date:
  • Size: 25.7 MB
  • Tags: CPython 3.12, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp312-cp312-win32.whl
Algorithm Hash digest
SHA256 8dd8706d8bcc8968bb0f67637699d8026359cb9088f45bdf3ac5fc2b189ad953
MD5 d15b4d98e5483452c734f8367d296296
BLAKE2b-256 e1ca70476978306f9a3daf5e4e82abe5e64e89c844a278f4cb2f2d5ea2707463

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 d1081dbeb1b95679d915beff9c12c6cdca3044043a33af3cb4307a4f53cac347
MD5 f2ed992bd3cd48515fcd40db5c49c5e6
BLAKE2b-256 3940365370c5e3db13a94ae9ee5f4d47ac648907ac7f6e06dc90d194ba2282b4

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp312-cp312-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d5158f444e1c01cc1c9a6f9146ccc4c8e7d8a20f160b92fbc329b9e63f97af80
MD5 2321477973fe7732e9f0483655ceb80b
BLAKE2b-256 3a2caa80d9fc8434937dbb5654d35274533f9df3fd90bebb30e2dd7978105fe1

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: musix-0.1.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 80028ed84d7533183701463deddc5d20ead21a1035ea74d04fe73416e22dc035
MD5 cf4fd0a77ba038338fe9c7ea9320e1e0
BLAKE2b-256 a11554dba6db44f285b7870f3146d6414e4cb4d067d0b9a81952c3c191260664

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp311-cp311-win32.whl.

File metadata

  • Download URL: musix-0.1.2-cp311-cp311-win32.whl
  • Upload date:
  • Size: 25.7 MB
  • Tags: CPython 3.11, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp311-cp311-win32.whl
Algorithm Hash digest
SHA256 9c5f33ed47269f15bdddce6d0cbce258ef5498dc251c2d5820272e305ce30cb6
MD5 379c51a6a71097b6ad174819abfb32e5
BLAKE2b-256 fc76a21e7ef922a11025471124421ffe12363d94377cf685f3e62bbdbe7cebe4

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a5b299630833521d599c2f015a525183aa3fd4bc7fa6321a5c400ee1d226955e
MD5 6963e802b509076bb9fa07a57f42d0d1
BLAKE2b-256 d6ee04ef766071f220a288361e47acc7f3886a70d6cb4343f921354a09910abe

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp311-cp311-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 f6e86bece9902806f23dcfb253278fb2ffb81d1ca1cedacc9e26029fdd3a570a
MD5 418a2b1cb24b4e72ae3dfc3ec9902d60
BLAKE2b-256 500b119542c9cd89d444e8b14849a0af4fff26b39dbd94ebf2ff2db92d3b8676

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: musix-0.1.2-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.10, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 9b6afafb4ab4a01a95eeb033aed6738614a2f81b8feff4668cc15aa5e24ceca4
MD5 b68570d5acdea0ad685968c85ae8da11
BLAKE2b-256 fbb24d8a10ecd4456a62d00f518a573969faa8c48a52a3a5ab4f152f6a59081e

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp310-cp310-win32.whl.

File metadata

  • Download URL: musix-0.1.2-cp310-cp310-win32.whl
  • Upload date:
  • Size: 25.7 MB
  • Tags: CPython 3.10, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp310-cp310-win32.whl
Algorithm Hash digest
SHA256 fbad6e3b9472bf7d393389dc809756401ca72930ced4cc8007773422be28d686
MD5 8e4aabf51ec50fcc93ad775a9d1625d0
BLAKE2b-256 b839dff9af5f3a3777bc5b13a622e64ff42dcd94d32913e685095d19077d69ee

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp310-cp310-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp310-cp310-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 c44c7a97dd161be3b70ee00bb674c3087ddb20cf9d47bd8230193dcd7917eb74
MD5 ab22357ce0cb53542bdd7a97ed69bcee
BLAKE2b-256 892c8cdb82be1288c1768a99c45af662a6cbb5096b4c5e0113b537e18e6530e6

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 d1920b4d28c1aa79b9a3ed2ca95a29879ee990bd70f34a9a35038e659ee1b145
MD5 f076b76d10ae6105652bb8f0f40061f1
BLAKE2b-256 4e90e58a9835b7edcd0d495a6ffd561b2d7a6360b2590f9386f315ec7ed8dfcb

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp39-cp39-win_amd64.whl.

File metadata

  • Download URL: musix-0.1.2-cp39-cp39-win_amd64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.9, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp39-cp39-win_amd64.whl
Algorithm Hash digest
SHA256 eebcbda9e086a8a80e10173d3181a6612cc8e684d5e19b6fb75bf82fbc32f4d8
MD5 95e9af4c0009e621f98f798a6b7a247a
BLAKE2b-256 22481f46bcc38f54adc4fb767b2400f76a16cab9ba099c0336184add15b7432e

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp39-cp39-win32.whl.

File metadata

  • Download URL: musix-0.1.2-cp39-cp39-win32.whl
  • Upload date:
  • Size: 25.7 MB
  • Tags: CPython 3.9, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp39-cp39-win32.whl
Algorithm Hash digest
SHA256 19551cceb7d30b835d7cdaea747c856d7eb627aa12c36a1f0373318b96f000fe
MD5 b4917fbf51a48e5cdf951388612d8bf6
BLAKE2b-256 330b3a612d2ebbdcfc10ab8d0f82236cd2de1c21e2ae63163c43f3027c23c5be

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp39-cp39-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp39-cp39-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1cbc9e0d5dc56a2d837b7de035d24751f68ca590ef9842d72fad4fcc55013561
MD5 e2c5c1d0638b4c8bf7647476d9c6c7d3
BLAKE2b-256 78376948d3b4214d44230c555342a656187190bc4d086765767e671f59706ce9

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp39-cp39-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 6f6c3751caaef38b8a3eb03a44dbc1880c6f0eca42d26e87c729b0e1cf624312
MD5 3035576b179d7188b4fb67a98f18710a
BLAKE2b-256 cd4607330f47e638d14ddde0d1630cd97e4cc3b4a6d9dfee6f9ba4ce223d9dc4

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp38-cp38-win_amd64.whl.

File metadata

  • Download URL: musix-0.1.2-cp38-cp38-win_amd64.whl
  • Upload date:
  • Size: 26.1 MB
  • Tags: CPython 3.8, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp38-cp38-win_amd64.whl
Algorithm Hash digest
SHA256 c4718a63b4af41b9c3c622e395a47115c1a5f5cd6f96aabc2b031aa77a4bbe57
MD5 ea689981e656592927ffa33f8ced1c6a
BLAKE2b-256 f594bb1b3a5bf44f98332a36bc72eaaefd42ccd8c316ca09bd3547b12cf80307

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp38-cp38-win32.whl.

File metadata

  • Download URL: musix-0.1.2-cp38-cp38-win32.whl
  • Upload date:
  • Size: 25.7 MB
  • Tags: CPython 3.8, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for musix-0.1.2-cp38-cp38-win32.whl
Algorithm Hash digest
SHA256 a22a4bd52b684f0c30b8c9cb9bd7a620092ee66e0bf657259bb28e9a29b34ce7
MD5 ba2e24b5b9ea09ec579a0cdb3be04e04
BLAKE2b-256 4bc5856e43121c1952c4d41e351a45229c4811bb157edbda92b785ea11dd98be

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp38-cp38-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp38-cp38-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 77f056b7b24d5beca2e02b952abc8fe2db0b08dab89c5f09c2cfe16dff024ea3
MD5 4b78db3ff191b9d41926a779447e8787
BLAKE2b-256 b1b2ae8a35bfb81237d85dd0f20581636d83d00ce015942dc7c191efa7221c14

See more details on using hashes here.

File details

Details for the file musix-0.1.2-cp38-cp38-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musix-0.1.2-cp38-cp38-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 117aa155b1c284816120cedc63051cc39600243a297f8a57dd256e87de983994
MD5 c7ced8c6892db07a3d9e35481c2575ec
BLAKE2b-256 ca73e81621060a1106925a3215aa846440da77df89e4bca1edd9f4e061bdd5b7

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page