Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

Looper TOX + Example TOE

Share your components here. First one to 100 wins!

Looper TOX + Example TOE

Postby L05 » Wed Apr 19, 2017 2:17 pm

After helping with some Cache TOP related questions on the Facebook group, I realized I couldn't find any simple looper examples and decided to make one.

I've uploaded a looper.tox file that takes a TOP input for video capture and a CHOP input as a record signal. Video is cached using a Cache TOP and automatically scrubbed through with LFO CHOPs.
looper_scrn.PNG
Screenshot of looper in network editor.
looper_scrn.PNG (30.73 KiB) Viewed 966 times


parameter_scrn.PNG
Screenshot of looper parameters.
parameter_scrn.PNG (11.06 KiB) Viewed 966 times

The looper has several custom parameters under its Looper page:

Record -- toggle on to capture a loop. Once toggled off, the loop will automatically play back according to the Loop Mode.

Cache Size -- linked directly to the Cache TOP's cache size parameter. This will determine the maximum length of your loop. Larger cache size equates to more GPU memory usage.

Loop Mode -- there are three loop modes: Normal plays the loop straight through, Ping-Pong (Eased) plays back and forth in a sinusoidal fashion, and Ping-Pong (Linear) plays back and forth at constant speed.

Loop Speed -- loop playback speed.

Interpolate -- linked directly to the Cache TOP's interpolate parameter. This will interpolate the video for smoother playback at slow speeds.

Mono (Reduce GPU Mem) -- this will set the input video texture pixel format to 8-bit fixed (Mono) in order to reduce GPU memory usage.

Save -- click to save your loop as a HAP Q encoded video file.

File Name -- give your exported file a name before saving.


My personal aim was to implement most of it in CHOPs, and I tried to comment thoroughly to aid anyone learning or wanting to hack it. You'll also find a multi_looper.toe file with an example of multiple looper modules being simultaneously used.

Hope this is helpful! Feedback encouraged.
Attachments
looper.tox
A video looper.
(5.77 KiB) Downloaded 98 times
multi_looper.toe
An example TOE with multiple loopers and a basic control scheme.
(12.11 KiB) Downloaded 87 times
User avatar
L05
 
Posts: 180
Joined: Thu Jan 05, 2012 2:36 pm
Location: Detroit, MI

Re: Looper TOX + Example TOE

Postby ben » Fri Apr 21, 2017 7:17 am

Nice work, thanks for sharing!
User avatar
ben
Staff
 
Posts: 1838
Joined: Thu Nov 08, 2007 6:55 pm
Location: Toronto

Re: Looper TOX + Example TOE

Postby L05 » Sat Apr 22, 2017 10:08 am

Thanks Ben!
User avatar
L05
 
Posts: 180
Joined: Thu Jan 05, 2012 2:36 pm
Location: Detroit, MI

Re: Looper TOX + Example TOE

Postby emcquaid » Mon Apr 24, 2017 11:46 am

When I fire this up, no video will play. I get a line of text that is to low resolution to read. I'm too noob to figure this out. Any pointers would be appreciated.
emcquaid
 
Posts: 2
Joined: Tue Sep 27, 2016 10:06 pm

Re: Looper TOX + Example TOE

Postby L05 » Mon Apr 24, 2017 11:59 am

Was it the looper.tox or the multi_looper.toe that gave you trouble?
Can you copy and paste the error message you're getting?
Also, are you on Mac or Windows? I tested for both, but I had to change a few things on the Video Device In TOP to get it working for Mac.
If you hit escape and enter network editor mode, does the Video Device In TOP have a red X on it?
User avatar
L05
 
Posts: 180
Joined: Thu Jan 05, 2012 2:36 pm
Location: Detroit, MI

Re: Looper TOX + Example TOE

Postby sidecarstudio » Wed Apr 26, 2017 2:03 am

I did not have time to look at it before but this looks like a really useful and fun tox, nice job!

Quick tests, did not see any 'real' error on either file.

Had to change the device in that was giving an error for the multi_looper, but thats expected.
(i'm on macos 99 build 5540)

Thanks for sharing!
sidecarstudio
 
Posts: 19
Joined: Tue Nov 01, 2016 10:58 am

Re: Looper TOX + Example TOE

Postby lotzio » Thu May 04, 2017 6:35 am

thank you! such a useful component in some cases. and super helpful to see the logic of the contruction. Many thanks
lotzio
 
Posts: 2
Joined: Thu Apr 19, 2012 12:54 pm


Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 3 guests