Comments (9)
Hmm that is weird, did you do pip install -r requirements.txt
?
Also would help if you could include what Python version you are running.
from bad-apple.
i did and it said that i had already installed all dependencies
also i tried both using python and python3
from bad-apple.
Could you provide the specific version of python? If you are running Python 3.9.X, you might want to get 3.8.X, as cv2 does not currently support 3.9.X.
Also if you have both python and python3, install the requirements for Python 3 by using
pip3 install -r requirements.txt
instead.
from bad-apple.
ok, i'll try
from bad-apple.
yooo it worked, thanks man
from bad-apple.
actually i'm having another problem now
from bad-apple.
Your option: 1
Original mp3 (0), Midi (1)
Enter 0 or 1: 1
Beginning ASCII generation...
Progress: [####################### ] 99% Frame 6571 of 6572 frames
ASCII generation completed! ASCII generation time: 33.6171236038208Traceback (most recent call last):
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 204, in
main()
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 190, in main
play_audio(path_to_file)
File "/home/kali/bad-apple/touhou_bad_apple_v4.0.py", line 24, in play_audio
pygame.mixer.music.load(path)
pygame.error: Couldn't open /etc/timidity/freepats.cfg
do i have to edit something in the file?
from bad-apple.
it looks like it can't recognize the audio format for some reason
from bad-apple.
Hi there, really sorry for replying back so late. As option 1 plays back the midi file, it requires the use of a midi player. Judging by your directory, your host system seems to be Linux-based, which I presume does not have a built-in midi player. You might want to search up on that.
Cheers
from bad-apple.
Related Issues (9)
- V4.5 works flawless on fedora but:
- Licence/Copyright?
- block=False is not supported in Linux HOT 5
- Possible optimizations in ASCII generation, video quality, and video playback HOT 1
- Not really an issue, just some tweaks, from a new-ish scripter HOT 9
- linux HOT 1
- ModuleNotFOundError: No module named 'PIL' HOT 1
- [touhou_bad_apple_v4.5.py] pygame.error: Unrecognized audio format HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bad-apple.