This commit is contained in:
cidoku 2025-02-19 13:37:24 -03:00
parent 1c8b6fc716
commit a7566acba3
2 changed files with 0 additions and 54 deletions

View File

@ -1,28 +0,0 @@
from apng import APNG
print "image1"
img = APNG.open("image.apng")
for png, control in img.frames:
print "---------"
print control.delay
print control.delay_den
print "image2"
img = APNG.open("shocked.apng")
for png, control in img.frames:
print "---------"
print control.delay
print control.delay_den
print "image3"
img = APNG.open("(a)mad.apng")
for png, control in img.frames:
print "---------"
print control.delay
print control.delay_den

View File

@ -1,26 +0,0 @@
import __builtin__
import audio as AUDIO
__builtin__.audio = AUDIO
del AUDIO
from pybass_constants import *
from urllib2 import Request, urlopen
audio.init()
url = 'one_last_dance.mid'
music = audio.loadMIDI(False, url, 0, 0, BASS_SAMPLE_LOOP)
print "Trying to play", url
if music:
audio.sethandleattr(music, BASS_ATTRIB_VOL, 1.0)
audio.playhandle(music, False)
else:
print "Couldn't play music. Error", audio.getbasserror()
print "Error?", audio.getbasserror()
while 1:
pass