You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+25Lines changed: 25 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,8 @@ That's why I've developed a script that saves volume data for each frame and all
21
21
22
22
## Usage
23
23
24
+
Be sure to have the latest version of [FFMPEG](https://ffmpeg.org/) installed on your machine.
25
+
24
26
### Windows executable
25
27
26
28
Grab this user-friendly Windows executable right over [here!](https://github.com/kessoning/Audio-Offline-Analysis/releases/tag/v0.1)
@@ -36,6 +38,29 @@ Or run the script on any OS (well, at least I hope so!) by yourself:
36
38
3. Replace input.wav with the path to your audio file, 30 with the desired frames per second (FPS) of the animation, beat_frames.txt with the output file path to save the beat frames, and "1 + x * 2" with your desired formula.
37
39
4. Utilize the generated beat frames or keyframes in your creative coding IDE (e.g., Processing, OpenFrameworks) or Stable Diffusion Deforum script.
38
40
41
+
###
42
+
43
+
To compile an executable forother OS, there is the codein the GUI_code folder. You can try to compile it on your machine, and if you want to contribute make a pull request to add it to the release page.
44
+
45
+
The compilation requires pyinstaller
46
+
47
+
```bash
48
+
pip install pyinstaller
49
+
```
50
+
51
+
After doing so, you only need to run
52
+
```bash
53
+
pyinstaller --onefile script.py
54
+
```
55
+
56
+
An issue I encountered was that librosa was missing a file, due the use of Anaconda. To solve this, you need to add librosa example data to the compiler
0 commit comments