In this tutorial we will be creating an audioreactive visual using the 2D engine Skia, making use of filter nodes and random generators to keep it constantly changing.
Download the track here:
Recorded with vvvv gamma 6.6
In this tutorial we will be creating an audioreactive visual using the 2D engine Skia, making use of filter nodes and random generators to keep it constantly changing.
Download the track here:
Recorded with vvvv gamma 6.6
Thanks for the tutorial!
Oddly enough, when I play the track that you’ve attached in vvvv’s AudioPlayer, it plays at a high pitch. While it plays fine in VLC. If I choose any other track and play them using AudioPlayer or using VLC, they play fine.
Have you ever encountered this? I’m on vvvv gamma v6.6.
that sounds like an issue with not matching sample rates between the file and the engine, see:
Yes that was causing the issue, thanks! I decided to convert the audio to 48K instead.
For future readers: you can do the same using Ocenaudio app or using this website.
Can you explain why this is an issue in the AudioPlayer in vvvv and not in any other software (that I know of). I can’t remember ever using any other audio player where matching the sample rate would have been an issue. They all just “work”. What are all these other audio players doing that is not possible to do in the gamma AudioPlayer automatically as well?
We use the AudioPlayer in gamma as well and so often there are errors with unmatching sample rates, where the driver settings tries to set a sample rate that isn’t available for that device, sound playing with little cracks and stutters, etc.
I am really curious what makes it so hard.
In Beta it just played the file faster or slower if there was a samplerate mismatch.
the reason for this is that the AudioPlayer does not automatically adapt to the engines sample rate.
the same happens in gamma.
I am dealing with multiple audio files now, and converting their sample rate individually can be a chore and can easily missed out while patching.
I agree with seltzdesign that vvvv should automatically adapt to the engines sample rate if that is what every other software does.
What would it take to do that? I would think that vvvv being a somewhat reliable audio player would be in everyone’s interest. I just want to be able to have the user load an .mp3 file and play it without issues. Currently I cannot do this, as I get little cracks and stutters, no matter what I do, which driver I use, etc. Then I open the same file in any other player, browser, whatever and it plays absolutely fine. So somehow the current AudioPlayer is struggling with a seemingly very basic task: play audio files.
If I am building a tool for an installation with a fixed set of sounds, maybe I can work around that, but if I want to build say a simple media player in vvvv, then currently this would not be possible, since I cannot reasonably expect a user to convert their audio files before using it.
Although not elegant and probably not the most audiophile way of doing it, it could be done like this
Edit: Here is the patch
I’d like to do this automatically, is there a way I can access the current sample rate in patch?
EDIT: Driver status
now with recalculated durations
EDIT:
It seems to work pretty well. I made a process and put it in my Github:
I have created a new topic as to not spam this post in “tutorials” and to make it easier to find down the line: