» Audio File Playback
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Audio File Playback

Introduction

There are five ways for playing back audio files:

FileStream (DShow9)

Related nodes

FileStream (DShow9)
FileStream (DShow9 Boygroup)
FileStream2 (DShow9)
FileStream2 (DShow9 Boygroup)
AudioOut (DShow9)

This node and its variations plays back the following formats:

  • mp3
  • wav
  • wma
  • aif
  • mid.

Try the FileStream2 (DShow9) for hickupfree file switching.
The FileStream (DShow9 Boygroup)'s special power is to syncronize several players on the same or several machines (in a Boygroup setup).

Their Filename pin is not spreadable, therefore only one file can be played at a time.

However it's possible to have several FileStream (DShow9) connected to their own AudioOut (DShow9) in the same patch in order to play several files in parallel. Beware though that those streams will not run in sync by default.

See the Multichannel Output section for more about playing back multichannel audio files.

Note

With all directshow pins (of type audio / midi / video) you can connect each output to only one input pin. Therefore it is not possible with the DShow9 system to play a file and analyse it at the same time using nodes like FFT (DShow9) or RMS (DShow9). However some sound cards have an option to access the 'Stereo Mix' of all sound that's being played on it. In that case it’s possible to listen to the sound via separate AudioIn (DShow9) and AudioOut (DShow9).

Please check Accessing Stereo Mix.

Examples in your vvvv\girlpower\ directory:

  • Audio

WavePlayer (DShow9)

Related nodes

WavePlayer (DShow9)

It plays back only one format:

  • 16-bit, 44kHz (multichannel) wav files

Its Filename is spreadable, so any number of audiostreams can be played in parallel. This feature can be misused for the seamless switching between the files. Just feed all the files you want to play to the Filename pin, spread the Play pin and turn on its corresponding slice.

WavePlayer also has some special powers, like routing channels to several outputs and fading towards the end of a loop to prevent clicks.

By default WavePlayer routes channels as defined in the wavefile (in the most simple case it’s just the left speaker). But a custom routing table can be defined. See its helppatch for details on that.

Examples in your vvvv\girlpower\ directory:

  • Audio

FileStream (VAudio)

Download:
VAudio Pack

Related nodes

FileStream (VAudio)
Granulator (VAudio)
AudioOut (VAudio)

FileStream (VAudio) plays media formats supported in Media Foundation. It is fully spreadable, deals correctly with multichannel audio files and also retains good audio quality when changing the playback speed:

  • .3g2, .3gp, .3gp2, .3gpp
  • .asf, .wma, .wmv
  • .aac, .adts
  • .avi
  • .mp3
  • .m4a, .m4v, .mov, .mp4
  • .sami, .smi
  • .wav

VAudio Pack is contributed by tonfilm.

Examples:

FileStream (Bass)

The BASS website

Related nodes

FileStream (Bass)
AudioOut (Bass)

The BASS library is free only for non-commercial use. Check their website for more information about licensing.

The BASS series of plugins is contributed by vux and is coming with the addonpack.

FileStream (Bass) plays back the following formats:

  • mp3
  • wav
  • aif
  • ogg

Its Filename pin is not spreadable, therefore only one file can be played back at a time.

Other than with DShow9 there are no restrictions as of how many output pins can be linked to from an input. So the sound can be analyzed and mixed at the time of playing it back.

Multiple audiostreams (from different FileStream (Bass) nodes) can be mixed using a Mixer (Bass) and there are some built-in effects available (open the nodebrowser and type 'bass dsp' to find them).

Examples in your vvvv\girlpower\ directory:

  • Audio

FileStream (Irrklang)

The irrKlang website

Related nodes

FileStream (Irrklang)

The irrKlang library is free only for non-commercial use. Check their website for more information about licensing.

This node is contributed by sanch, phlegma and readme and is coming with the addonpack.

As stated in the irrKlang documentation it plays back the following formats:

  • RIFF WAVE (*.wav)
  • Ogg Vorbis (*.ogg)
  • Free Lossless Audio Codec (*.flac)
  • Amiga Modules (*.mod)
  • Impulse Tracker (*.it)
  • Scream Tracker 3 (*.s3d)
  • Fast Tracker 2 (*.xm)

Its Filename, Play, Volume and many other pins are spreadable, so any number of audiostreams can be played in parallel. FileStream (Irrklang) is able to position and move sounds in 3d space and has a decent list of effects built-in right into the node (check Inspektor for enabling them).

Examples in your vvvv\girlpower\ directory:

  • Audio

anonymous user login

Shoutbox

~5d ago

joreg: vvvvTv S02E01 is out: Buttons & Sliders with Dear ImGui: https://www.youtube.com/live/PuuTilbqd9w

~11d ago

joreg: vvvvTv S02E00 is out: Sensors & Servos with Arduino: https://visualprogramming.net/blog/2024/vvvvtv-is-back-with-season-2/

~11d ago

~12d ago

fleg: hey there! What's the best tool for remote work? Teamviewer feels terrible. Thanks!

~25d ago

joreg: Last call: 6-session vvvv beginner course starting November 4: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-i/

~1mth ago

joreg: Missed the last meetup? You can rewatch it here: https://www.youtube.com/live/MdvTa58uxB0?si=Fwi-9hHoCmo794Ag

~1mth ago

theurbankind: When is the next big event, like node festival ?

~1mth ago

~1mth ago

joreg: Join us for the next vvvv meetup on Oktober 17th: https://visualprogramming.net/blog/2024/25.-vvvv-worldwide-meetup/

~2mth ago

joreg: 6 session beginner course part 2 "Deep Dive" starts January 13th: https://thenodeinstitute.org/courses/ws24-5-vvvv-beginners-part-ii/