Coder Social home page Coder Social logo

azh412 / virtualpianobot Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 3.0 44 KB

A virtual piano player that you can train to play different songs, as well as the built-in songs.

License: MIT License

Python 100.00%
bot piano songs virtual virtual-piano virtual-piano-player

virtualpianobot's Introduction

░█████╗░███████╗██╗░░██╗
██╔══██╗╚════██║██║░░██║
███████║░░███╔═╝███████║
██╔══██║██╔══╝░░██╔══██║
██║░░██║███████╗██║░░██║
╚═╝░░╚═╝╚══════╝╚═╝░░╚═╝

Hey. My name is Azhaan.

I make things. Created @casual-healthcare and Voyage, with big things on their way 👀.

🔨 Some of my skills include Python, Swift, TensorFlow, Django, Java, C#, .NET Core MVC, and more.

🔖 You can find my certifications obtained from various institutions here: https://bit.ly/3DAmiCF

Metrics

virtualpianobot's People

Contributors

azh412 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

virtualpianobot's Issues

NameError

Traceback (most recent call last):
File "/home/unix/Downloads/VirtualPianoBot/sheetanalyze.py", line 5, in
print(colored("sheet name: ", green), end="")
### NameError: name 'green' is not defined

Keyboard requires root

The keyboard library fails as it needs to be root.

Traceback (most recent call last):
File "/tmp/VirtualPianoBot/VirtualPianoBot.py", line 41, in
if keyboard.is_pressed("]"):
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/init.py", line 410, in is_pressed
_listener.start_if_necessary()
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/_generic.py", line 35, in start_if_necessary
self.init()
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/init.py", line 196, in init
_os_keyboard.init()
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/_nixkeyboard.py", line 113, in init
build_device()
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/_nixkeyboard.py", line 109, in build_device
ensure_root()
File "/home/octorocket/.local/lib/python3.10/site-packages/keyboard/_nixcommon.py", line 174, in ensure_root
raise ImportError('You must be root to use this library on linux.')
ImportError: You must be root to use this library on linux.

This is an issue as you can't just run it as root as the root user needs to have the pip packages installed.

Can someone help me with setting it up?

Ok so right off the bat, after I download python, open the launcher, open the terminal, and type "cd downloads" it says " File "", line 1
cd downloads
^
SyntaxError: invalid syntax
"
and if I reopen terminal to go back to using zsh and type "cd downloads" and then "git clone https://github.com/azh412/VirtualPianoBot.git" it says: "xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun" help! (im on Mac btw)

Struggling with setting up the bot.

When I type 'cd downloads' the prompt that appears is:
File "", line 1
cd downloads
^
SyntaxError: invalid syntax

On Windows 11 and using Python 3.8.
(Note that I have no clue what any of this means lmao)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.