"offline" DSP processing

Post any examples or modules that you want to share here
Post Reply
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

"offline" DSP processing

Post by KG_is_back »

Ever needed to load large wave file and then process/analyse it "offline" (aka as fast as possible). I may have made something that does exactly that. It basically works by triggering signal analyser prim with a trigger from separate thread. This ensures that flowstone will not freeze during long calculations. I've also added a progress bar.

NOTE: the example schematic can only process files shorter than 2^23 samples (cca 3min @44kHz), because wave-read and wave-write prims accept index as float.
Attachments
offlineProcessing_v1.0.fsm
(8.04 KiB) Downloaded 1170 times
User avatar
Spogg
Posts: 3368
Joined: Thu Nov 20, 2014 4:24 pm
Location: Birmingham, England
Contact:

Re: "offline" DSP processing

Post by Spogg »

Excellent!

Works fine for me.

Thanks KG!
Wassaka
Posts: 85
Joined: Wed Dec 30, 2015 3:41 am

Re: "offline" DSP processing

Post by Wassaka »

Thanks KG!!!! Awesome module, but I have a question... How can I make the delay compensation? For example, I have a compressor with some lookahead and the rendered version is displaced and cutted...


Thanks, Wassaka.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: "offline" DSP processing

Post by KG_is_back »

You offset the index on the wave write prims (inside "wave create+write" module), by adding/subtracting an integer. Similarly you can offset the input. Additionally you may also want to adjust the length - by adding to the "length" input of the "offline processing of stream v1.0" module. The length controls how many samples are being processed. That is completely separate from which samples are being read/written to - that is controlled by the wave read and wave write modules respectively.
Wassaka
Posts: 85
Joined: Wed Dec 30, 2015 3:41 am

Re: "offline" DSP processing

Post by Wassaka »

KG_is_back wrote:You offset the index on the wave write prims (inside "wave create+write" module), by adding/subtracting an integer. Similarly you can offset the input. Additionally you may also want to adjust the length - by adding to the "length" input of the "offline processing of stream v1.0" module. The length controls how many samples are being processed. That is completely separate from which samples are being read/written to - that is controlled by the wave read and wave write modules respectively.

Thank you very much!!
Post Reply