Metadata-Version: 2.1
Name: wavsetpos
Version: 1.1
Summary: A library for setting pos of a wav file with pygame.mixer.music
Home-page: 
Author: Raymond Grottodden
Author-email: raymondgrotto651@gmail.com
License: MIT
Keywords: pygame,wav,music,mixer
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Education
Classifier: Operating System :: Microsoft :: Windows :: Windows 10
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: pydub==0.25.1

---
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
==========

1.1 (8/21/2024)
-----------------
- Fixed change Log

1.0 (8/21/2024)
-----------------
- Initial Release
