gen~ code export and buffers

alfonso santimone's icon

Hi guys,
i've just started exploring gen~ more deeply and take a look at code export.
if i'll build a gen patcher using reference to buffer~ objects should i implement on my own the relative buffers in the exported C++ code?
or..?
many thanks
a.

alfonso santimone's icon

hi, any suggestion/idea?
thnks

Joshua Kit Clayton's icon

For the near future, the use of buffers is something which you will need to be responsible for. In the coming months, we might find time to point developers to some resources for how they might consider sound file and buffer integration with code export, but we're considering that your responsibility for the time being.

alfonso santimone's icon

thanx Joshua,
definetely some tutorials will help ;-)
a.

Make Electronic Sound's icon

Hi

Is there any update on this situation or any advise on buffer integration and code export?

Thanks

Ruslan's icon

My advise to use 64-bit Data operators instead of referencing buffers for the tasks of generating wavetables for example. To read/write from buffers Cycling '74 should implement interpolated playback functions inside of gen first of all.

Make Electronic Sound's icon

@RUSLAN, can this be done inside gen? I guess not

Ruslan's icon

Thanks RAJA for the tip, I haven't noticed this sample operator, maybe the reason for this I wasn't too much into interpolated sample playback.
DAVEYC the tip with data operators inside gen works just fine. You can implement 'for' loops to write into the wavetables using GenExpr.

Make Electronic Sound's icon
Make Electronic Sound's icon

Cheers Raja

On holiday now but will check it out when I get back next week

Dave