Java project to create a piano sequence using the Fibonacci suite.
Piano notes are played using MIDI
- An illustration video
- Pseudo-code of Fibonacci suite, you can foud it here
// input: an integer n
// exit: the term of rank n of the Fibonacci sequence
fibo function (n)
if n = 0 then return 0
else if n = 1 then return 1
else return fibo (n - 1) + fibo (n - 2)
-
Clone the project with the following command:
git clone https://www.github.com/av1m/fibonacci-piano.git
OR You an also see or download the project here -
After that you can import the directory in your favorite IDE.
Once it's done, all that remains is to contemplate the wonderful melody.
- Avi Mimoun
- Ilan Nizard
- Thanks to @wadael for the initiation
License MIT
Copyright (c) 2019 AVI MIMOUN
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.