Questions tagged [piano]

The piano (an abbreviation of pianoforte) is a musical instrument played using a keyboard.

Description

The piano (an abbreviation of pianoforte) is a musical instrument played using a keyboard. It is widely used in classical and jazz music for solo performances, ensemble use, chamber music, accompaniment, and for composing and rehearsal. Although the piano is not portable and often expensive, its versatility and ubiquity have made it one of the world's most familiar musical instruments.

Role

The piano is a crucial instrument in Western classical music, jazz, film, television, and most other complex western musical genres. A large number of composers are proficient pianists—and because the piano keyboard offers an easy means of complex melodic and harmonic interplay—the piano is often used as a tool for composition.

piano image http://upload.wikimedia.org/wikipedia/commons/thumb/c/c8/Grand_piano_and_upright_piano.jpg/800px-Grand_piano_and_upright_piano.jpg

Read more (Source)

Wikipedia Page

98 questions
0
votes
0 answers

How to emulate a keyboard and run several commands at the same time while keeping the program lightweigth?

As a hobby lately I have been doing a Piano (Midi) to keyboard software, but I have encountered a problem, to be able to be listening and executing several keys at the same time I have decided to use if and else if, but I understand that the program…
0
votes
0 answers

How to make two servos work one after another? And stop shaking?

For my project, I am trying to make a page-turner that's controlled by two servos --- one to flip (with a horn) and one to lift (with a wheel). My goal here is when I press the RIGHT button, my wheel should roll a page clockwise FIRST then my horn…
CEC_29
  • 3
  • 1
  • 3
0
votes
1 answer

How to make JButton react to keypressed method?

I'm using JFrame Form in Netbeans to make a simple Piano game and i'd like to be able to control JButtons using computer keyboard keys. When I want to use ActionPerformed method and keypressed in Design options it only let me to control the button…
mareckiee
  • 1
  • 1
0
votes
1 answer

I can't restart my audio file

I am trying to make a piano on my website and for some reason, whenever I click on a note twice, the second time always seems to continue on from the first time (assuming that I don't hold it for the full length of the audio file). How do I make it…
0
votes
0 answers

Trouble with unity game

I am making a 2D piano player game. I am mostly done, but I am new to Unity and programming in C#, and I am not sure how to do the next part. What do I do to make it so that when I press the record button, it records the notes and then plays it back…
deep
  • 11
  • 4
0
votes
1 answer

Computer keyboard into piano keyboard with AutoHotkey

I want to be able to use my computer keyboard as a piano keyboard, however the default version of AutoHotkey only supports one "voice" at a time. I tried running an instance for each note, but that doesn't fix it if I press the same note repeatedly.…
0
votes
1 answer

Continue playing a sound when pressed down in android studio

I have a sound with 4 duration. I want to play continuously this sound by pressing down without stopping it, like piano keys when you pressing down, it plays a sound without looping or stopping. c.setOnTouchListener(new View.OnTouchListener() { …
0
votes
0 answers

Outputting Images on Form

I am creating a c# piano which when clicking on a music key, an image of the music note is outputted on the form, however no image is being outputted. I am sure that the image path for the bitmap images is correct so I am not sure whether I have…
0
votes
1 answer

iphone piano app doesnt play notes as expected

Im making a piano test app, all the keyboard is sounding now playing notes that I've recorded using garage band, but I have some problems: -the notes are 5 seconds long (minimum time of garage band), so a note cannot be repeated, I have to wait…
manuelBetancurt
  • 15,428
  • 33
  • 118
  • 216
0
votes
0 answers

Play more sounds at the same time c#

I'm creating a virtual piano keyboard using c#, but I have a big problem with the sounds. For each key I press on the pc's keyboard, this is the code: private void Form1_KeyDown(object sender, KeyPressEventArgs e) { [...] // Other code …
Poppo
  • 21
  • 5
0
votes
0 answers

Qt- How to sense multiple Pushbutton pressed in the same time?

I am making a virtual piano in QT with a touchscreen-sensable board. I made virtual-piano-keys with Qpushbutton, so I have to sense a couple of QPushbuttons pressed in the same time. How can I do this? or Is there a better idea to make a virtual…
김효진
  • 1
  • 1
0
votes
1 answer

Ipad piano-like app help!

I am writing an iPad piano-like app. I firstly created the keys by UIButton, everything worked fine but when I want to slide from one key to another I found that it's a drag-out action (of the first button) rather than touch down action (of the…
0
votes
0 answers

Using the output of an FFT on a wav file with a single note, find out the frequency of the note(to determine it)

I have a task to recognize a note that has been played by an instrument. From what i've read on the internet a good aproach to this problem is the FFT algorithm. It takes a wave input and splits it in multiple simple waves that when you sum them up…
Lucian Tarna
  • 1,806
  • 4
  • 25
  • 48
0
votes
1 answer

Problems about creating an iPhone Piano UI

I'm trying to create an iPhone piano app. I have created 14 different UIImageViews in Interface Builder, to represent the keys. With touchesBegan, touchesMoved, touchesEnded and touchesCancelled I then tried to play the audio files. So once the…
Jojoce
  • 1
0
votes
3 answers

Distinguish between key press and release of MIDI piano input

I am about to make a little program for a school project that is supposed to recognize the chords that are being played via a MIDI piano input (that's just one part of it). At the moment I got so far that for each press and each release of a key on…