Skip to content

๐ŸŽ™๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ : Soundee Recorder ๐ŸŽ™

Notifications You must be signed in to change notification settings

CapstoneDesign2020/Soundee-Recorder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

12 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

๐ŸŽ™ Soundee Recorder ๐ŸŽ™

์†Œ๋ฆฌ๋ฅผ ๋ณด๋‹ค Soundee

์ฒญ๊ฐ ์žฅ์• ์ธ์„ ์œ„ํ•œ ๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜

๐Ÿ’ป 2020 IT Media Engineering CapstoneDesign Project

๐Ÿ‘‹ Introduction

SoundeeRecorder Soundee ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์˜ ๋‹ค์–‘ํ•œ ์‹ค๋‚ด ์Œํ–ฅ ์ˆ˜์ง‘์„ ์œ„ํ•ด ๋ฌด์ง€ํ–ฅ์„ฑ ๋งˆ์ดํฌ๋ฅผ ์—ฐ๊ฒฐํ•œ PC์—์„œ ๋™์ž‘ํ•˜๋Š” ๋…น์Œ ํ”„๋กœ๊ทธ๋žจ์ด๋‹ค.

๊ธฐํš์˜๋„

์‚ฌ๋ฌผ ์ธํ„ฐ๋„ท์ด ํ™œ์„ฑํ™”๋˜์–ด ์ƒํ™œ์— ๋งŽ์€ ๋ถ€๋ถ„๋“ค์ด ํŽธ๋ฆฌํ•ด์กŒ์ง€๋งŒ, ์ฒญ๊ฐ์žฅ์• ์ธ์€ ์ด ํŽธ๋ฆฌํ•จ์— ์†Œ์™ธ๋œ ๊ฒƒ์ด ํ˜„์‹ค์ด๋‹ค. ์†Œ๋ฆฌ๋ฅผ ๋“ฃ์ง€ ๋ชปํ•˜๋Š” ๋†์ธ๋“ค์€ ๋ƒ‰์žฅ๊ณ ๋ฅผ ์˜ค๋ž˜ ์—ด์–ด๋†จ์„ ์‹œ ๋ฐœ์ƒํ•˜๋Š” ๊ฒฝ๋ณด์Œ, ์žŠ์–ด๋ฒ„๋ฆฌ๊ณ  ๋„์ง€ ๋ชปํ•œ ๋“œ๋ผ์ด๊ธฐ, ๋ฌผ์†Œ๋ฆฌ ๋“ฑ์˜ ์†Œ๋ฆฌ๋ฅผ ์ธ์ง€ํ•˜์ง€ ๋ชปํ•œ๋‹ค. ๋†์ธ์—๊ฒŒ๋„ ์ด๋ฅผ ๊ฐ์ง€ํ•˜๊ณ  ์ธ์‹ํ•  ์ˆ˜ ์žˆ๋Š” ์‹œ์Šคํ…œ์ด ํ•„์š”ํ•˜๋‹ค.

์ด๋ฅผ ํ•ด๊ฒฐํ•˜๊ธฐ ์œ„ํ•ด ๋ณธ ํ”„๋กœ์ ํŠธ๋Š” ๊ฐ€์ •์—์„œ ๋ฐœ์ƒํ•˜๋Š” ์†Œ๋ฆฌ๋ฅผ ์ธ์ง€ํ•˜์—ฌ ๋ถ„๋ฅ˜ํ•˜์—ฌ ํ˜„์žฌ ๋ฐœ์ƒํ•œ ์†Œ๋ฆฌ์— ๋Œ€ํ•œ ์ •๋ณด๋ฅผ ์•Œ๋ ค์ฃผ๋ฉฐ ์†Œ๋ฆฌ ์ •๋ณด์— ๋Œ€ํ•œ ํ†ต๊ณ„ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•˜๋Š” ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๊ธฐํšํ•˜์˜€๋‹ค. ์ด๋ฅผ ํ†ตํ•ด ๋†์ธ์ด ์ธ์ง€ํ•˜์ง€ ๋ชปํ•˜๋Š” ์œ„ํ—˜๊ณผ ๋‚ญ๋น„๋ฅผ ๋ฏธ๋ฆฌ ์˜ˆ๋ฐฉํ•˜์—ฌ, ๋†์ธ์—๊ฒŒ ์ข€ ๋” ์•ˆ์ „ํ•˜๊ณ  ํŽธ๋ฆฌํ•œ ์ƒํ™œ์„ ์ œ๊ณตํ•˜๊ณ ์ž ํ•œ๋‹ค.

์ž‘ํ’ˆ์†Œ๊ฐœ

๋ฌด์ง€ํ–ฅ์„ฑ ๋งˆ์ดํฌ๋ฅผ ํ†ตํ•ด ์ผ์ƒ ์†Œ๋ฆฌ๋ฅผ ๊ฐ์ง€ํ•œ๋‹ค. PC์— ์—ฐ๊ฒฐํ•œ ๋งˆ์ดํฌ๋กœ ์ˆ˜์ง‘ํ•œ ์Œํ–ฅ ๋ฐ์ดํ„ฐ๋ฅผ ์„œ๋ฒ„์— ์†ก์‹ ํ•˜๊ณ , ์„œ๋ฒ„๋Š” ์ˆ˜์‹ ํ•œ ์†Œ๋ฆฌ๋ฅผ ๋”ฅ๋Ÿฌ๋‹์„ ๊ธฐ๋ฐ˜์œผ๋กœ ํ•œ ์Œํ–ฅ ์˜ˆ์ธก ์•Œ๊ณ ๋ฆฌ์ฆ˜์„ ํ†ตํ•ด ์˜ˆ์ธก ๊ฒฐ๊ณผ๋ฅผ ์•ˆ๋“œ๋กœ์ด๋“œ ์š”์ฒญ์— ๋”ฐ๋ผ ๊ธฐ๊ธฐ์— ์†ก์‹ ํ•œ๋‹ค. ์•ˆ๋“œ๋กœ์ด๋“œ ๊ธฐ๊ธฐ๋Š” ์ˆ˜์‹ ํ•œ ๋ฐ์ดํ„ฐ๋ฅผ ํ‘ธ์‹œ์•Œ๋ฆผ๊ณผ ํ†ต๊ณ„ ๋“ฑ ๋‹ค์–‘ํ•œ ๋ฐฉ๋ฒ•์œผ๋กœ ์ œ๊ณตํ•˜์—ฌ ์ฒญ๊ฐ์žฅ์• ์ธ์„ ์œ„ํ•œ ์„œ๋น„์Šค๋ฅผ ์ œ๊ณตํ•œ๋‹ค.

๋ณธ ํ”„๋กœ์ ํŠธ๋กœ ์‚ฌํšŒ๊ฐ€ย ์ƒ๊ฐํ•ด๋ณด์ง€ย ๋ชปํ•œย ์ฒญ๊ฐ์žฅ์• ์ธ์˜ย ์ผ์ƒ์ƒํ™œ์˜ย ๋ถˆํŽธํ•จ์—ย ๋Œ€ํ•œย ๋ฌธ์ œ๋ฅผย ์ œ๊ธฐํ•˜์—ฌย ์ด์—ย ๋Œ€ํ•œย ๊ด€์‹ฌ๊ณผย ํ•ด๊ฒฐ๋ฐฉ์•ˆ์˜ย ๋งˆ๋ จ์„ย ๋„๋ชจํ•œ๋‹ค. ๋”๋ถˆ์–ดย ์•ž์œผ๋กœ์˜ย 4์ฐจย ์‚ฐ์—…ย ๊ธฐ์ˆ ์˜ย ๋ฐœ์ „์ดย ๋น„์žฅ์• ์ธ์˜ย ํŽธ๋ฆฌํ•จ๋ฟ๋งŒ์ดย ์•„๋‹Œ, ์žฅ์• ์ธ์˜ย ์ ‘๊ทผ์„ฑ์„ย ๊ณ ๋ คํ•ด์•ผํ•œ๋‹ค๋Š”ย ์‚ฌํšŒ์ ย ์ธ์‹์„ย ํ™•์‚ฐ์‹œํ‚ค๋Š”๋ฐ ๋„์›€์ด ๋  ๊ฒƒ์ด๋ผ ์˜ˆ์ƒํ•œ๋‹ค.

๐Ÿงฑ Architecture

โœ”๏ธ Recorder - Server

soundee แ„‘แ…ณแ„…แ…ฉแ„Œแ…ฆแ†จแ„แ…ณ แ„€แ…ฎแ„Œแ…ฉ แ„Žแ…ฌแ„Œแ…ฉแ†ผ 001

๋…น์Œ๋œ ์˜ค๋””์˜ค ๋ฐ์ดํ„ฐ๋Š” ์ด๋ฏธ์ง€๋กœ ์ „์ฒ˜๋ฆฌ ๋˜์–ด ์‚ฌ์šฉ์ž ์ •๋ณด๋ฅผ ๋‹ด์•„ AWS S3์— ์—…๋กœ๋“œ ๋œ๋‹ค. ์ดํ›„ AWS API Gateway์™€ Lambda๋ฅผ ๊ฑฐ์ณ Sagemaker ์—”๋“œํฌ์ธํŠธ์— ์š”์ฒญ์„ ๋ณด๋‚ธ๋‹ค. Sagemaker๋Š” ์š”์ฒญ์„ ๋ณด๋‚ธ ์ด๋ฏธ์ง€๋ฅผ ์ถ”๋ก ํ•˜์—ฌ ๊ฒฐ๊ณผ๊ฐ’์„ ์‘๋‹ตํ•œ๋‹ค. ๊ทธ ๊ฐ’์€ Recorder๊ฐ€ ๋ฐ›์•„ ์‚ฌ์šฉ์ž ์ •๋ณด, ์‹œ๊ฐ„๊ณผ ํ•จ๊ป˜ ์ฆ‰์‹œ AWS RDS์— ์ €์žฅ๋œ๋‹ค.

โœ”๏ธ Recorder - Server - Android for Real-time Sound Classification

soundee แ„‘แ…ณแ„…แ…ฉแ„Œแ…ฆแ†จแ„แ…ณ แ„€แ…ฎแ„Œแ…ฉ แ„Žแ…ฌแ„Œแ…ฉแ†ผ 002 ๋…น์Œ ํ”„๋กœ๊ทธ๋žจ Soundee Recorder์™€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์„ ๋™์‹œ์— ์‹คํ–‰ ์‹œํ‚ฌ ๋•Œ, ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ๋Š” 5์ดˆ ๋งˆ๋‹ค ์„œ๋ฒ„์— ์š”์ฒญ์„ ๋ณด๋‚ธ๋‹ค. ์„œ๋ฒ„๋Š” ์š”์ฒญ๋ฐ›์€ ์‹œ๊ฐ„๋ถ€ํ„ฐ 5์ดˆ ์ „๊นŒ์ง€์˜ ๋ฐ์ดํ„ฐ๋ฅผ ์กฐํšŒํ•˜์—ฌ ๋ฐ์ดํ„ฐ๊ฐ€ ์žˆ๋Š” ๊ฒฝ์šฐ, ํ˜„์žฌ ์†Œ๋ฆฌ๊ฐ€ ์ถ”๋ก ํ•˜๋Š” class์— ๋Œ€ํ•˜์—ฌ ์œ ์˜๋ฏธํ•œ ์†Œ๋ฆฌ์ž„์„ ํŒ๋‹จํ•œ๋‹ค. ๋ฐ์ดํ„ฐ๊ฐ€ ์—†๋Š” ๊ฒฝ์šฐ, ํ˜„์žฌ ์†Œ๋ฆฌ๊ฐ€ ์ถ”๋ก ํ•˜๋Š” class์— ๋Œ€ํ•˜์—ฌ ๋ฌด์˜๋ฏธํ•œ ์†Œ๋ฆฌ์ž„์„ ๋‚˜ํƒ€๋‚ธ๋‹ค. ์ด์— ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜์—์„œ๋Š” ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋‚˜๋Š” ์†Œ๋ฆฌ class๋ฅผ ํŒŒ์•…ํ•  ์ˆ˜ ์žˆ๋‹ค. ํด๋ผ์ด์–ธํŠธ๋Š” ํ•ด๋‹น ์†Œ๋ฆฌ๋ฅผ ๋ฐ›์•„ class ๋ณ„๋กœ ํŒ์—… ์•Œ๋ฆผ์„ ๋„์›Œ ์‚ฌ์šฉ์ž์—๊ฒŒ ์†Œ๋ฆฌ๋ฅผ ์•Œ๋ ค์ค€๋‹ค.

Soundee Recorder์™€ ์–ดํ”Œ๋ฆฌ์ผ€์ด์…˜ ๊ฐ๊ฐ 5์ดˆ ๋‹จ์œ„๋กœ ๋ฐ์ดํ„ฐ ์‚ฝ์ž…๊ณผ ์กฐํšŒ๊ฐ€ ์ด๋ฃจ์–ด์ง€๊ธฐ ๋•Œ๋ฌธ์— ์‹ค์‹œ๊ฐ„์œผ๋กœ ๋ฐœ์ƒํ•˜๋Š” ์†Œ๋ฆฌ ์ •๋ณด๋ฅผ ์–ป์–ด๋‚ผ ์ˆ˜ ์žˆ๋‹ค.

๐Ÿ“š Stack

Python

PyAudio, Lisrosa, pyfiglet, matplotlib

AWS

RDS, S3, EC2, Lambda, API Gateway, Sagemaker Endpoint

About

๐ŸŽ™๋”ฅ๋Ÿฌ๋‹์„ ์ด์šฉํ•œ ์ผ์ƒ์ƒํ™œ ์†Œ๋ฆฌ ๋ถ„๋ฅ˜ ๋ฐ ์•Œ๋ฆผ ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜ : Soundee Recorder ๐ŸŽ™

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages