GithubHelp home page GithubHelp logo

kookmin-sw / 2018-cap1-14 Goto Github PK

View Code? Open in Web Editor NEW
9.0 9.0 2.0 318.61 MB

음원으로부터 자동으로 악보를 생성하는 프로젝트 입니다.

Jupyter Notebook 99.71% Python 0.12% TypeScript 0.12% JavaScript 0.01% HTML 0.03% CSS 0.01%

2018-cap1-14's People

Contributors

acoustically avatar eddy1002 avatar guswo9496 avatar gychoics avatar shbyun411 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

2018-cap1-14's Issues

로고 제작

프로젝트 명 (music seat) 을 이용한 로고 제작

중간에 생기는 정크값 완화

def convert(self):
notes = []
for i in range(0, self.block_length):
part = self.wave[self.block_size * i: self.block_size * (i+1)]
pitchs = self.__fourier_transform(part)
note = []
for pitch in pitchs:
note.append(self.__decide_note(pitch))
notes.append(note)

    for i in range(1, len(notes)):
        if (notes[i]["pitch"] == "_" and notes[i]["pitch"] != notes[i-1]["pitch"] and notes[i]["pitch"] != notes[i+1]["pitch"]):
            notes[i]["pitch"] = notes[i-1]["pitch"]
            notes[i]["octave"] = notes[i-1]["octave"]
    return notes

서버 제작

기본적인 서버 프레임 워크는 flask
f1. 클라이언트 에서 youtube url request 받기
f2. url 에서 음성 추출
f3. 음성에서 음정 추출
f4. 음정으로 musicXML 작성
f5. 생성된 musicXML 클라이언트에 response

음원을 분할하는 기준 선정

참고 : [https://m.blog.naver.com/PostView.nhn?blogId=mbroom&logNo=110143580681&proxyReferer=https%3A%2F%2Fwww.google.co.kr%2F]

낮은 음은 20Hz 그러므로 1/20 s보다 크게 나누어야 함.

사람이 1초에 악기를 10번 이상 연주하기 힘든 것으로 가정.

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.