본문 바로가기
작곡 작업 과정

1. AI + Deep house 작업 과정

by Majestyblue 2023. 12. 30.

요새 AI가 음악도 만들어준다는데 내가 원하는 것은 작곡 중 막히는 곳에서 아이디어를 얻고 싶었다. 

수업 준비, AI 공부 하다가 막힐 때 음악작업으로 환기를 시키곤 하는데 이번 포스트는 이러한 음악 작업의 기록으로 봐주시면 좋을 것 같다.

 

1. 음악 선정 

딥 하우스 음악을 좋아하고 즐겨듣기 때문에 장르를 딥 하우스로 정했다.

인사이트를 얻기 위해 메타(구 페이스북)에서 개발한 musicgen을 이용해 보기로 했다.

https://huggingface.co/facebook/musicgen-melody

 

facebook/musicgen-melody · Hugging Face

Inference API has been turned off for this model.

huggingface.co

https://colab.research.google.com/github/camenduru/MusicGen-colab/blob/main/MusicGen_colab.ipynb

 

MusicGen_colab.ipynb

Run, share, and edit Python notebooks

colab.research.google.com

 

여기서 프롬프트를 쳐야 하는데 

What is Deep House Music? 6 Characteristics of Deep House (deepinthemix.com)

 

What is Deep House Music? 6 Characteristics of Deep House

As a sub-genre of EDM (electronic dance music), deep house music is a sub-genre of house music. This soulful and deep sound is perfect for any occasion.

www.deepinthemix.com

위 사이트에서 설명하는 딥 하우스 글을 긁어와서 만들어 달라고 했다.

 

몇 개 만들었는데 이 음악에서 인사이트를 얻었다.

 

이 곡에서 코드를 갖고와 음악을 만들어 보기로 했다.

 

2. 음악 스케치

DAW는 Studio one 4 프로페셔널을 사용한다. (벌써 6까지 나오다니...)

https://shop.presonus.com/Studio-One-6-Professional

 

Studio One 6 Professional | PreSonus Shop

Everything you need to record, produce, mix, master, and perform for <strike>$399</strike> $279 USD.

shop.presonus.com

 

코드 트랙이라는 좋은 점이 있는데 음악을 DAW에 올리고 코드를 분석할 수 있다.

첨부한 음악의 코드를 Scaler2 라는 프로그램으로 올려 코드 진행을 만들었다.

 

https://www.pluginboutique.com/product/3-Studio-Tools/93-Music-Theory-Tools/6439-Scaler-2

 

Scaler 2

Empower the Composer Within Scaler 2 is an inspirational and powerful music theory workstation that gives you access to a world of new ideas, expressions and melodies. With powerful detection of MIDI and audio, Scaler 2 can determine what key and scale you

www.pluginboutique.com

 

Emajor 스케일로

Amaj7 → Emaj7 G#min7 Emaj7 을 기본 진행으로 두고 (V I   IV I) 코드 보이싱으로 재즈 느낌을 팍팍 주었다. 하우스 음악 자체가 재즈 화성의 느낌이 강하다 보니 기본 7코드에 코드 보이싱이 잘 먹힌다.

 

그리고 음악의 절정에서 Amaj7 C#min7 G#min7 F#min7/B7 으로 하여 상승하는 느낌을 들게 계획하였다.

 

 

3. 환경 세팅

본인은 피아노를 잘 칠줄 모르고 일렉 기타를 오랫동안(?) 연주했다. 그래도 마스터키보드 없으면 작곡이 힘들다. 원래 Arturia mini lab mkII를 썻었는데 험하게 굴려서 그런지 죽었다 (ㅜㅜ) 사실 키감도 그닥이여서 어떻게 할까 했는데 잘 됬다. 그래서 조금 커서 잘 쓰지 않았지만 이왕 이런게 된거 메인으로 하기로 하여 창고에서 꺼낸게 바로 Akai mpk225이다.

https://www.akaipro.com/mpk225

 

MPK225

 

www.akaipro.com

와이프하고 데이트하던 시절 낙원상가에 놀러가서 샀던 건데 부피가 커서 잘 안쓰다가 앞으로 메인으로 쓰기로 작정했다.

 

본인은 원래 작곡을 기타로 했다. 나의 메인 기타는 Gibson Les Paul Studio Faded Satin Ebony이다. 

https://akgiscanner.com/detail/1196563

 

깁슨 레스폴 스튜디오 | 악기스캐너

깁슨 레스폴 스튜디오 | 악기스캐너

akgiscanner.com

 

그런데 얘로는 midi 입력이 안된다. 그래서 Jam Origin의 midi guitar 2를 사용한다. 

얘를 오인페에 입력하고 DAW로 신호를 주면 미디 신호로 변환해 준다! 

오인페에 입력하지 않으면 레이턴시때문에 반응이 늦어서 작곡이 매우 힘들어진다;;;

https://www.jamorigin.com/

 

Jam Origin – Audio to MIDI

Follow these steps: 1. Download your license file from the order confirmation email. (Note, the link is not a webpage – depending on email client it might open a blank page. But there is a file there. With some email clients you should right click the li

www.jamorigin.com

 

오디오인터페이스는 Novation의 Audio hub 2x4를 쓴다. (사실 런치패드, 믹서, 에이블톤 라이브 10 suite도 있는데 언제 공부하고 사용하냐... 스튜디오 원이 압도적으로 편한걸 ㅜ)

https://novationmusic.com/products/audiohub-2x4

 

Audiohub 2x4

Features three USB ports, two RCA line inputs, four RCAs outputs, two balanced speaker outputs and a headphone out.

novationmusic.com

 

모니터 헤드폰은 Tarstar의 HD 2000을 쓴다. 근데 너무 낡아서 바꿀 예정이다.

https://worldsound.co.kr/product/takstar-hd2000-%ED%83%81%EC%8A%A4%ED%83%80-%EB%AA%A8%EB%8B%88%ED%84%B0%EB%A7%81%ED%97%A4%EB%93%9C%ED%8F%B0/1809/

 

TAKSTAR HD2000 탁스타 모니터링헤드폰

밀폐형 32Ω 6.3mm 젠더 포함 모니터링 헤드폰

worldsound.co.kr

 

메인으로 사용하는 가상악기는 첫 번째로 Arturia V collection 7이다. 그런데 벌써 10(X)가 나왔다. 업데이트 해야 하는데 아직 7도 제대로 못 쓰고 있어서 묵혀두기로 했다 ㅋㅋ

https://www.arturia.com/products/software-instruments/v-collection/overview

 

Arturia - V-Collection - V Collection X

Introductory offer Dive-into the epic sonic repertoire of V Collection X now, with a special intro offer for loyal users. Accessible until January 7th...

www.arturia.com

 

두 번째로 serum을 사용한다. 하우스 음악을 만들 때 주력으로 쓴다.

https://xferrecords.com/products/serum/

 

 

마지막으로 komplete ultimate 11을 사용한다. 이젠 14가 나왔는데 마찬가지로 11도 제대로 사용 못하고 있어서 업데이트를 미루고 있다. 

https://www.native-instruments.com/en/products/komplete/bundles/komplete-14-ultimate/

 

Komplete 14 Ultimate Premium production suite

PLATFORMS FOR SAMPLING AND SYNTHESIS Create just about any instrument you can imagine, with two included builder platforms. KONTAKT 7 powers advanced sampling and instruments from NI, as well as hundreds of leading manufacturers, while REAKTOR 6 handles th

www.native-instruments.com

 

샘플도 사용하는데 본인은 3군데에서 구매하여 사용하고 있다.

 

cymatics는 힙합 장르 샘플이 많은데 lo fi 장르에 관심을 갖게 되어 알게 됬고 lo fi 힙합이 재즈한 느낌이 많아 관련 샘플을 많이 사용하고 있다.

https://cymatics.fm/

 

Cymatics.fm - The #1 Site For Serum Presets, Samplepacks & More!

The #1 site for Serum presets, Samplepacks, & more. Find your sound, and take your music production to the next level today!

cymatics.fm

 

loopcloud sound는 하우스 음악 샘플이 많아 여기서도 많이 구매했다.

https://sounds.loopcloud.com/

 

Sample Packs & Music Loops on Subscription | Loopcloud

 

sounds.loopcloud.com

 

마지막으로 ghosthack 이라는 곳인데 많은 샘플을 저렴하게 팔아서 여기도 사용하고 있다.

https://www.ghosthack.de/

 

serum preset은 pluginboutique 및 샘플팩에서 사용하였다. (사실 Scaler 2도 serum preset 탐구하다가 알게 된거)

https://www.pluginboutique.com/product/1-Instruments/31-Synth-Presets/10382-Selected-Deep-House-Vol-1-for-Serum

 

Selected Deep House Vol.1 for Serum

product 10382Selected Deep House Vol.1 for Serumhttps://www.pluginboutique.com/product/1-Instruments/31-Synth-Presets/10382-Selected-Deep-House-Vol-1-for-Serumhttps://www.pluginboutique.com/system/resources/srcs/000/095/567/main/RS-Selected-Deep-House-Patc

www.pluginboutique.com

 

 

4. AI 작업

AI 보컬도 잘 나오는 시대잖아? 음악에 보컬을 입혀보고 싶었다. 이전에는 보컬로이드를 많이 사용했는데 최근 synthesizer v가 대세가 된 것 같다. 프로그램도 저렴하고 해서 낼름 하나 구매했었다.

https://dreamtonics.com/synthesizerv/

 

Synthesizer V | Dreamtonics株式会社

A new dimension of music production Life-like and responsive vocals at your fingertip Warmth and tonality are hallmarks of the human singing voice. Behind the scenes, Synthesize V leverages a deep neural network-based synthesis engine capable of generating

dreamtonics.com

 

여성 보컬 팩은 좋은 평가를 많이 받았던 Solaria를 사용한다. 

https://www.eclipsedsounds.com/solaria

 

SOLARIA | Eclipsed Sounds

SOLARIA is a realistic virtual mezzo-soprano voice from Eclipsed Sounds provided by a pro singer & powered by Synthesizer V Studio.

www.eclipsedsounds.com

 

synthesizer V는 이거 보고 공부 많이 했다.

https://www.cuonet.com/bbs/board.php?bo_table=lecture&wr_id=12951

 

혹시라도 신디사이저 V SOLARIA를 구매하신 분들을 위한 팁들

 + 정말 중요한걸 빠뜨려서 죄송합니다. 혹시 pro 프로그램과 보이스뱅크 전부를 구매하신 분들의 특권이 하나 있는데, 바로 보컬의 랜더링을 고음질로 바꿀 수 있습니다.{이미지:8}  일단 오른

www.cuonet.com

 

멜로디 작곡에 한계가 오면 Melody Sauce 2의 도움을 받았다. 다른 멜로디 생성기보다 훨씬 낫다. (사실 다른 멜로디 생성기는 생성기라기보단 시퀸싱에 가깝다. 몇개 돈만 날림 흑흑...) 보컬라인에 적극적으로 활용했다.

https://www.pluginboutique.com/product/3-Studio-Tools/93-Music-Theory-Tools/8877-Melody-Sauce-2

 

Melody Sauce 2

product 8877Melody Sauce 2https://www.pluginboutique.com/product/3-Studio-Tools/93-Music-Theory-Tools/8877-Melody-Sauce-2https://www.pluginboutique.com/system/resources/srcs/000/106/323/main/Melody-Sauce-2.jpg?1698321492InStock22.75GBPEVAbeatEVAbeat Melody

www.pluginboutique.com

 

이거 보고 참고 많이 했다.

간단히 만드는 AI 멜로디 EvaBeat - Melody Sauce 2 (youtube.com)

(114) Scaler 2 + Melody Sauce 2 = NEXT LEVEL! - YouTube

 

 

음악을 작곡했으면 믹싱과 마스터링을 해야지? izotope의 Neutron과 Ozone을 사용했다.

https://vintageking.com/izotope-music-production-suite-3

 

iZotope Music Production Suite 3 - Electronic Delivery

Over thirty industry-standard plug-ins interacting across your session providing time-saving assistive features, innovative new workflows, and cutting-edge visual analysis tools

vintageking.com

AI 믹싱과 마스터링 기능을 이용하여 사용했다. 

 

믹싱 과정은 아래를 참고했다.

iZotope Neutron 3 (cuonet.com)

 

iZotope Neutron 3

 iZotope에서 첨단 머신러닝을 도입하여 트랙 분석을 통해 믹싱을 자동화하는 플러그인 Newtron 3를 발매하고 6월 7일부터 7월 1일까지 출시 기념 프로모션을 진행한다고 합니다. Neutron 3는 성능의

www.cuonet.com

 

 

5. AI 작사 작업

solaria가 영어로 밖에 못하고, 하우스 음악은 영어로 불러야 제맛이다.

그래서 영어로 작사해야 하는데 이게 가장 어려웠다. 어떻게 할까 고민하다가 나름 방법을 찾아봤다.

먼저 멜로디를 만들고 -> midi 파일을 abc로 만든 후 -> abc 를 GPT에 물어봐서 작사해 달라고 하자! 

 

abc 표기법은 글로 음악을 표현한 것인데 여기를 참고해 보세요.

https://ko.wikipedia.org/wiki/ABC_%EA%B8%B0%EB%B3%B4%EB%B2%95

 

ABC 기보법 - 위키백과, 우리 모두의 백과사전

위키백과, 우리 모두의 백과사전. ABC 기보법은 기보법의 축약된 형태이다. ABC 표기법(ABC notation,ABC 기보법)은 음악 표기법의 일종으로 중요해진 형식이다. 기본형에서는 A부터 G까지의 문자를 사

ko.wikipedia.org

 

midi 파일을 abc로 만드는 방법은 2가지가 있었다.

첫 번째로 사이트를 이용하는 것이다.

https://melobytes.com/en/app/midi2abc

 

Convert MIDI to abc [Melobytes.com]

Convert MIDI to abc

melobytes.com

회원가입하고 사용하면 되는데 문제는 하루 제한량이 있었다. 변경도 잘 되고 좋았는데 아쉬웠다.

 

그래서 아쉬운대로 두번째 방법 Maestro라는 프로그램을 이용하기로 하였다. 원래 게임해서 사용하려고 했던 것인데 이렇게 쓰이다니 참 좋았다.

https://github.com/digero/maestro/releases

 

Releases · digero/maestro

Maestro and ABC Player for The Lord of the Rings Online - digero/maestro

github.com

 

abc로 잘 변경됬는지 확인하려면 abc를 메모장으로 열고 아래 사이트에 복사 붙여넣기 하면 된다.

https://abc.rectanglered.com/

 

ABC Player and Editor - Rectangle Red, Stony Stratford, Milton Keynes

What Is This? This is an online music player, playing tunes in Chris Walshaw's ABC format. It is used with traditional music - see The ABC Notation Page for details and resources where you can find tunes. - Copy/paste or type your ABC music into the 'ABC E

abc.rectanglered.com

 

(참고로 maestro 프로그램으로 변경한건 잘 안된다. melobytes 에서 변화하건 잘 된다. 참고하세요.)

 

이렇게 변경했으면 GPT에 작사해달라고 하면 된다. GPT-4를 현재 무료로 사용할 수 있는 뤼튼(wrtn.ai)를 이용하기로 했다. 

https://wrtn.ai/

 

wrtn

모두를 위한 AI 포털 뤼튼. AI 채팅부터 이미지 생성, 나만의 AI 제작까지, 언제 어디서나 생성형 AI와 함께하세요.

wrtn.ai

 

프롬프트는 다음과 같다.

아래 입력하는 ABC 악보의 음의 길이를 참고하여 딥 하우스 장르에 어울리는 가사를 영어로 작사해줘, 음표 갯수와 발음 갯수가 정확하게 일치해야 하며 발음이 쉬워야해

X: 1 T: vocal(bridgel) M: 4/4 Q: 120 K: C maj L: 1/8

b3/2 a3/2 ^c3/2 a3/2 ^g/ ^f3/2 | ^g3/2 ^f3/2 B3/2 f3/2 e/ ^d z/ | a3/2 ^g3/2 ^c3/2 g3/2 ^f/ e3/2 | a3/2 ^g3/2 ^c3/2 g3/2 ^f/ e z/ | ^c/ a e/ ^f5/2 a b a/ f | ^d/ ^f ^c/ d2 z/ f ^g f/ d | ^c e c/ ^d/ e3/2 z/ ^g/ a/ g/ a/ g- | ^g g/ a/ g/ a/ g5/2 z5/2 |]

 

그러면 적당하게 만들어 준다.

네, 알겠습니다. 제공해주신 ABC 악보의 음의 길이에 따라 딥 하우스 장르에 어울리는 영어 가사를 작사해보겠습니다. 발음이 쉬운 단어들을 사용하였습니다.

Feel the vibe, feel it right, take the flight
In the night, with the light, so bright
Feel the vibe, feel it right, take the flight
In the night, with the light, just right

In your eyes, I see light, so bright
In your smile, I find might, so right
Look around, feel the sound, so bound
In the night, with the light, we're found

이 가사는 음표 갯수와 발음 갯수가 정확하게 일치하도록 작사되었습니다. 가사에 대한 수정이나 추가 요청이 있으시다면 알려주세요.

 

얘를 synthesizer 가사에 복사 -> 붙여넣기 하면 완성!

 

 

6. 최종본

 

솔직히 많이 아쉽다. 보컬 라인을 너무 빡빡하게 했나...ㅜㅜ

다음엔 더 다듬고 AI 툴을 넣어서 해 봐야것다!

 

가사

Sweet you, look at me Feel the love, deep with set free Like the stars in the soft night You and I, our hearts take flight As the blooms rise, in the warm day We start fresh, a new array When dreams come true

 

Feel the beat, in your heart, in your heart Feel the beat, let it start, let it start Feel the beat, in your heart, in your heart In the night, let it spark, let it spark See the stars, up so high, up so high In the dark, they're our guide, they're our guide See the stars, up so high, up so high Feel the love, it's our ride, it's our ride Feel the beat, in your heart, in your heart Feel the beat, let it start, let it start Feel the beat, in your heart, in your heart In the night, let it spark, let it spark See the stars, up so high, up so high In

 

Feel the beat, in your heart, in your heart Feel the beat, let it start, let it start Feel the beat, in your heart, in your heart In the night, let it spark, let it spark See the stars, up so high, up so high In the dark, they're our guide, they're our guide See the stars, up high

 

In the night, feel the vibe, feel the vibe With the light, we shine, we shine In the sight, of the stars, so bright With the night, we take flight, take flight Feel the beat, it's so sweet, it's so sweet With the heat, of the night, (x2)

 

Feel the vibe, feel it right, take the flight In the night, with the light, so bright Feel the vibe, feel it right, take the flight In the night, with the light, just right In your eyes, I see light, so bright In your smile, I find might, so right Look around, feel the sound,