A library for setting pos of a wav file with pygame.mixer.music
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
wavsetpos-1.0.tar.gz
(3.7 kB
view hashes)