Ironclad / rivet

The open-source visual AI programming environment and TypeScript library
https://rivet.ironcladapp.com
MIT License
2.55k stars 226 forks source link

[Bug]: Rivet hangs when processing audio files #375

Open jonas-loxo opened 3 months ago

jonas-loxo commented 3 months ago

What happened?

Adding an audio source to rivet causes it to hang when then running the audio source, getting proportionally worse with increasing file sizes. It looks like the Audio node blocks the UI when being processed

What was the expected functionality?

It doesn't cause it to hang or lag

Describe your environment

OSX

Relevant log output

Can be repro'd with just a single audio node and running it - the UI can't be used while it's running.

Here's an example audio file that can be used to repro: https://drive.google.com/file/d/1qhOqHGkgtsaZUgjDYTXsLUkWCJ68vsnt/view?usp=sharing (based on https://github.com/rafaelreis-hotmart/Audio-Sample-files/blob/master/sample.m4a but longer)

Relevant screenshots

image

Code of Conduct