Hi,
I'm trying to make a kind of Melodica (MIDI and Synth Concertina Keyboard)
putting both concertina Hand on a face plate (cherry mx switches with a custom PCB and 3D printing)
I have an extra Switch to control air in/out (maybe later with a pressure sensor)
This version is using mozzi but i'm working hard to figure out what is not working.
I have both functions for midi and mozzi working pretty well.
I use 2 envelopes (one for drones and one for main theme)
I can setup with the screen two oscillators by envelopes in order to tune output sound.
| int updateAudio(){ |
| long note = (long)envelope.next() * (oscil1.next()+oscil2.next()); |
| long noteBourdon = (long)envelopeBourdon.next() * (bourdon1.next()+bourdon2.next()); |
| return (note + noteBourdon) >>9; |
| } |
I don't really understand this byte shift with >> 9 ?
I put 9 because that work but.
All this part is working (excepted some noise when i use the encoder and the screen)
I'm know looking for a way to make that thing polyphonic
Is it 8 + (Number of Note you play) ?
If i want to play as many note i want, do i need to put
>> 8 + NumberOfKey ?
I want to know if i can work like that or if i need a fifo with maybe four or five notes at the same time
I work on Arduino Mega.
I saw other libraries who work with polyphonic keyboards with teensy.
I want to make more keyboards like that for other musicians and for myself but i want to add the teensy or mega on a pcb plate so i need to figure out wich one is better at doing mooggy things.
I have made the output circuitry and that's working very well with the basic two voices.
my git project (not well documented it's a work alone in progress but i try to do my best on it)
It's a real pleasure to use MOZZI and thanks a lot for the work on it.
Sorry for my english and i hope this question is clear enough and respect the community standards
Pierre Banwarth