Merge examples over (#25)
* Merge from main (#16) * Modified NormalizedAmplitudeToNumber and added FloatArrayToGraph (#8) * added my 2 nodes * fixed broken new node mod got it working again * modifications example modified the normalized to float/int node to include an addative input, with ceiling control and threshold activation. added float array to graph node * Add Load VHS Audio node (#13) Add a node to load audio from Video Helper Suite, which exports a lambda for lazy loading. Co-authored-by: Isaac Emesowum <isaac@emesowum.com> * Return the limit of frames used rather than total if a limit is specificed in the AudioToFFTs * Clean up duplicate function * Updated basic example --------- Co-authored-by: PhotoniX <master@ascendism.com> Co-authored-by: iemesowum <isaac.emesowum@gmail.com> Co-authored-by: Isaac Emesowum <isaac@emesowum.com> * Updating the two amplitude example * Updated full example * Updated so that LoadAudio no longer name collison with ComfyUI's "LoadAudio": - Removed "LoadAudio" as a node. Instead use LoadVHSAudio or AudioToAudioData to either load from vhs node suite or from ComfyUI's LoadAudio - Changed the "AUDIO" type to "AUDIO_DATA" type to not clash with ComfyUI's "AUDIO" type * Removed LoadVHSAudio. No longer needed as "AudioToAudioData" can fulfill the role for both the VHS audio loading and the regular one * Updating the examples --------- Co-authored-by: PhotoniX <master@ascendism.com> Co-authored-by: iemesowum <isaac.emesowum@gmail.com> Co-authored-by: Isaac Emesowum <isaac@emesowum.com>
@@ -13,15 +13,15 @@ Install using the ComfyUI Manager. Look for ComfyUI-AudioScheduler.
|
||||
|
||||
# Nodes
|
||||
|
||||
## LoadAudio
|
||||
## AudioToAudioData
|
||||
|
||||
**Input Types:**
|
||||
|
||||
- `audio`: A list of audio file names to be loaded. Supported formats: mp3, wav.
|
||||
- `audio`: Audio file from the LoadAudio node. Both regular ComfyUI and VHS node is supported.
|
||||
|
||||
**Output Types:**
|
||||
|
||||
- `AUDIO`: Loaded audio data.
|
||||
- `AUDIO_DATA`: Loaded audio data.
|
||||
|
||||
**Description:**
|
||||
|
||||
@@ -264,18 +264,30 @@ Feel free to explore and use these nodes for your audio processing tasks. Detail
|
||||
|
||||
Takes an audio file, finds the amplitude within a frequency range, normalizes it and sends it off.
|
||||
|
||||

|
||||

|
||||
|
||||
Result:
|
||||
|
||||

|
||||

|
||||
|
||||
## Using multiple frequency ranges
|
||||
|
||||
We can use the amplitude to power one set of conditions. And the inverse to power another set.
|
||||
|
||||

|
||||

|
||||
|
||||
You can use different frequencies bands to power different conditions both in the positive and negative prompts.
|
||||
|
||||

|
||||
Result:
|
||||
|
||||

|
||||
|
||||
## Using a driven string
|
||||
|
||||
You can use the Normalized Amplitude Driven String to more actively switch up the prompts
|
||||
|
||||

|
||||
|
||||
Result:
|
||||
|
||||

|
||||
|
Before Width: | Height: | Size: 3.5 MiB After Width: | Height: | Size: 11 MiB |
|
Before Width: | Height: | Size: 1.3 MiB After Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 3.1 MiB |
|
After Width: | Height: | Size: 14 MiB |
|
After Width: | Height: | Size: 1.3 MiB |
|
After Width: | Height: | Size: 13 MiB |
|
Before Width: | Height: | Size: 1.5 MiB After Width: | Height: | Size: 1.5 MiB |