32 Commits
Author SHA1 Message Date
fdf8ddd0f6 Fixing drifting frames from samples (#26)
* 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

* Fixing sample frame drift due to rounding up errors. Instead, keep rounding through each loop.

---------

Co-authored-by: PhotoniX <master@ascendism.com>
Co-authored-by: iemesowum <isaac.emesowum@gmail.com>
Co-authored-by: Isaac Emesowum <isaac@emesowum.com>
2024-08-07 20:04:08 -07:00
adbc4b6fff 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>
2024-08-05 22:37:11 -07:00
b0b9d172c8 Merge from dev (#23)
* 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

---------

Co-authored-by: PhotoniX <master@ascendism.com>
Co-authored-by: iemesowum <isaac.emesowum@gmail.com>
Co-authored-by: Isaac Emesowum <isaac@emesowum.com>
2024-07-31 20:07:52 -07:00
76254c85aa Updated examples (#17)
* 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

---------

Co-authored-by: PhotoniX <master@ascendism.com>
Co-authored-by: iemesowum <isaac.emesowum@gmail.com>
Co-authored-by: Isaac Emesowum <isaac@emesowum.com>
2024-05-06 09:53:15 -07:00
Brian Jew d6bd73cdc9 Updated basic example 2024-05-06 07:34:09 -07:00
Brian Jew 456947737e Clean up duplicate function 2024-05-06 07:30:06 -07:00
Brian Jew c06056def8 Merge branch 'main' of https://github.com/a1lazydog/ComfyUI-AudioScheduler 2024-05-06 07:19:54 -07:00
Brian Jew 140a8390f3 Return the limit of frames used rather than total if a limit is specificed in the AudioToFFTs 2024-05-06 07:17:38 -07:00
iemesowumandIsaac Emesowum b48f7b2109 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>
2024-05-06 07:13:27 -07:00
PhotoniX 9cc4cd7a7e 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
2024-03-31 22:46:51 -07:00
a1lazydog 97d860af62 Merge pull request #7 from a1lazydog/dev
Turn nan & inf to sane numbers for normalized amplitudes.
2023-11-20 18:17:48 -08:00
Brian Jew 86ce9ca90d Turn nan & inf to sane numbers for normalized amplitudes. Fixe the total frames if a limit is given 2023-11-20 18:17:01 -08:00
a1lazydog b4bc119abf Merge pull request #3 from a1lazydog/dev
Fix if the prompts is larger than the number of keyframes and looping…
2023-10-25 17:28:41 -07:00
Brian Jew 92f51c2ddb Fix if the prompts is larger than the number of keyframes and looping is true 2023-10-25 15:02:03 -07:00
a1lazydog ee594ee423 Merge pull request #2 from a1lazydog/dev
Merge NormalizedAmplitudeDrivenString Node to main
2023-10-24 19:46:57 -07:00
Brian Jew 2fe1cb2ecc More details in README 2023-10-24 19:45:57 -07:00
Brian Jew 9b6f27a1d0 Adding documentation for the README 2023-10-24 19:44:41 -07:00
Brian Jew 24cc10ca6c Allow shuffle to work every time 2023-10-24 17:19:58 -07:00
Brian Jew a895f3b0c1 Adding shuffle to the mix for this node 2023-10-24 17:03:23 -07:00
Brian Jew 63b5994e8b Adding a node to automatically generate prompt switching with fizz nodes 2023-10-21 23:13:41 -07:00
Brian Jew 0faf16dcdc Update the README 2023-10-21 13:39:19 -07:00
Brian Jew 2a4b292295 Minor fix when attack > 0, but hold and release is 0 2023-10-17 17:05:24 -07:00
Brian Jew fec7fdf881 Fix image filenames on README 2023-10-16 10:16:22 -07:00
Brian Jew 5c5a53434d Update README with images 2023-10-16 10:14:58 -07:00
Brian Jew 0fecbcded9 [Amplitude Nodes] Add "TransientAmplitudeBasic" and "ClipAmplitude".
TransientAmplitudeBasic lets you apply an attack, hold and release to a amplitude wave.

- Attack: The bigger the number, the slower it'll try to rise to the next frame's amplitude if it's higher
- Hold: The bigger the number, the longer it'll stay at the current amplitude if the next frame's is lower
- Release: The bigger the number, the slower it'll drop to the next frame's amplitude if it's lower

The node will always apply the modification in that order: attack -> hold -> release when it can

ClipAmplitude: Will clip the amplitude at the specified max and min amps.
2023-10-16 09:53:26 -07:00
Brian Jew 7b4414e802 Updated the README 2023-10-11 21:36:48 -07:00
Brian Jew ef066a3354 Refactor the audio nodes 2023-10-11 20:59:31 -07:00
Brian Jew 8582bacbfa Added wav file support 2023-10-10 18:01:11 -07:00
Brian Jew 76310ccc54 Add gating to the signal 2023-10-09 11:54:29 -07:00
Brian Jew 9b8dbb1cac Updated LoadAudio Node 2023-10-08 21:50:46 -07:00
Brian Jew dd0c11aba3 Initial Commit 2023-10-08 18:04:41 -07:00
a1lazydog e708f0de9a Initial commit 2023-10-08 17:58:37 -07:00