Electronic Ocarina/Flute...Need help getting started.

Hi,
I want to create an electronic flute/ocarina type of instrument using an arduino. I am relatively new with arduino but I am not new to micro-controllers. I have a Bachelor's of Engineering in Electrical Engineering and decent soldering skills (but that wont come in until later) and I've decently familiar with C++ sans anything with a GUI. Right now I am trying to generate a shopping list of stuff I will need in order to prototype.

My biggest hurles are...
Breath pressure input. Is there an analog sensor that is able to measure breathing pressure which would determine the output volume.
-For my first prototype version I will probably go with a more digital approach and use a pressure sensor that would either trigger the sound to be on or off.

Finger input. I've seen multiple ways of going about finger inputs and I am unsure which one to go with. Force sensors, Capacitive touch...Push buttons. Another issue is accidental notes and sub holes which is not an immediate issue (I could sort of cheap and just make it so you can select a musical key)

Sound generation...This is probably my hardest issue. I am insure where to begin with this. Should I get a synth or a signal generator...I have absolutely no idea how I am going to generate a flute-ish sound.

Any insight you guys have would be wonderful.
If there is a post similar to this one I apolgoize. I checked and I didn't find any.

ToggleSwitch:
Breath pressure input. Is there an analog sensor that is able to measure breathing pressure which would determine the output volume.

Dead easy - look for "Arduino Barometric". Plenty of modules on eBay.

ToggleSwitch:
Finger input. I've seen multiple ways of going about finger inputs and I am unsure which one to go with. Force sensors, Capacitive touch...Push buttons.

Yes, plenty of choices. All available. Will be some construction involved. Capacitive touch - is available and you can make the Arduino do it itself, but may lack proprioception - "feel".

ToggleSwitch:
Sound generation...This is probably my hardest issue. I am unsure where to begin with this. Should I get a synth or a signal generator...I have absolutely no idea how I am going to generate a flute-ish sound.

Flute is generally a sinewave with relatively minimal harmonics and a strong tuned noise element. Choices include getting the Arduino to do it (can't say how myself) or using some sort of synth element, or possibly just using a player module.

so I ran into a little snag, pretty minor. I am using momentary pushbuttons for my first prototype. The issue is with the code.
I am trying to figure out a way to have the program detect certain combinations of pin inputs which would determine which 'note' is to be played...and I feel like using a bunch of really long if statements for each of those instances would be inefficient. Does anyone have any suggestions. Should each finger position get its own detection function?

I am trying to figure out a way to have the program detect certain combinations of pin inputs which would determine which 'note' is to be played...and I feel like using a bunch of really long if statements for each of those instances would be inefficient. Does anyone have any suggestions.

Each switch returns basically one bit. Combine the bits into a byte. Then, 0x00 means nothing pressed. 0x01 means the first switch is pressed. 0x02 means the second switch. 0x03 means the first two switches. Etc.

"Should each finger position get its own detection function? "
That is one way to do it. I prefer this:
No. The finger positions make eight bits that are used as the index to the array of notes.
I have an Alto C Ocarina in front of me with seven holes on top and one on the bottom. One way to program the Arduino with your eight switches is to wire the switches to a Digital port pins D11 to D18. Make a constant array of less than 256 elements. Ocarinas do not use every combination, they tend towards linear selection. The array may be like this partial array :

char closed[C,D,0,E,0,0,0,F,0,0,0,0,0,0,0,G,0,0,0,0,0,0,0,0,0,0,0];

The idea is that the address of the array is the switch code. The contents at tha address is the musical note of the Ocarina. The program measures all 8 switches and those bits are the index to the array "closed[]". The finger tips close the Ocarina holes, so the array is called "closed[]".

The array has
C at array location 0
D at array location 1
E at array location 3
F at array location 7
G at array location 15
A at array location 31
B at array location 63
C at array location 127

All other array locations either have 0 or a Note of the Scale of the Ocarina.
The Sketch reads the array value (like C), and uses that music note to make a MIDI code or other sounds.

Mind you, 256 array values may be a trifle tedious to enter. It may be appropriate to combine two methods; put three of the bits representing dominant "holes" together into a value, use a switch statement on this value to select eight subroutines some of which may simply select a note directly while others may make further such determinations.

"256 array values may be a trifle tedious to enter."

The array helps to visualize the organization of the Ocarina holes versus musical notes:

binary and decimal
00000000 all holds closed
00000001 one hole open = 1
00000011 two holes open = 3
01111111 seven holes open = 127 decimal array index

To create the array is easy since the Ocarina has few notes :
step 1 : intialize array to all zero
step 2 : set notes that are known by musician
closed[127] = D;
closed[63] = B;
closed[31] = A;

There are only about 12 notes to fill in the array details for an Ocarina. The other 244 array values are all zeros. The array lets the musician calmly enter a few notes without needing to create many functions and if statements.

AmbiLobe:
There are only about 12 notes to fill in the array details for an Ocarina. The other 244 array values are all zeros. The array lets the musician calmly enter a few notes without needing to create many functions and if statements.

That however, leads to an incorrect analogue of the real instrument which does actually play (all) the other combinations.

This would mean that the instrument would be unreasonably "picky" not only about having fingers rested on inconsequential "ports", but "chopping" unpleasantly on transitions.