Difference between revisions of "Visualizing sound in TouchDesigner"

From Interaction Station Wiki
Jump to navigation Jump to search
(Created page with "You can follow this tutorial to generate a dynamic sound wave in TouchDesigner starting from a sound file. =Importing your sound file into TouchDesigner= * Open TouchDesign...")
 
Line 7: Line 7:
 
* Add an '''Audio Device out''' and link it to your sound file. In this way you will be able to hear it. A file on its own will not automatically play without it.  
 
* Add an '''Audio Device out''' and link it to your sound file. In this way you will be able to hear it. A file on its own will not automatically play without it.  
 
* You might have noticed how the program is already giving you a visualisation of the audio file. Add a '''Audio Spectrum''' CHOP to display the frequency spectrum of the audio file.  
 
* You might have noticed how the program is already giving you a visualisation of the audio file. Add a '''Audio Spectrum''' CHOP to display the frequency spectrum of the audio file.  
* By default you will see the audio spectrum as a stereo view, visualising the two channels. You can turn this into one by adding a '''Math''' CHOP. <br>
+
* By default you will see the audio spectrum as a stereo view, visualising the two channels. You can turn this into one by adding a '''Math''' CHOP. <br>In the menu you should set: <br>'''Combine Channels : Average''' <br>This option will merge the two channels into one.
In the menu you should set: <br>
 
'''Combine Channels : Average''' <br>
 
This option will merge the two channels into one.
 

Revision as of 13:28, 5 February 2024

You can follow this tutorial to generate a dynamic sound wave in TouchDesigner starting from a sound file.

Importing your sound file into TouchDesigner

  • Open TouchDesigner
  • Remove the example network and get a blank view
  • Add your sound file: you can do this by directly dragging it inside the software view. It will automatically create a Audio File In named as the original file. Alternatively, you can add a Audio File In CHOP by double clicking on the pane view. You can then select your file from the operator menu.
  • Add an Audio Device out and link it to your sound file. In this way you will be able to hear it. A file on its own will not automatically play without it.
  • You might have noticed how the program is already giving you a visualisation of the audio file. Add a Audio Spectrum CHOP to display the frequency spectrum of the audio file.
  • By default you will see the audio spectrum as a stereo view, visualising the two channels. You can turn this into one by adding a Math CHOP.
    In the menu you should set:
    Combine Channels : Average
    This option will merge the two channels into one.