Repository navigation
Expand file tree
/
Copy pathnote
More file actions
66 lines (55 loc) · 2.79 KB
/
Copy pathnote
File metadata and controls
66 lines (55 loc) · 2.79 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
----------------Environment Setup & Spefication---------------
Python 3.11.0
Stable Audio API (by Stability AI) - Paid Plan
Hugging Face - Create Token Option :
Inference | Make calls to Inference Providers
| Make calls to your Inference Endpoints
Repositories | Read access to contents of all repos under your personal namespace
| Read access to contents of all public gated repos you can access
--------------------------------------------------------------
------------------------API Info------------------------------
Name Hosted by Free? Notes
1. Stable Audio (Commercial)
by Stability AI on stableaudio.com
❌ Not free beyond short demos Commercial service with paid plans and private API
2. stable-audio-open / stable-audio-open-small (on Hugging Face)
by Stability AI (Open Source release)
✅ Free Open model checkpoint hosted on Hugging Face, under stabilityai/stable-audio-open-small
-> This is not available via REST API
--------------------------------------------------------------
------------------------Execution Steps-----------------------
1. create produce.py file
2. check
✅ STEP 1 — Make sure Python can run this file
python --version
python3 --version
✅ STEP 2 — Install the only dependency
pip install requests
pip3 install requests
✅ STEP 3 — Run the script
python3 test_no_api.py -> creates a wav file with one note beepy sound
python3 melody_test.py -> creates a wav file with multiple note beepy melody
python3 chord_test.py -> creates a wav file with polyphony
python3 chord_envelope.py -> creates a wav file with harmony and envelope
python3 progression.py -> chord progression
python3 bass_chord.py -> bass + chord
python3 bass_chord_groove.py -> groove | bass → (tiny breath) → chord
python3 bass_chord_human.py -> real groove | slightly vary the pause and durations
python3 producer.py
---------------------------------------------------------------
------------------------------Git------------------------------
git init -> Initialize empty Git repository /Users/jinjoolee/Documents/ethos/.git/
git remote add origin https://github.com/redLiquidator/Ethos.git
git remote -v -> Verify
git add . -> Add everything inside ethos
git status -> Verify
git commit -m "Initial Ethos commit: wav creation engine"
git branch -M main
git push -u origin main
**Pull from GitHub and allow merge**
git pull origin main --allow-unrelated-histories --no-rebase -> merge local and remote anyway. no rebase.
git push -u origin main -> push again
**Switch User**
summersoftsky->red liquidator
---------------------------------------------------------------
유료, api url 등의 사항으로 외부 api 작업 중단하고 클라우드 서버에 music gen large 설치로 변경 + runpod 구축