Csound Csound-dev Csound-tekno Search About

Sample of single note oscillator how to align at the edges?

Date2017-02-16 21:55
FromAnton Kholomiov
SubjectSample of single note oscillator how to align at the edges?
I've got an audio file with analog synth single note sample. But it's not aligned at the edges and it produce pops when looped. How it can be solved without manual editing of the file?  

So how can I loop over this file? Is it possible?
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

Date2017-02-17 07:49
FromGleb
SubjectRe: Sample of single note oscillator how to align at the edges?
Hi Anton,

Theoretically you may try the following. You can read your sample into a
ftable using GEN01. Then you can scan it to detect the time of the onset of
your sound, and the time when it fades to 0. After that you copy it to
another table eliminating pauses in the beginning and in the end. 

Does it sound like a solution for automatically edit sample?  



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Sample-of-single-note-oscillator-how-to-align-at-the-edges-tp5754627p5754634.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-02-17 08:12
FromAnton Kholomiov
SubjectRe: Sample of single note oscillator how to align at the edges?
Thanks Gleb. I think it can solve it. Can discontinuity of derivative cause artifacts?



2017-02-17 10:49 GMT+03:00 Gleb <gleb.rogozinsky@gmail.com>:
Hi Anton,

Theoretically you may try the following. You can read your sample into a
ftable using GEN01. Then you can scan it to detect the time of the onset of
your sound, and the time when it fades to 0. After that you copy it to
another table eliminating pauses in the beginning and in the end.

Does it sound like a solution for automatically edit sample?



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Sample-of-single-note-oscillator-how-to-align-at-the-edges-tp5754627p5754634.html
Sent from the Csound - General mailing list archive at Nabble.com.

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

Date2017-02-17 08:25
FromAnders Genell
SubjectRe: Sample of single note oscillator how to align at the edges?
Discontinuity of dedicate will not cause a 'pop' but will of course add overtones as the waveform will not be 'pure'. 
In fact, the 'pop' is also the addition of an almost unlimited number of overtones to account for the discontinuous waveform. 

Regards,
Anders

17 feb. 2017 kl. 09:12 skrev Anton Kholomiov <anton.kholomiov@GMAIL.COM>:

Thanks Gleb. I think it can solve it. Can discontinuity of derivative cause artifacts?



2017-02-17 10:49 GMT+03:00 Gleb <gleb.rogozinsky@gmail.com>:
Hi Anton,

Theoretically you may try the following. You can read your sample into a
ftable using GEN01. Then you can scan it to detect the time of the onset of
your sound, and the time when it fades to 0. After that you copy it to
another table eliminating pauses in the beginning and in the end.

Does it sound like a solution for automatically edit sample?



-----
Gleb Rogozinsky, PhD
Associated Professor
Interactive Arts Department
Saint-Petersburg University of Film and Television

Deputy Director of Medialab
Saint-Petersburg University of Telecommunications
--
View this message in context: http://csound.1045644.n5.nabble.com/Csnd-Sample-of-single-note-oscillator-how-to-align-at-the-edges-tp5754627p5754634.html
Sent from the Csound - General mailing list archive at Nabble.com.

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