Giter Club home page Giter Club logo

little-little-beethoven's Introduction

小小貝多芬 Little-Little-Beethoven

##發想緣起 小小貝多芬是發想於南投埔里的一間小房間裡,由小鄭、小王、小黃共同發想實作。
2015年的平安夜,小鄭、小王、小黃漫步於淡水時突然聽見一聲嘆氣,轉頭一看,原來是一個阿罵。
阿罵嘆氣著說,孫子想要有一台鋼琴可是年末將近,阿罵沒有十八趴領,沒有足夠的金錢買鋼琴。
小鄭、小王、小黃靈機一動想到了一個解決方法可以用低成本的材料,讓有音樂夢想的小朋友,可以學習音樂。
小小貝多芬這個想法就誕生了!
##所需材料
1. Raspberry pi *1 NT1100 2. Keyboard *1 NT150 3. Speaker *1 NT299 4. Microphone *1 NT100 ##使用軟體
- Java 開發 - Jline - TargetDataLine - sun.audio - PulseAudio

##實作過程
###功能: 1. 彈奏鋼琴功能 2. 錄音功能 3. 播放錄音功能 ###實作過程: - 設定raspberry pi環境 - 設定外接裝置(鍵盤、喇叭、麥克風) - 功能細節調整 ###實作遇到的困難: - 按鍵的延遲(要把音訊檔存進ram以解決) - 外接裝置的code ##實際產出: - 按按鍵會有do,re,mi,fa,so的聲音 - 可以錄音,邊彈邊唱,播放錄音

##教學文件 ###編譯程式碼:

  javac -classpath .:jline-1.0.jar Close.java

###執行程式碼:

  java -classpath .:jline-1.0.jar Close

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.