Welcome to %s forums

BrainModular Users Forum

Login Register

spectral transformations and rec array

I need help on a Patch
Post Reply
Zucchi
Member
Posts: 12
Location: Marseille
Contact:

spectral transformations and rec array

Unread post by Zucchi » 17 Jul 2020, 09:15

Hi,

I would like to know how would you proceed to record and playback an array of values ? The goal is to do some spectral transforms on audio flow with FFT.

I tried to record the output of [FFT forward] into a stereo [Audio Sampler Recorder] (one chan for real part and other one for imaginary) but it's not really efficient and I'm limited to the usine bloc size for the window size of my FFT. I'm also not sure about how the conversion works between real values and dB inside the recorder.

Z.

SylvainT
Site Admin
Posts: 494
Contact:

Unread post by SylvainT » 18 Jul 2020, 00:23

Hello,

The FFT forward output is an array, so impossible to record with a sampler, and for sure you'll be limited to the usine bloc size for the window size of your FFT.
It will be difficult to record FFT, so many bins to rec, you'll need huge arrays.
Why dont you use a sampler recorder before the FFT manipulation.

Sylvain

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 19 Jul 2020, 02:03

yeah, it would make sense to record sample instead, FFT is designed for real-time processing after all. and Usine is not really designed to do 'offline' processing, as there's no audio export as well.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

Zucchi
Member
Posts: 12
Location: Marseille
Contact:

Unread post by Zucchi » 19 Jul 2020, 11:21

Hi,
I wanted to record the different bins for a spectral freeze effect. I wanted to do some translations and rec a small window to read in random orders added with a small amount of noise on each real bin. That's why I wanted to use some arrays for the maths.

SylvainT
Site Admin
Posts: 494
Contact:

Unread post by SylvainT » 19 Jul 2020, 12:30

Make polyphonic subpatch with arrays to save your differents states and then recall them.
Be carefull with FFT manipulations, it could be very expensive in CPU consumption. You'll had to trigg your calculations with the bins size.

User avatar
x.iso
Member
Posts: 565
Location: RU, Saint-Petersburg
Contact:

Unread post by x.iso » 20 Jul 2020, 10:20

Zucchi wrote:
19 Jul 2020, 11:21
Hi,
I wanted to record the different bins for a spectral freeze effect. I wanted to do some translations and rec a small window to read in random orders added with a small amount of noise on each real bin. That's why I wanted to use some arrays for the maths.
There's example patch in the library called 'Spectral Average', perhaps that's what you're looking for.
join Hollyhock Usine Discord server: https://discord.gg/EdJarnE

User avatar
oli_lab
Member
Posts: 1263
Location: Brittany, France
Contact:

Unread post by oli_lab » 21 Aug 2020, 11:43

Hi !
have a look at my module "store array 512x2048" in the oli_lab pack/datalab/array
it provides what you need to store array from an FFT then to retrive stored arrays and do morphing.

see also the example included in the pack.

cheers
http://oli-lab.org

Win11 Ryzen9/32GB RAM - RME MADIFACE - SSL alpha link 4-16 - OSC capable interfaces

follow OLI_LAB adventures on Mastodon
@olivar_premier@mastodon.social

Post Reply

Who is online

Users browsing this forum: No registered users and 76 guests