Go to advanced search

by Student_AJ
Sat May 04, 2019 8:16 pm
Forum: Python
Topic: Play sounds using MIDI Keyboard
Replies: 1
Views: 169

Play sounds using MIDI Keyboard

Hi, My name is AJ, I am a high school student in the USA. I am currently working on a project, and I have come across a problem which is crucial to the success of my program. I am coding in Python, and I am trying to play my MIDI Keyboard (AKAI LPK25) through the Raspberry Pi. I have tried many meth...
by Student_AJ
Thu Apr 18, 2019 11:39 pm
Forum: Python
Topic: turn on bluetooth rp3b+
Replies: 2
Views: 210

turn on bluetooth rp3b+

good morning,

my name is AJ, i'm a high school student new to rpi. I was looking into how to turn on and off the bluetooth on rpi using python, but I was not able to find anything that is applicable to what I am attempting to do.

please help, all help is kindly appreciated!
by Student_AJ
Thu Apr 18, 2019 9:30 pm
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

Re: School Project Help

so i attempted the code, it works, thanks to you all especially @mattmiller. but, i don't know where to go one from here. how is the raspberry pi supposed to unlock my laptop once it says "password accepted".

appreciate all help!
by Student_AJ
Thu Apr 18, 2019 9:15 pm
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

Re: School Project Help

mattmiller wrote:
Thu Apr 18, 2019 9:10 pm
<> means not equal to

I don't program in Python 3 but try replacing with != and see if that works
thanks so much @mattmiller, the code works great and recognizes my midi keyboard.

I appreciate everyone's efforts in helping my group finish our projects!

AJ
by Student_AJ
Thu Apr 18, 2019 9:11 pm
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

Re: School Project Help

I thought midi was a fairly simple low speed serial connection. Could the keyboard be connected through appropriate level converters to the serial UART on the GPIO connector? Not directly. You would need an interface circuit. Fortunately it wouldn't be that complicated to make one. MIDI is based on...
by Student_AJ
Thu Apr 18, 2019 9:08 pm
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

Re: School Project Help

mattmiller wrote:
Thu Apr 18, 2019 8:52 pm
As @gordon77 points out - I used Python 2 - hopefully it's just the print's that need translating
thanks @gordon77, it works. But another error shows up at the operation "<>". I'm having difficulty finding what that means online.
by Student_AJ
Thu Apr 18, 2019 7:57 pm
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

Re: School Project Help

I played with midi a while ago - this thread might give you some pointers to getting started https://www.raspberrypi.org/forums/viewtopic.php?p=1275176 hi mattmiller, the project you did is similar to ours. however, I am running into trouble in code where it states: "print pygame.midi.get_device_in...
by Student_AJ
Thu Apr 04, 2019 12:47 am
Forum: General programming discussion
Topic: School Project Help
Replies: 19
Views: 2288

School Project Help

Hi, I am a high school student and it is the first time I had ever worked with Raspberry Pi. My team and I were planning on using a MIDI Keyboard to unlock a PC, and we have no clue on to where to start. We did some research and figured out using the Raspberry Pi will be a plausible method for accom...

Go to advanced search