wavsetpos


Namewavsetpos JSON
Version 1.0 PyPI version JSON
download
home_pageNone
SummaryA library for setting pos of a wav file with pygame.mixer.music
upload_time2024-08-21 18:13:35
maintainerNone
docs_urlNone
authorRaymond Grottodden
requires_pythonNone
licenseMIT
keywords pygame wav music mixer
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ---
This is a module to make setting the position of a wav file in pygame.mixer.music possible

---

# Functions
## load_wav
*Loads wav file into pygame mixer*

`def load_wav(filename : str, namehint : str | None = "") -> None:...`

**Example**
```
import wavsetpos as wsp
import pygame

# use in place of pygame.mixer.music.load()
wsp.load_wav(...)
...
pygame.mixer.music.play()
```

## set_wav_pos
*Sets position of wav file playing in pygame mixer*

`def set_wav_pos(pos : int, dir : str | None = None) -> None:...`

**Example**
```
import wavsetpos as wsp
import pygame

# use in place of pygame.mixer.music.load()
wsp.load_wav(...)
...
pygame.mixer.music.play()

# in seconds
wsp.set_wav_pos(50)
```


Change Log
==========

0.1.8 (10/6/2023)
-----------------
- Fixed square roots in equation builder
- Fixed division hanging
- Added Precision default changer to docs

0.1.6 (10/6/2023)
-----------------
- Made specific 10 ^ #, 100 ^ #... algorithm
- Made negative exponents 

0.1.5 (10/5/2023)
-------------------
- Massive limits fix
- Fixed decimal exponent problem (cannot do decimal exponents)

0.1.401 (10/3/2023)
-------------------
- Fixed -0

0.1.4 (10/3/2023)
-----------------
- Fixed limits
- Changed limit precision default from 50 -> 100

0.1.3 (10/3/2023)
-----------------
- Updated documentation

0.1.2 (10/2/2023)
-----------------
- Fixed negative numbers in limits

0.1.1 (10/2/2023)
-----------------
- Added functionality to equation builder.
- Added functions / limits

0.1.0 (10/1/2023)
-----------------
- Initial Release

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "wavsetpos",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "pygame, wav, music, mixer",
    "author": "Raymond Grottodden",
    "author_email": "raymondgrotto651@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/17/e9/77fb2081c8145bf85f99a01a2308102503de228f737cb4f9da0221746726/wavsetpos-1.0.tar.gz",
    "platform": null,
    "description": "---\r\nThis is a module to make setting the position of a wav file in pygame.mixer.music possible\r\n\r\n---\r\n\r\n# Functions\r\n## load_wav\r\n*Loads wav file into pygame mixer*\r\n\r\n`def load_wav(filename : str, namehint : str | None = \"\") -> None:...`\r\n\r\n**Example**\r\n```\r\nimport wavsetpos as wsp\r\nimport pygame\r\n\r\n# use in place of pygame.mixer.music.load()\r\nwsp.load_wav(...)\r\n...\r\npygame.mixer.music.play()\r\n```\r\n\r\n## set_wav_pos\r\n*Sets position of wav file playing in pygame mixer*\r\n\r\n`def set_wav_pos(pos : int, dir : str | None = None) -> None:...`\r\n\r\n**Example**\r\n```\r\nimport wavsetpos as wsp\r\nimport pygame\r\n\r\n# use in place of pygame.mixer.music.load()\r\nwsp.load_wav(...)\r\n...\r\npygame.mixer.music.play()\r\n\r\n# in seconds\r\nwsp.set_wav_pos(50)\r\n```\r\n\r\n\r\nChange Log\r\n==========\r\n\r\n0.1.8 (10/6/2023)\r\n-----------------\r\n- Fixed square roots in equation builder\r\n- Fixed division hanging\r\n- Added Precision default changer to docs\r\n\r\n0.1.6 (10/6/2023)\r\n-----------------\r\n- Made specific 10 ^ #, 100 ^ #... algorithm\r\n- Made negative exponents \r\n\r\n0.1.5 (10/5/2023)\r\n-------------------\r\n- Massive limits fix\r\n- Fixed decimal exponent problem (cannot do decimal exponents)\r\n\r\n0.1.401 (10/3/2023)\r\n-------------------\r\n- Fixed -0\r\n\r\n0.1.4 (10/3/2023)\r\n-----------------\r\n- Fixed limits\r\n- Changed limit precision default from 50 -> 100\r\n\r\n0.1.3 (10/3/2023)\r\n-----------------\r\n- Updated documentation\r\n\r\n0.1.2 (10/2/2023)\r\n-----------------\r\n- Fixed negative numbers in limits\r\n\r\n0.1.1 (10/2/2023)\r\n-----------------\r\n- Added functionality to equation builder.\r\n- Added functions / limits\r\n\r\n0.1.0 (10/1/2023)\r\n-----------------\r\n- Initial Release\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "A library for setting pos of a wav file with pygame.mixer.music",
    "version": "1.0",
    "project_urls": null,
    "split_keywords": [
        "pygame",
        " wav",
        " music",
        " mixer"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "2ad02faabadae5f727a604faf1bc301c2561c27eae186a74d2da3e4582496692",
                "md5": "5fab451679dfbe3d432b34d72068887e",
                "sha256": "cd21eb63ecb735bc46e299273048280c28acfc7a6985b7aa7ce9a98609ce17b9"
            },
            "downloads": -1,
            "filename": "wavsetpos-1.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "5fab451679dfbe3d432b34d72068887e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4123,
            "upload_time": "2024-08-21T18:13:34",
            "upload_time_iso_8601": "2024-08-21T18:13:34.502442Z",
            "url": "https://files.pythonhosted.org/packages/2a/d0/2faabadae5f727a604faf1bc301c2561c27eae186a74d2da3e4582496692/wavsetpos-1.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "17e977fb2081c8145bf85f99a01a2308102503de228f737cb4f9da0221746726",
                "md5": "ddd693bdf26bf85e00eb4310b085de34",
                "sha256": "052fe8b687e0ef5c9a76704d28d9789426a1ff9262747c94398e800ff7d477ed"
            },
            "downloads": -1,
            "filename": "wavsetpos-1.0.tar.gz",
            "has_sig": false,
            "md5_digest": "ddd693bdf26bf85e00eb4310b085de34",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 3659,
            "upload_time": "2024-08-21T18:13:35",
            "upload_time_iso_8601": "2024-08-21T18:13:35.966906Z",
            "url": "https://files.pythonhosted.org/packages/17/e9/77fb2081c8145bf85f99a01a2308102503de228f737cb4f9da0221746726/wavsetpos-1.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-08-21 18:13:35",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "wavsetpos"
}
        
Elapsed time: 1.91341s