Re: [Csnd] [EXTERNAL] [Csnd] Syncgrain Question

Art has probably already figured this out but as one who always appreciates seeing a solution to questions asked on the forum, Victor's suggestion, the fof opcode, seems to offer one viable solution, depending on one's expectations or usage needs.

<CsoundSynthesizer>
<CsOptions>
-odac
</CsOptions>
<CsInstruments>

sr = 44100
ksmps = 32
0dbfs = 1
nchnls = 2

instr 1

iolaps = 100
iFoxLen filelen "fox.wav"
igrsize = iFoxLen
ifreq = 1
iprate = 0

kpitch = .4 /* pitchscale */
krpitch rand .3
asig fof 1, ifreq, kpitch + krpitch, 0, .01, \
         .003, igrsize, .007, iolaps, 1, 2, p3
outs asig, asig
endin

</CsInstruments>
<CsScore>
f1 0 131072 1 "fox.wav" 0 0 0
f2 0 8192 20 2 1

i1 0 20 1
e
</CsScore>
</CsoundSynthesizer>

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        Issues · csound/csound · GitHub
Discussions of bugs and features can be posted here

Partikkel will of course do this nicely…

lør. 29. okt. 2022, 02:28 skrev Scott Daughtrey <stunes6556@gmail.com>:

Art has probably already figured this out but as one who always appreciates seeing a solution to questions asked on the forum, Victor’s suggestion, the fof opcode, seems to offer one viable solution, depending on one’s expectations or usage needs.

-odac

sr = 44100
ksmps = 32
0dbfs = 1
nchnls = 2

instr 1

iolaps = 100
iFoxLen filelen “fox.wav”
igrsize = iFoxLen
ifreq = 1
iprate = 0

kpitch = .4 /* pitchscale */
krpitch rand .3
asig fof 1, ifreq, kpitch + krpitch, 0, .01,
.003, igrsize, .007, iolaps, 1, 2, p3
outs asig, asig
endin

f1 0 131072 1 "fox.wav" 0 0 0 f2 0 8192 20 2 1

i1 0 20 1
e

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

yes, I just did not suggest because there was a request to avoid complexity. Partikkel would do anything in granular synthesis.

Prof. Victor Lazzarini
Maynooth University
Ireland