Csound Csound-dev Csound-tekno Search About

[Csnd] Sample pop on initialisation?

Date2018-08-15 15:17
Fromfauveboy
Subject[Csnd] Sample pop on initialisation?
brakets.csd   

The file i've shared plays a sample from one point for the duration of a
note and on the initialisation of another note continues playing the sample.

However in between on stopping and the next istatement is a little pop. The
idea is that the note starting and stopping should be audibly imperceptible.
How can I improve this performance 
   



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-08-16 10:56
Fromfauveboy
SubjectRe: [Csnd] Sample pop on initialisation?
ChimAbiV1Synth3.zip
  

If anyone is happy to test the same program heres the audio file I'm using
within it.
Many thanks



--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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

Date2018-08-16 14:28
Fromjpff
SubjectRe: [Csnd] Sample pop on initialisation?
The pop is a gap of 0.1 second at time 2.7-2.8
So not related to the break bretween the notes.  I suspect your envelope 
but not identified yet


On Thu, 16 Aug 2018, fauveboy wrote:

> ChimAbiV1Synth3.zip
> 
>
> If anyone is happy to test the same program heres the audio file I'm using
> within it.
> Many thanks
>
>
>
> --
> Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html
>
> 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

Date2018-08-17 10:56
Fromfauveboy
SubjectRe: [Csnd] Sample pop on initialisation?
The instrument im using currently looks like this:

[code]

instr 1

ifile = p4
kpitch = p5
istart = p6
iend = p7

a1, a2 diskin2 ifile, kpitch, istart, iend, 0, 32

aenv linen a1+a2, 0.001, p3, 0.001
     outs aenv, aenv 

endin

[/code]

This works pretty well the the value "0.001". You can't hear the pop or a
perceptible dip in the volume.

Instead of 0.001 I tried 1/sr. The value was too small to be effective which
I guess suggest more than
one sample is causing the pop?

I was hoping by using 1/sr it would work more optimally than 0.001, why did
the pop still occur?










--
Sent from: http://csound.1045644.n5.nabble.com/Csound-General-f1093014.html

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