Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

TOP Audio & SOP Audio

Helpful techniques for working with TouchDesigner. Answers only, no questions.

TOP Audio & SOP Audio

Postby bwanajh » Wed Feb 28, 2018 1:53 pm

https://www.youtube.com/watch?v=HbpNSmpgH38&feature=youtu.be

phpBB [video]


You can use TOPS to edit audio on the GPU. This greatly expands your ability to manipulate Audio, and there are endless options! I suggest tinkering with all of the tops and make some awesome hybrid audio systems. Custom Audio GLSL would be really nice to see too. Remember:

1.Route each channel of audio into its own R G B or A pixel channels.

2.Pixel format (common page of all TOPs) should be 32-floats.

3.Avoid TOPS and parameters that clamp values.

SOPS are also really interesting audio operators, You can get some fat techno tones as effects on your tracks with the rich 3d environment of the SOP.
(video 3:40ish youtube degrades the fat sound a bit)

WARNING: SOPS are processed on the CPU and these activities can be VERY strenuous at some threshold in almost every parameter of every operator. It is advised that you tread carefully:

1.Keep all viewers off by default and never view an Audio SOP's viewer.

2. Save before every new SOP is added, and before every parameter tweak

3. When recording or jamming, Try not to animate parameters of SOPS, except to toggle on and off ,bypass, switch between etc. there are few parameters that have a little more leeway, but be very careful in your setup and execution.

To use TOPs for Audio : AudioCHOP-ChoptoTop-(YourCustomTOPAUDIOCHAIN)-ToptoChop-LimitSop-ScanChop-Audiochops

Audio with SOPs: AudioChops-LimitSop-(YourCustomSOPAUDIOCHAIN)-ScanChop-Audiochops

-Sounds best in perform mode.
-Keep the final scanCHOP in unison with your initial audio sample rate
bwanajh
 
Posts: 140
Joined: Sun Apr 12, 2015 9:40 pm
Location: Manitoulin

Re: TOP Audio & SOP Audio

Postby ben » Tue Mar 27, 2018 11:51 am

You might also find this recent video interesting...
https://www.youtube.com/watch?v=Dp8TTMTK_cg
User avatar
ben
Staff
 
Posts: 2367
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto

Re: TOP Audio & SOP Audio

Postby bwanajh » Fri Apr 20, 2018 12:06 am

For sure very cool! I enjoyed all of the talks I've seen.

I've assembled some goodies for you all:

1. A relatively straightforward tutorial that covers

GPU Audio:
Conversion,
Channel Mixing,
a Cheesy EQ filter ,
Tempo,
Pitch,
Delay,
Phaser,
"vibrato" (ideas on how to add texture to sound.)

2. An example system using those techniques

3.+ BONUS :I'm pleased to share a Note accurate octave synced spectrum analyzer/note compass with custom tunings and more!

AudioTOPMethods.8.toe
(598.11 KiB) Downloaded 88 times
bwanajh
 
Posts: 140
Joined: Sun Apr 12, 2015 9:40 pm
Location: Manitoulin

Re: TOP Audio & SOP Audio

Postby bwanajh » Wed Apr 25, 2018 1:44 am

Capture.PNG
Capture.PNG (391.41 KiB) Viewed 1996 times


OK so I've made a traditional spectrum viewer that you can choose your freq range and length of trail.

I've also updated the Note compass. Get the examples of TOP audio above, but get the Note compass here.
Spectrum Viewer.toe
(40.58 KiB) Downloaded 77 times


I would just save either to your palette if they interest you. The Note compass is good for tunings: musical instruments or singers where the spectrum viewer will apply to any sound.

***Bug Report****(I think!!) Switch doesn't receive export

In Note Compass, youll find switch1 and nullsharpswitch both marked red. When these are in python mode they work, when the green export choice is selected, they fail. BUT if you go in and reorder the input manually, then swap it back while in export mode, the export works.

To observe this behaviour
- go to the custom parameters in Note Compass base and select any sharp note after selecting a non sharp note from the" first note in viewer" parameters: see that it works!

-go inside Note Compass, and change switch1 to Export mode

- go back to custom parameters and try choosing new Nonsharp/sharp, should fail.

- go back into Note compass and manually swap the inputs back and forth once, and it will work from inside the network, but fail again when you are up a level looking at custom parameters.

Another issue:
I'm also having trouble understanding why middle mouse button clicking SpecViewer Base,( or mmb clicking Note Compass while Specviewer is active) is making my fps drop to like 3-5... really slow. I need to restart the toe file for it to wake up, but the behaviour doesn't come up unless I MMB the basecomps
bwanajh
 
Posts: 140
Joined: Sun Apr 12, 2015 9:40 pm
Location: Manitoulin

Re: TOP Audio & SOP Audio

Postby selina » Thu May 03, 2018 1:22 pm

I can reproduce the switch bug, looking into it. Thanks for the report.
User avatar
selina
Staff
 
Posts: 812
Joined: Tue Nov 13, 2007 1:15 am

Re: TOP Audio & SOP Audio

Postby selina » Thu May 03, 2018 4:31 pm

This bug will be fixed in 2018.22580+.
User avatar
selina
Staff
 
Posts: 812
Joined: Tue Nov 13, 2007 1:15 am

Re: TOP Audio & SOP Audio

Postby ben » Mon May 14, 2018 6:34 am

Please let us know if it works for you as 2018.22800 is available now.
User avatar
ben
Staff
 
Posts: 2367
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto

Re: TOP Audio & SOP Audio

Postby bwanajh » Mon May 14, 2018 5:44 pm

Hello,

Yes the switch export bug is now fixed inside the Note Compass, thank you!

I still don't know why MMB the Spectrum Viewer causes the whole FPS to drop until toe restart. I don't know if this is a bug, or if the component is just a pig, but since it only happens on MMB it seems like a bug.

SpecViewer.tox
(3.42 KiB) Downloaded 74 times


Attached is a slightly updated version of the SpecViewer that no longer needs you to set sample rate. It also allows you to flip the direction of flow in the viewer.

Just attach a stereo(2 channel) audio source, MMB the component, and watch the fps drop. If you don't MMB its good to go.

Thanks!
bwanajh
 
Posts: 140
Joined: Sun Apr 12, 2015 9:40 pm
Location: Manitoulin

Re: TOP Audio & SOP Audio

Postby Simplo » Tue May 15, 2018 7:25 am

Wow!!! Very interesting idea!!! :D
It is very funny for me to confirm, every time, that audio is always harder for CPU/GPU to process then images...
Simplo
 
Posts: 65
Joined: Thu Feb 05, 2015 5:39 am


Return to Techniques

Who is online

Users browsing this forum: quine and 2 guests