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

Audio File Playback

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

~2h ago

joreg: Don't forget: This months #vvvv meetup in #berlin is happening on the 27th: 12-berlin-vvvv-meetup

~2h ago

joreg: @u7 @CeeYaa, we're investigating this...

~4h ago

tonfilm: Under the hood: We switched from #SharpDX to #Xenko math. vl-switch-to-xenko-math VL vvvv #visualprogramming #dotnet #creativecoding

~9h ago

CeeYaa: haha it was frozen for 10 seconds when I send this Shout before - using Firefox

~9h ago

CeeYaa: hui really slow speed on MainPage, Contributions ... speed in Forum quite OK

~11h ago

u7angel: mmm, the site is really slow now.

~21h ago

joreg: PSA: and we're back!

~2d ago

joreg: PSA: Thursday night starting 11pm CET vvvv.org will move servers. If all goes well we should be back soon after.

~3d ago

joreg: But first: This Friday in Berlin: Join our full day "Getting started with Generative Design Algorithms" workshop https://nodeforum.org/announcements/workshop-getting-started-with-generative-design/

~3d ago

joreg: In #Linz for #ArsElectronica? Join us for a free 2 days #vvvv workshop sponsored by businesses/responsive-spaces-gmbh Apply here: 2-day-gamma-vvvvorkshop-at-responsive-spaces-in-linz