Csound Csound-dev Csound-tekno Search About

[Csnd] tables of sound spectra?

Date2021-03-01 12:08
Fromjoachim heintz
Subject[Csnd] tables of sound spectra?
hi -

does anyone know internet resources about sound spectra which can be 
used for additive resynthesis?  in particular percussive sounds.

cheers -
	joachim

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

Date2021-03-02 08:23
FromStefan Thomas
SubjectRe: [Csnd] tables of sound spectra?
Dear Joachim,
I assume You know the appendix "modal frequencies" of the csound manual.
Maybee I can help You with to Udos.
One Udo is for the partials of an ideal bar, following (2n+1)^2 and the other one is for stretched partials (similar to thick strings or something like this).
You will  find these opcodes end of the mail.
I don't remember where I found the formula for stretcged partials but I do remember, that values around 0.0004 are considered as being natural. Off course "insane" values sound also are very interesting.
I personally would be interested in another couple of formulas, e.g. gong, triangle, tomtom, etc.
Here my opcodes (sorry, comments are in german):
/* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
SYNTAX:
StefansXylopartials inumparts,iftab
inumparts = Anzahl der Teiltoene
iftab = tabelle in die geschrieben werden soll, muss eine "leere" Tabelle sein, wie z.B.
  iftab ftgen 0,0,16,-2,0 ; leere tabelle
*/
opcode StefansXylopartials, 0,ii
inumparts,iftab xin

indx      =      0
inenner = 9
loop:
inZ = indx+1
izaehler = (2*inZ+1)^2
istrp = izaehler/inenner
          tableiw   istrp, indx, iftab ;writes istart to table
          loop_lt   indx, 1, inumparts+1, loop
endop





;;;;;
/*OPCODE FOR STRETCHED PARTIALS
SYNTAX:
StefansStretchedPartials inumparts,istreck,iftab
inumparts = Anzahl der Teiltoene
istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann glockenspielartig
iftab = tabelle in die geschrieben werden soll, muss eine "leere" Tabelle sein, wie z.B.
  iftab ftgen 0,0,16,-2,0 ; leere tabelle
*/
opcode StefansStretchedPartials, 0,iii
inumparts,istreck,iftab xin

indx      =      0
inenner = sqrt(1+istreck)
loop:
inZ = indx+1
izaehler = inZ*sqrt(1+istreck*inZ^2)
istrp = izaehler/inenner
          tableiw   istrp, indx, iftab ;writes istart to table
          loop_lt   indx, 1, inumparts, loop
endop



Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz <jh@joachimheintz.de>:
hi -

does anyone know internet resources about sound spectra which can be
used for additive resynthesis?  in particular percussive sounds.

cheers -
        joachim

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

Date2021-03-02 09:33
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
hi stefan -

thanks for your help.  i think i was not clear enough in my question: i 
am searching tables of real instrument spectra, somehow reduced to what 
we need in additive resynthesis.  yes i know this nice table: 
https://csound.com/docs/manual/MiscModalFreq.html

this can be perfectly used for modal synthesis (= the mode opcode in 
csound, for instance in iain's wonderful example 
http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd). 
  for old-fashioned additive synthesis the amplitude series are missing.

so i am looking for something like this modal table which include 
amplitudes for the partials.

cheers -
	joachim


On 02/03/2021 09:23, Stefan Thomas wrote:
> Dear Joachim,
> I assume You know the appendix "modal frequencies" of the csound manual.
> Maybee I can help You with to Udos.
> One Udo is for the partials of an ideal bar, following (2n+1)^2 and the 
> other one is for stretched partials (similar to thick strings or 
> something like this).
> You will  find these opcodes end of the mail.
> I don't remember where I found the formula for stretcged partials but I 
> do remember, that values around 0.0004 are considered as being natural. 
> Off course "insane" values sound also are very interesting.
> I personally would be interested in another couple of formulas, e.g. 
> gong, triangle, tomtom, etc.
> Here my opcodes (sorry, comments are in german):
> /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> SYNTAX:
> StefansXylopartials inumparts,iftab
> inumparts = Anzahl der Teiltoene
> iftab = tabelle in die geschrieben werden soll, muss eine "leere" 
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansXylopartials, 0,ii
> inumparts,iftab xin
> 
> indx      =      0
> inenner = 9
> loop:
> inZ = indx+1
> izaehler = (2*inZ+1)^2
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts+1, loop
> endop
> 
> 
> 
> 
> 
> ;;;;;
> /*OPCODE FOR STRETCHED PARTIALS
> SYNTAX:
> StefansStretchedPartials inumparts,istreck,iftab
> inumparts = Anzahl der Teiltoene
> istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann 
> glockenspielartig
> iftab = tabelle in die geschrieben werden soll, muss eine "leere" 
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansStretchedPartials, 0,iii
> inumparts,istreck,iftab xin
> 
> indx      =      0
> inenner = sqrt(1+istreck)
> loop:
> inZ = indx+1
> izaehler = inZ*sqrt(1+istreck*inZ^2)
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts, loop
> endop
> 
> 
> 
> Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz 
> >:
> 
>     hi -
> 
>     does anyone know internet resources about sound spectra which can be
>     used for additive resynthesis?  in particular percussive sounds.
> 
>     cheers -
>              joachim
> 
>     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

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

Date2021-03-02 09:44
FromStefan Thomas
SubjectRe: [Csnd] tables of sound spectra?
Oh, yes, that would be interesting for me as well!
Stefan

Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz <jh@joachimheintz.de>:
hi stefan -

thanks for your help.  i think i was not clear enough in my question: i
am searching tables of real instrument spectra, somehow reduced to what
we need in additive resynthesis.  yes i know this nice table:
https://csound.com/docs/manual/MiscModalFreq.html

this can be perfectly used for modal synthesis (= the mode opcode in
csound, for instance in iain's wonderful example
http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
  for old-fashioned additive synthesis the amplitude series are missing.

so i am looking for something like this modal table which include
amplitudes for the partials.

cheers -
        joachim


On 02/03/2021 09:23, Stefan Thomas wrote:
> Dear Joachim,
> I assume You know the appendix "modal frequencies" of the csound manual.
> Maybee I can help You with to Udos.
> One Udo is for the partials of an ideal bar, following (2n+1)^2 and the
> other one is for stretched partials (similar to thick strings or
> something like this).
> You will  find these opcodes end of the mail.
> I don't remember where I found the formula for stretcged partials but I
> do remember, that values around 0.0004 are considered as being natural.
> Off course "insane" values sound also are very interesting.
> I personally would be interested in another couple of formulas, e.g.
> gong, triangle, tomtom, etc.
> Here my opcodes (sorry, comments are in german):
> /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> SYNTAX:
> StefansXylopartials inumparts,iftab
> inumparts = Anzahl der Teiltoene
> iftab = tabelle in die geschrieben werden soll, muss eine "leere"
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansXylopartials, 0,ii
> inumparts,iftab xin
>
> indx      =      0
> inenner = 9
> loop:
> inZ = indx+1
> izaehler = (2*inZ+1)^2
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts+1, loop
> endop
>
>
>
>
>
> ;;;;;
> /*OPCODE FOR STRETCHED PARTIALS
> SYNTAX:
> StefansStretchedPartials inumparts,istreck,iftab
> inumparts = Anzahl der Teiltoene
> istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> glockenspielartig
> iftab = tabelle in die geschrieben werden soll, muss eine "leere"
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansStretchedPartials, 0,iii
> inumparts,istreck,iftab xin
>
> indx      =      0
> inenner = sqrt(1+istreck)
> loop:
> inZ = indx+1
> izaehler = inZ*sqrt(1+istreck*inZ^2)
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts, loop
> endop
>
>
>
> Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
>
>     hi -
>
>     does anyone know internet resources about sound spectra which can be
>     used for additive resynthesis?  in particular percussive sounds.
>
>     cheers -
>              joachim
>
>     Csound mailing list
>     Csound@listserv.heanet.ie <mailto: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
> <mailto: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
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

Date2021-03-02 10:05
FromRory Walsh
SubjectRe: [Csnd] tables of sound spectra?
I'm not sure it's much help, but Michael Klingbeil's SPEAR software will export freq/amp data in text format. You would need to parse it to produce anything readable but the info is there. 

On Tue, 2 Mar 2021 at 09:44, Stefan Thomas <kontrapunktstefan@gmail.com> wrote:
Oh, yes, that would be interesting for me as well!
Stefan

Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz <jh@joachimheintz.de>:
hi stefan -

thanks for your help.  i think i was not clear enough in my question: i
am searching tables of real instrument spectra, somehow reduced to what
we need in additive resynthesis.  yes i know this nice table:
https://csound.com/docs/manual/MiscModalFreq.html

this can be perfectly used for modal synthesis (= the mode opcode in
csound, for instance in iain's wonderful example
http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
  for old-fashioned additive synthesis the amplitude series are missing.

so i am looking for something like this modal table which include
amplitudes for the partials.

cheers -
        joachim


On 02/03/2021 09:23, Stefan Thomas wrote:
> Dear Joachim,
> I assume You know the appendix "modal frequencies" of the csound manual.
> Maybee I can help You with to Udos.
> One Udo is for the partials of an ideal bar, following (2n+1)^2 and the
> other one is for stretched partials (similar to thick strings or
> something like this).
> You will  find these opcodes end of the mail.
> I don't remember where I found the formula for stretcged partials but I
> do remember, that values around 0.0004 are considered as being natural.
> Off course "insane" values sound also are very interesting.
> I personally would be interested in another couple of formulas, e.g.
> gong, triangle, tomtom, etc.
> Here my opcodes (sorry, comments are in german):
> /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> SYNTAX:
> StefansXylopartials inumparts,iftab
> inumparts = Anzahl der Teiltoene
> iftab = tabelle in die geschrieben werden soll, muss eine "leere"
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansXylopartials, 0,ii
> inumparts,iftab xin
>
> indx      =      0
> inenner = 9
> loop:
> inZ = indx+1
> izaehler = (2*inZ+1)^2
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts+1, loop
> endop
>
>
>
>
>
> ;;;;;
> /*OPCODE FOR STRETCHED PARTIALS
> SYNTAX:
> StefansStretchedPartials inumparts,istreck,iftab
> inumparts = Anzahl der Teiltoene
> istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> glockenspielartig
> iftab = tabelle in die geschrieben werden soll, muss eine "leere"
> Tabelle sein, wie z.B.
>    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> */
> opcode StefansStretchedPartials, 0,iii
> inumparts,istreck,iftab xin
>
> indx      =      0
> inenner = sqrt(1+istreck)
> loop:
> inZ = indx+1
> izaehler = inZ*sqrt(1+istreck*inZ^2)
> istrp = izaehler/inenner
>            tableiw   istrp, indx, iftab ;writes istart to table
>            loop_lt   indx, 1, inumparts, loop
> endop
>
>
>
> Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
>
>     hi -
>
>     does anyone know internet resources about sound spectra which can be
>     used for additive resynthesis?  in particular percussive sounds.
>
>     cheers -
>              joachim
>
>     Csound mailing list
>     Csound@listserv.heanet.ie <mailto: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
> <mailto: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
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

Date2021-03-02 11:36
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
yeah that's an idea, thanks.  also good old hetro would be a 
possibility, as it reduces the amount of amp/freq data via the algorithm.


On 02/03/2021 11:05, Rory Walsh wrote:
> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will 
> export freq/amp data in text format. You would need to parse it to 
> produce anything readable but the info is there.
> 
> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas  > wrote:
> 
>     Oh, yes, that would be interesting for me as well!
>     Stefan
> 
>     Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>     >:
> 
>         hi stefan -
> 
>         thanks for your help.  i think i was not clear enough in my
>         question: i
>         am searching tables of real instrument spectra, somehow reduced
>         to what
>         we need in additive resynthesis.  yes i know this nice table:
>         https://csound.com/docs/manual/MiscModalFreq.html
> 
>         this can be perfectly used for modal synthesis (= the mode
>         opcode in
>         csound, for instance in iain's wonderful example
>         http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> 
>            for old-fashioned additive synthesis the amplitude series are
>         missing.
> 
>         so i am looking for something like this modal table which include
>         amplitudes for the partials.
> 
>         cheers -
>                  joachim
> 
> 
>         On 02/03/2021 09:23, Stefan Thomas wrote:
>          > Dear Joachim,
>          > I assume You know the appendix "modal frequencies" of the
>         csound manual.
>          > Maybee I can help You with to Udos.
>          > One Udo is for the partials of an ideal bar, following
>         (2n+1)^2 and the
>          > other one is for stretched partials (similar to thick strings or
>          > something like this).
>          > You will  find these opcodes end of the mail.
>          > I don't remember where I found the formula for stretcged
>         partials but I
>          > do remember, that values around 0.0004 are considered as
>         being natural.
>          > Off course "insane" values sound also are very interesting.
>          > I personally would be interested in another couple of
>         formulas, e.g.
>          > gong, triangle, tomtom, etc.
>          > Here my opcodes (sorry, comments are in german):
>          > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>          > SYNTAX:
>          > StefansXylopartials inumparts,iftab
>          > inumparts = Anzahl der Teiltoene
>          > iftab = tabelle in die geschrieben werden soll, muss eine
>         "leere"
>          > Tabelle sein, wie z.B.
>          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>          > */
>          > opcode StefansXylopartials, 0,ii
>          > inumparts,iftab xin
>          >
>          > indx      =      0
>          > inenner = 9
>          > loop:
>          > inZ = indx+1
>          > izaehler = (2*inZ+1)^2
>          > istrp = izaehler/inenner
>          >            tableiw   istrp, indx, iftab ;writes istart to table
>          >            loop_lt   indx, 1, inumparts+1, loop
>          > endop
>          >
>          >
>          >
>          >
>          >
>          > ;;;;;
>          > /*OPCODE FOR STRETCHED PARTIALS
>          > SYNTAX:
>          > StefansStretchedPartials inumparts,istreck,iftab
>          > inumparts = Anzahl der Teiltoene
>          > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>          > glockenspielartig
>          > iftab = tabelle in die geschrieben werden soll, muss eine
>         "leere"
>          > Tabelle sein, wie z.B.
>          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>          > */
>          > opcode StefansStretchedPartials, 0,iii
>          > inumparts,istreck,iftab xin
>          >
>          > indx      =      0
>          > inenner = sqrt(1+istreck)
>          > loop:
>          > inZ = indx+1
>          > izaehler = inZ*sqrt(1+istreck*inZ^2)
>          > istrp = izaehler/inenner
>          >            tableiw   istrp, indx, iftab ;writes istart to table
>          >            loop_lt   indx, 1, inumparts, loop
>          > endop
>          >
>          >
>          >
>          > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>          > 
>         >>:
>          >
>          >     hi -
>          >
>          >     does anyone know internet resources about sound spectra
>         which can be
>          >     used for additive resynthesis?  in particular percussive
>         sounds.
>          >
>          >     cheers -
>          >              joachim
>          >
>          >     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
> 
>         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 
> 
> 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

Date2021-03-02 12:00
FromSteven Yi
SubjectRe: [Csnd] tables of sound spectra?
I usually run through an exercise in my course where I use Audacity to
analyze a sound (using the Analyze -> Plot Spectrum menu option) to
get frequency/amplitude values and have the students use code such as:

asig = oscili(ampdbfs( *dbval1* ), *freq1*)
asig += oscili(ampdbfs( *dbval2* ), *freq2*)
asig += oscili(ampdbfs( *dbval3* ), *freq3*)

where the *values* are replaced with the numeric values from Audacity.
I also have them look at the spectrogram view in Audacity to get an
idea of evolution of amplitude over time.  To simplify things I have
them analyze a guitar sample and use an expon for curves with starting
and ending values as decibels using ampdbfs.

Not sure if that's the kind of thing  you're looking for but thought
it worth mentioning.

I've also found PRAAT useful for analyzing sounds, though I haven't
spent a lot of time with it.

On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
>
> yeah that's an idea, thanks.  also good old hetro would be a
> possibility, as it reduces the amount of amp/freq data via the algorithm.
>
>
> On 02/03/2021 11:05, Rory Walsh wrote:
> > I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
> > export freq/amp data in text format. You would need to parse it to
> > produce anything readable but the info is there.
> >
> > On Tue, 2 Mar 2021 at 09:44, Stefan Thomas  > > wrote:
> >
> >     Oh, yes, that would be interesting for me as well!
> >     Stefan
> >
> >     Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
> >     >:
> >
> >         hi stefan -
> >
> >         thanks for your help.  i think i was not clear enough in my
> >         question: i
> >         am searching tables of real instrument spectra, somehow reduced
> >         to what
> >         we need in additive resynthesis.  yes i know this nice table:
> >         https://csound.com/docs/manual/MiscModalFreq.html
> >
> >         this can be perfectly used for modal synthesis (= the mode
> >         opcode in
> >         csound, for instance in iain's wonderful example
> >         http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> >
> >            for old-fashioned additive synthesis the amplitude series are
> >         missing.
> >
> >         so i am looking for something like this modal table which include
> >         amplitudes for the partials.
> >
> >         cheers -
> >                  joachim
> >
> >
> >         On 02/03/2021 09:23, Stefan Thomas wrote:
> >          > Dear Joachim,
> >          > I assume You know the appendix "modal frequencies" of the
> >         csound manual.
> >          > Maybee I can help You with to Udos.
> >          > One Udo is for the partials of an ideal bar, following
> >         (2n+1)^2 and the
> >          > other one is for stretched partials (similar to thick strings or
> >          > something like this).
> >          > You will  find these opcodes end of the mail.
> >          > I don't remember where I found the formula for stretcged
> >         partials but I
> >          > do remember, that values around 0.0004 are considered as
> >         being natural.
> >          > Off course "insane" values sound also are very interesting.
> >          > I personally would be interested in another couple of
> >         formulas, e.g.
> >          > gong, triangle, tomtom, etc.
> >          > Here my opcodes (sorry, comments are in german):
> >          > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> >          > SYNTAX:
> >          > StefansXylopartials inumparts,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansXylopartials, 0,ii
> >          > inumparts,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = 9
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = (2*inZ+1)^2
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts+1, loop
> >          > endop
> >          >
> >          >
> >          >
> >          >
> >          >
> >          > ;;;;;
> >          > /*OPCODE FOR STRETCHED PARTIALS
> >          > SYNTAX:
> >          > StefansStretchedPartials inumparts,istreck,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> >          > glockenspielartig
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansStretchedPartials, 0,iii
> >          > inumparts,istreck,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = sqrt(1+istreck)
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = inZ*sqrt(1+istreck*inZ^2)
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts, loop
> >          > endop
> >          >
> >          >
> >          >
> >          > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> >          > 
> >         >>:
> >          >
> >          >     hi -
> >          >
> >          >     does anyone know internet resources about sound spectra
> >         which can be
> >          >     used for additive resynthesis?  in particular percussive
> >         sounds.
> >          >
> >          >     cheers -
> >          >              joachim
> >          >
> >          >     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
> >
> >         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
> >
> > 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

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

Date2021-03-02 12:11
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
oh yes, that is also an option.  i did not look into this tool before; 
that is actually very useful.
thanks -
	j


On 02/03/2021 13:00, Steven Yi wrote:
> I usually run through an exercise in my course where I use Audacity to
> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
> get frequency/amplitude values and have the students use code such as:
> 
> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
> 
> where the *values* are replaced with the numeric values from Audacity.
> I also have them look at the spectrogram view in Audacity to get an
> idea of evolution of amplitude over time.  To simplify things I have
> them analyze a guitar sample and use an expon for curves with starting
> and ending values as decibels using ampdbfs.
> 
> Not sure if that's the kind of thing  you're looking for but thought
> it worth mentioning.
> 
> I've also found PRAAT useful for analyzing sounds, though I haven't
> spent a lot of time with it.
> 
> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
>>
>> yeah that's an idea, thanks.  also good old hetro would be a
>> possibility, as it reduces the amount of amp/freq data via the algorithm.
>>
>>
>> On 02/03/2021 11:05, Rory Walsh wrote:
>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
>>> export freq/amp data in text format. You would need to parse it to
>>> produce anything readable but the info is there.
>>>
>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas >> > wrote:
>>>
>>>      Oh, yes, that would be interesting for me as well!
>>>      Stefan
>>>
>>>      Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>      >:
>>>
>>>          hi stefan -
>>>
>>>          thanks for your help.  i think i was not clear enough in my
>>>          question: i
>>>          am searching tables of real instrument spectra, somehow reduced
>>>          to what
>>>          we need in additive resynthesis.  yes i know this nice table:
>>>          https://csound.com/docs/manual/MiscModalFreq.html
>>>
>>>          this can be perfectly used for modal synthesis (= the mode
>>>          opcode in
>>>          csound, for instance in iain's wonderful example
>>>          http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
>>>
>>>             for old-fashioned additive synthesis the amplitude series are
>>>          missing.
>>>
>>>          so i am looking for something like this modal table which include
>>>          amplitudes for the partials.
>>>
>>>          cheers -
>>>                   joachim
>>>
>>>
>>>          On 02/03/2021 09:23, Stefan Thomas wrote:
>>>           > Dear Joachim,
>>>           > I assume You know the appendix "modal frequencies" of the
>>>          csound manual.
>>>           > Maybee I can help You with to Udos.
>>>           > One Udo is for the partials of an ideal bar, following
>>>          (2n+1)^2 and the
>>>           > other one is for stretched partials (similar to thick strings or
>>>           > something like this).
>>>           > You will  find these opcodes end of the mail.
>>>           > I don't remember where I found the formula for stretcged
>>>          partials but I
>>>           > do remember, that values around 0.0004 are considered as
>>>          being natural.
>>>           > Off course "insane" values sound also are very interesting.
>>>           > I personally would be interested in another couple of
>>>          formulas, e.g.
>>>           > gong, triangle, tomtom, etc.
>>>           > Here my opcodes (sorry, comments are in german):
>>>           > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>           > SYNTAX:
>>>           > StefansXylopartials inumparts,iftab
>>>           > inumparts = Anzahl der Teiltoene
>>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>>>          "leere"
>>>           > Tabelle sein, wie z.B.
>>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>           > */
>>>           > opcode StefansXylopartials, 0,ii
>>>           > inumparts,iftab xin
>>>           >
>>>           > indx      =      0
>>>           > inenner = 9
>>>           > loop:
>>>           > inZ = indx+1
>>>           > izaehler = (2*inZ+1)^2
>>>           > istrp = izaehler/inenner
>>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>>>           >            loop_lt   indx, 1, inumparts+1, loop
>>>           > endop
>>>           >
>>>           >
>>>           >
>>>           >
>>>           >
>>>           > ;;;;;
>>>           > /*OPCODE FOR STRETCHED PARTIALS
>>>           > SYNTAX:
>>>           > StefansStretchedPartials inumparts,istreck,iftab
>>>           > inumparts = Anzahl der Teiltoene
>>>           > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>>>           > glockenspielartig
>>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>>>          "leere"
>>>           > Tabelle sein, wie z.B.
>>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>           > */
>>>           > opcode StefansStretchedPartials, 0,iii
>>>           > inumparts,istreck,iftab xin
>>>           >
>>>           > indx      =      0
>>>           > inenner = sqrt(1+istreck)
>>>           > loop:
>>>           > inZ = indx+1
>>>           > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>           > istrp = izaehler/inenner
>>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>>>           >            loop_lt   indx, 1, inumparts, loop
>>>           > endop
>>>           >
>>>           >
>>>           >
>>>           > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>>>           > 
>>>          >>:
>>>           >
>>>           >     hi -
>>>           >
>>>           >     does anyone know internet resources about sound spectra
>>>          which can be
>>>           >     used for additive resynthesis?  in particular percussive
>>>          sounds.
>>>           >
>>>           >     cheers -
>>>           >              joachim
>>>           >
>>>           >     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
>>>
>>>          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
>>>
>>> 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
> 
> 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

Date2021-03-02 12:28
FromRory Walsh
SubjectRe: [Csnd] tables of sound spectra?
I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre. 

Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.  

On Tue, 2 Mar 2021 at 12:12, joachim heintz <jh@joachimheintz.de> wrote:
oh yes, that is also an option.  i did not look into this tool before;
that is actually very useful.
thanks -
        j


On 02/03/2021 13:00, Steven Yi wrote:
> I usually run through an exercise in my course where I use Audacity to
> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
> get frequency/amplitude values and have the students use code such as:
>
> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>
> where the *values* are replaced with the numeric values from Audacity.
> I also have them look at the spectrogram view in Audacity to get an
> idea of evolution of amplitude over time.  To simplify things I have
> them analyze a guitar sample and use an expon for curves with starting
> and ending values as decibels using ampdbfs.
>
> Not sure if that's the kind of thing  you're looking for but thought
> it worth mentioning.
>
> I've also found PRAAT useful for analyzing sounds, though I haven't
> spent a lot of time with it.
>
> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz <jh@joachimheintz.de> wrote:
>>
>> yeah that's an idea, thanks.  also good old hetro would be a
>> possibility, as it reduces the amount of amp/freq data via the algorithm.
>>
>>
>> On 02/03/2021 11:05, Rory Walsh wrote:
>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
>>> export freq/amp data in text format. You would need to parse it to
>>> produce anything readable but the info is there.
>>>
>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas <kontrapunktstefan@gmail.com
>>> <mailto:kontrapunktstefan@gmail.com>> wrote:
>>>
>>>      Oh, yes, that would be interesting for me as well!
>>>      Stefan
>>>
>>>      Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>      <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
>>>
>>>          hi stefan -
>>>
>>>          thanks for your help.  i think i was not clear enough in my
>>>          question: i
>>>          am searching tables of real instrument spectra, somehow reduced
>>>          to what
>>>          we need in additive resynthesis.  yes i know this nice table:
>>>          https://csound.com/docs/manual/MiscModalFreq.html
>>>
>>>          this can be perfectly used for modal synthesis (= the mode
>>>          opcode in
>>>          csound, for instance in iain's wonderful example
>>>          http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
>>>
>>>             for old-fashioned additive synthesis the amplitude series are
>>>          missing.
>>>
>>>          so i am looking for something like this modal table which include
>>>          amplitudes for the partials.
>>>
>>>          cheers -
>>>                   joachim
>>>
>>>
>>>          On 02/03/2021 09:23, Stefan Thomas wrote:
>>>           > Dear Joachim,
>>>           > I assume You know the appendix "modal frequencies" of the
>>>          csound manual.
>>>           > Maybee I can help You with to Udos.
>>>           > One Udo is for the partials of an ideal bar, following
>>>          (2n+1)^2 and the
>>>           > other one is for stretched partials (similar to thick strings or
>>>           > something like this).
>>>           > You will  find these opcodes end of the mail.
>>>           > I don't remember where I found the formula for stretcged
>>>          partials but I
>>>           > do remember, that values around 0.0004 are considered as
>>>          being natural.
>>>           > Off course "insane" values sound also are very interesting.
>>>           > I personally would be interested in another couple of
>>>          formulas, e.g.
>>>           > gong, triangle, tomtom, etc.
>>>           > Here my opcodes (sorry, comments are in german):
>>>           > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>           > SYNTAX:
>>>           > StefansXylopartials inumparts,iftab
>>>           > inumparts = Anzahl der Teiltoene
>>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>>>          "leere"
>>>           > Tabelle sein, wie z.B.
>>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>           > */
>>>           > opcode StefansXylopartials, 0,ii
>>>           > inumparts,iftab xin
>>>           >
>>>           > indx      =      0
>>>           > inenner = 9
>>>           > loop:
>>>           > inZ = indx+1
>>>           > izaehler = (2*inZ+1)^2
>>>           > istrp = izaehler/inenner
>>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>>>           >            loop_lt   indx, 1, inumparts+1, loop
>>>           > endop
>>>           >
>>>           >
>>>           >
>>>           >
>>>           >
>>>           > ;;;;;
>>>           > /*OPCODE FOR STRETCHED PARTIALS
>>>           > SYNTAX:
>>>           > StefansStretchedPartials inumparts,istreck,iftab
>>>           > inumparts = Anzahl der Teiltoene
>>>           > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>>>           > glockenspielartig
>>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>>>          "leere"
>>>           > Tabelle sein, wie z.B.
>>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>           > */
>>>           > opcode StefansStretchedPartials, 0,iii
>>>           > inumparts,istreck,iftab xin
>>>           >
>>>           > indx      =      0
>>>           > inenner = sqrt(1+istreck)
>>>           > loop:
>>>           > inZ = indx+1
>>>           > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>           > istrp = izaehler/inenner
>>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>>>           >            loop_lt   indx, 1, inumparts, loop
>>>           > endop
>>>           >
>>>           >
>>>           >
>>>           > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>>>           > <jh@joachimheintz.de <mailto:jh@joachimheintz.de>
>>>          <mailto:jh@joachimheintz.de <mailto:jh@joachimheintz.de>>>:
>>>           >
>>>           >     hi -
>>>           >
>>>           >     does anyone know internet resources about sound spectra
>>>          which can be
>>>           >     used for additive resynthesis?  in particular percussive
>>>          sounds.
>>>           >
>>>           >     cheers -
>>>           >              joachim
>>>           >
>>>           >     Csound mailing list
>>>           > Csound@listserv.heanet.ie <mailto:Csound@listserv.heanet.ie>
>>>          <mailto:Csound@listserv.heanet.ie
>>>          <mailto: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
>>>          <mailto:Csound@listserv.heanet.ie>
>>>           > <mailto:Csound@listserv.heanet.ie
>>>          <mailto: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 <mailto: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
>>>      <mailto: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
>>> <mailto: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
>
> 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
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

Date2021-03-02 12:48
FromJoel Ross
SubjectRe: [Csnd] tables of sound spectra?
For a more automated approach, you could look at Xavier Serra's sms-tools

https://github.com/MTG/sms-tools

It can create harmonic and inharmonic additive models with many
partials from its analysis. If you play with the settings, you can get
substantially reduced synthesis with just a few partials too.

I haven't used it for a while so I don't remember how easy it is to
get this data out but I'm sure it's possible.

 Joel

On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
>
> I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre.
>
> Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.
>
> On Tue, 2 Mar 2021 at 12:12, joachim heintz  wrote:
>>
>> oh yes, that is also an option.  i did not look into this tool before;
>> that is actually very useful.
>> thanks -
>>         j
>>
>>
>> On 02/03/2021 13:00, Steven Yi wrote:
>> > I usually run through an exercise in my course where I use Audacity to
>> > analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>> > get frequency/amplitude values and have the students use code such as:
>> >
>> > asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>> > asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>> > asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>> >
>> > where the *values* are replaced with the numeric values from Audacity.
>> > I also have them look at the spectrogram view in Audacity to get an
>> > idea of evolution of amplitude over time.  To simplify things I have
>> > them analyze a guitar sample and use an expon for curves with starting
>> > and ending values as decibels using ampdbfs.
>> >
>> > Not sure if that's the kind of thing  you're looking for but thought
>> > it worth mentioning.
>> >
>> > I've also found PRAAT useful for analyzing sounds, though I haven't
>> > spent a lot of time with it.
>> >
>> > On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
>> >>
>> >> yeah that's an idea, thanks.  also good old hetro would be a
>> >> possibility, as it reduces the amount of amp/freq data via the algorithm.
>> >>
>> >>
>> >> On 02/03/2021 11:05, Rory Walsh wrote:
>> >>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
>> >>> export freq/amp data in text format. You would need to parse it to
>> >>> produce anything readable but the info is there.
>> >>>
>> >>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas > >>> > wrote:
>> >>>
>> >>>      Oh, yes, that would be interesting for me as well!
>> >>>      Stefan
>> >>>
>> >>>      Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>> >>>      >:
>> >>>
>> >>>          hi stefan -
>> >>>
>> >>>          thanks for your help.  i think i was not clear enough in my
>> >>>          question: i
>> >>>          am searching tables of real instrument spectra, somehow reduced
>> >>>          to what
>> >>>          we need in additive resynthesis.  yes i know this nice table:
>> >>>          https://csound.com/docs/manual/MiscModalFreq.html
>> >>>
>> >>>          this can be perfectly used for modal synthesis (= the mode
>> >>>          opcode in
>> >>>          csound, for instance in iain's wonderful example
>> >>>          http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
>> >>>
>> >>>             for old-fashioned additive synthesis the amplitude series are
>> >>>          missing.
>> >>>
>> >>>          so i am looking for something like this modal table which include
>> >>>          amplitudes for the partials.
>> >>>
>> >>>          cheers -
>> >>>                   joachim
>> >>>
>> >>>
>> >>>          On 02/03/2021 09:23, Stefan Thomas wrote:
>> >>>           > Dear Joachim,
>> >>>           > I assume You know the appendix "modal frequencies" of the
>> >>>          csound manual.
>> >>>           > Maybee I can help You with to Udos.
>> >>>           > One Udo is for the partials of an ideal bar, following
>> >>>          (2n+1)^2 and the
>> >>>           > other one is for stretched partials (similar to thick strings or
>> >>>           > something like this).
>> >>>           > You will  find these opcodes end of the mail.
>> >>>           > I don't remember where I found the formula for stretcged
>> >>>          partials but I
>> >>>           > do remember, that values around 0.0004 are considered as
>> >>>          being natural.
>> >>>           > Off course "insane" values sound also are very interesting.
>> >>>           > I personally would be interested in another couple of
>> >>>          formulas, e.g.
>> >>>           > gong, triangle, tomtom, etc.
>> >>>           > Here my opcodes (sorry, comments are in german):
>> >>>           > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>> >>>           > SYNTAX:
>> >>>           > StefansXylopartials inumparts,iftab
>> >>>           > inumparts = Anzahl der Teiltoene
>> >>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>> >>>          "leere"
>> >>>           > Tabelle sein, wie z.B.
>> >>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>> >>>           > */
>> >>>           > opcode StefansXylopartials, 0,ii
>> >>>           > inumparts,iftab xin
>> >>>           >
>> >>>           > indx      =      0
>> >>>           > inenner = 9
>> >>>           > loop:
>> >>>           > inZ = indx+1
>> >>>           > izaehler = (2*inZ+1)^2
>> >>>           > istrp = izaehler/inenner
>> >>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>> >>>           >            loop_lt   indx, 1, inumparts+1, loop
>> >>>           > endop
>> >>>           >
>> >>>           >
>> >>>           >
>> >>>           >
>> >>>           >
>> >>>           > ;;;;;
>> >>>           > /*OPCODE FOR STRETCHED PARTIALS
>> >>>           > SYNTAX:
>> >>>           > StefansStretchedPartials inumparts,istreck,iftab
>> >>>           > inumparts = Anzahl der Teiltoene
>> >>>           > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>> >>>           > glockenspielartig
>> >>>           > iftab = tabelle in die geschrieben werden soll, muss eine
>> >>>          "leere"
>> >>>           > Tabelle sein, wie z.B.
>> >>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>> >>>           > */
>> >>>           > opcode StefansStretchedPartials, 0,iii
>> >>>           > inumparts,istreck,iftab xin
>> >>>           >
>> >>>           > indx      =      0
>> >>>           > inenner = sqrt(1+istreck)
>> >>>           > loop:
>> >>>           > inZ = indx+1
>> >>>           > izaehler = inZ*sqrt(1+istreck*inZ^2)
>> >>>           > istrp = izaehler/inenner
>> >>>           >            tableiw   istrp, indx, iftab ;writes istart to table
>> >>>           >            loop_lt   indx, 1, inumparts, loop
>> >>>           > endop
>> >>>           >
>> >>>           >
>> >>>           >
>> >>>           > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>> >>>           > 
>> >>>          >>:
>> >>>           >
>> >>>           >     hi -
>> >>>           >
>> >>>           >     does anyone know internet resources about sound spectra
>> >>>          which can be
>> >>>           >     used for additive resynthesis?  in particular percussive
>> >>>          sounds.
>> >>>           >
>> >>>           >     cheers -
>> >>>           >              joachim
>> >>>           >
>> >>>           >     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
>> >>>
>> >>>          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
>> >>>
>> >>> 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
>> >
>> > 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
>
> 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

Date2021-03-02 15:45
FromSteven Yi
SubjectRe: [Csnd] tables of sound spectra?
Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
spend more time with both. RX Elements looks quite nice too, though
I'll wait until it's on sale before exploring that one. :)  Thanks
Joel too for mentioning sms-tools!

On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  wrote:
>
> For a more automated approach, you could look at Xavier Serra's sms-tools
>
> https://github.com/MTG/sms-tools
>
> It can create harmonic and inharmonic additive models with many
> partials from its analysis. If you play with the settings, you can get
> substantially reduced synthesis with just a few partials too.
>
> I haven't used it for a while so I don't remember how easy it is to
> get this data out but I'm sure it's possible.
>
>  Joel
>
> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
> >
> > I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre.
> >
> > Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.
> >
> > On Tue, 2 Mar 2021 at 12:12, joachim heintz  wrote:
> >>
> >> oh yes, that is also an option.  i did not look into this tool before;
> >> that is actually very useful.
> >> thanks -
> >>         j
> >>
> >>
> >> On 02/03/2021 13:00, Steven Yi wrote:
> >> > I usually run through an exercise in my course where I use Audacity to
> >> > analyze a sound (using the Analyze -> Plot Spectrum menu option) to
> >> > get frequency/amplitude values and have the students use code such as:
> >> >
> >> > asig = oscili(ampdbfs( *dbval1* ), *freq1*)
> >> > asig += oscili(ampdbfs( *dbval2* ), *freq2*)
> >> > asig += oscili(ampdbfs( *dbval3* ), *freq3*)
> >> >
> >> > where the *values* are replaced with the numeric values from Audacity.
> >> > I also have them look at the spectrogram view in Audacity to get an
> >> > idea of evolution of amplitude over time.  To simplify things I have
> >> > them analyze a guitar sample and use an expon for curves with starting
> >> > and ending values as decibels using ampdbfs.
> >> >
> >> > Not sure if that's the kind of thing  you're looking for but thought
> >> > it worth mentioning.
> >> >
> >> > I've also found PRAAT useful for analyzing sounds, though I haven't
> >> > spent a lot of time with it.
> >> >
> >> > On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
> >> >>
> >> >> yeah that's an idea, thanks.  also good old hetro would be a
> >> >> possibility, as it reduces the amount of amp/freq data via the algorithm.
> >> >>
> >> >>
> >> >> On 02/03/2021 11:05, Rory Walsh wrote:
> >> >>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
> >> >>> export freq/amp data in text format. You would need to parse it to
> >> >>> produce anything readable but the info is there.
> >> >>>
> >> >>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas  >> >>> > wrote:
> >> >>>
> >> >>>      Oh, yes, that would be interesting for me as well!
> >> >>>      Stefan
> >> >>>
> >> >>>      Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
> >> >>>      >:
> >> >>>
> >> >>>          hi stefan -
> >> >>>
> >> >>>          thanks for your help.  i think i was not clear enough in my
> >> >>>          question: i
> >> >>>          am searching tables of real instrument spectra, somehow reduced
> >> >>>          to what
> >> >>>          we need in additive resynthesis.  yes i know this nice table:
> >> >>>          https://csound.com/docs/manual/MiscModalFreq.html
> >> >>>
> >> >>>          this can be perfectly used for modal synthesis (= the mode
> >> >>>          opcode in
> >> >>>          csound, for instance in iain's wonderful example
> >> >>>          http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> >> >>>
> >> >>>             for old-fashioned additive synthesis the amplitude series are
> >> >>>          missing.
> >> >>>
> >> >>>          so i am looking for something like this modal table which include
> >> >>>          amplitudes for the partials.
> >> >>>
> >> >>>          cheers -
> >> >>>                   joachim
> >> >>>
> >> >>>
> >> >>>          On 02/03/2021 09:23, Stefan Thomas wrote:
> >> >>>           > Dear Joachim,
> >> >>>           > I assume You know the appendix "modal frequencies" of the
> >> >>>          csound manual.
> >> >>>           > Maybee I can help You with to Udos.
> >> >>>           > One Udo is for the partials of an ideal bar, following
> >> >>>          (2n+1)^2 and the
> >> >>>           > other one is for stretched partials (similar to thick strings or
> >> >>>           > something like this).
> >> >>>           > You will  find these opcodes end of the mail.
> >> >>>           > I don't remember where I found the formula for stretcged
> >> >>>          partials but I
> >> >>>           > do remember, that values around 0.0004 are considered as
> >> >>>          being natural.
> >> >>>           > Off course "insane" values sound also are very interesting.
> >> >>>           > I personally would be interested in another couple of
> >> >>>          formulas, e.g.
> >> >>>           > gong, triangle, tomtom, etc.
> >> >>>           > Here my opcodes (sorry, comments are in german):
> >> >>>           > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> >> >>>           > SYNTAX:
> >> >>>           > StefansXylopartials inumparts,iftab
> >> >>>           > inumparts = Anzahl der Teiltoene
> >> >>>           > iftab = tabelle in die geschrieben werden soll, muss eine
> >> >>>          "leere"
> >> >>>           > Tabelle sein, wie z.B.
> >> >>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >> >>>           > */
> >> >>>           > opcode StefansXylopartials, 0,ii
> >> >>>           > inumparts,iftab xin
> >> >>>           >
> >> >>>           > indx      =      0
> >> >>>           > inenner = 9
> >> >>>           > loop:
> >> >>>           > inZ = indx+1
> >> >>>           > izaehler = (2*inZ+1)^2
> >> >>>           > istrp = izaehler/inenner
> >> >>>           >            tableiw   istrp, indx, iftab ;writes istart to table
> >> >>>           >            loop_lt   indx, 1, inumparts+1, loop
> >> >>>           > endop
> >> >>>           >
> >> >>>           >
> >> >>>           >
> >> >>>           >
> >> >>>           >
> >> >>>           > ;;;;;
> >> >>>           > /*OPCODE FOR STRETCHED PARTIALS
> >> >>>           > SYNTAX:
> >> >>>           > StefansStretchedPartials inumparts,istreck,iftab
> >> >>>           > inumparts = Anzahl der Teiltoene
> >> >>>           > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> >> >>>           > glockenspielartig
> >> >>>           > iftab = tabelle in die geschrieben werden soll, muss eine
> >> >>>          "leere"
> >> >>>           > Tabelle sein, wie z.B.
> >> >>>           >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >> >>>           > */
> >> >>>           > opcode StefansStretchedPartials, 0,iii
> >> >>>           > inumparts,istreck,iftab xin
> >> >>>           >
> >> >>>           > indx      =      0
> >> >>>           > inenner = sqrt(1+istreck)
> >> >>>           > loop:
> >> >>>           > inZ = indx+1
> >> >>>           > izaehler = inZ*sqrt(1+istreck*inZ^2)
> >> >>>           > istrp = izaehler/inenner
> >> >>>           >            tableiw   istrp, indx, iftab ;writes istart to table
> >> >>>           >            loop_lt   indx, 1, inumparts, loop
> >> >>>           > endop
> >> >>>           >
> >> >>>           >
> >> >>>           >
> >> >>>           > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> >> >>>           > 
> >> >>>          >>:
> >> >>>           >
> >> >>>           >     hi -
> >> >>>           >
> >> >>>           >     does anyone know internet resources about sound spectra
> >> >>>          which can be
> >> >>>           >     used for additive resynthesis?  in particular percussive
> >> >>>          sounds.
> >> >>>           >
> >> >>>           >     cheers -
> >> >>>           >              joachim
> >> >>>           >
> >> >>>           >     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
> >> >>>
> >> >>>          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
> >> >>>
> >> >>> 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
> >> >
> >> > 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
> >
> > 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

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

Date2021-03-03 13:45
FromEduardo Moguillansky
SubjectRe: [Csnd] tables of sound spectra?
Sorry to plug my own project, but you can take a look at 
https://github.com/gesellkammer/loristrck

Installation via

$ pip install loristrck

That will install a script loristrck_chord, which can be used as:

$ loristrck_chord -t 0.3

On 02.03.21 16:45, Steven Yi wrote:
> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
> spend more time with both. RX Elements looks quite nice too, though
> I'll wait until it's on sale before exploring that one. :)  Thanks
> Joel too for mentioning sms-tools!
>
> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  wrote:
>> For a more automated approach, you could look at Xavier Serra's sms-tools
>>
>> https://github.com/MTG/sms-tools
>>
>> It can create harmonic and inharmonic additive models with many
>> partials from its analysis. If you play with the settings, you can get
>> substantially reduced synthesis with just a few partials too.
>>
>> I haven't used it for a while so I don't remember how easy it is to
>> get this data out but I'm sure it's possible.
>>
>>   Joel
>>
>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
>>> I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre.
>>>
>>> Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.
>>>
>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz  wrote:
>>>> oh yes, that is also an option.  i did not look into this tool before;
>>>> that is actually very useful.
>>>> thanks -
>>>>          j
>>>>
>>>>
>>>> On 02/03/2021 13:00, Steven Yi wrote:
>>>>> I usually run through an exercise in my course where I use Audacity to
>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>>>>> get frequency/amplitude values and have the students use code such as:
>>>>>
>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>>>>>
>>>>> where the *values* are replaced with the numeric values from Audacity.
>>>>> I also have them look at the spectrogram view in Audacity to get an
>>>>> idea of evolution of amplitude over time.  To simplify things I have
>>>>> them analyze a guitar sample and use an expon for curves with starting
>>>>> and ending values as decibels using ampdbfs.
>>>>>
>>>>> Not sure if that's the kind of thing  you're looking for but thought
>>>>> it worth mentioning.
>>>>>
>>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
>>>>> spent a lot of time with it.
>>>>>
>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>>>>>> possibility, as it reduces the amount of amp/freq data via the algorithm.
>>>>>>
>>>>>>
>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
>>>>>>> export freq/amp data in text format. You would need to parse it to
>>>>>>> produce anything readable but the info is there.
>>>>>>>
>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas >>>>>> > wrote:
>>>>>>>
>>>>>>>       Oh, yes, that would be interesting for me as well!
>>>>>>>       Stefan
>>>>>>>
>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>>>>>       >:
>>>>>>>
>>>>>>>           hi stefan -
>>>>>>>
>>>>>>>           thanks for your help.  i think i was not clear enough in my
>>>>>>>           question: i
>>>>>>>           am searching tables of real instrument spectra, somehow reduced
>>>>>>>           to what
>>>>>>>           we need in additive resynthesis.  yes i know this nice table:
>>>>>>>           https://csound.com/docs/manual/MiscModalFreq.html
>>>>>>>
>>>>>>>           this can be perfectly used for modal synthesis (= the mode
>>>>>>>           opcode in
>>>>>>>           csound, for instance in iain's wonderful example
>>>>>>>           http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
>>>>>>>
>>>>>>>              for old-fashioned additive synthesis the amplitude series are
>>>>>>>           missing.
>>>>>>>
>>>>>>>           so i am looking for something like this modal table which include
>>>>>>>           amplitudes for the partials.
>>>>>>>
>>>>>>>           cheers -
>>>>>>>                    joachim
>>>>>>>
>>>>>>>
>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>>>>>>>            > Dear Joachim,
>>>>>>>            > I assume You know the appendix "modal frequencies" of the
>>>>>>>           csound manual.
>>>>>>>            > Maybee I can help You with to Udos.
>>>>>>>            > One Udo is for the partials of an ideal bar, following
>>>>>>>           (2n+1)^2 and the
>>>>>>>            > other one is for stretched partials (similar to thick strings or
>>>>>>>            > something like this).
>>>>>>>            > You will  find these opcodes end of the mail.
>>>>>>>            > I don't remember where I found the formula for stretcged
>>>>>>>           partials but I
>>>>>>>            > do remember, that values around 0.0004 are considered as
>>>>>>>           being natural.
>>>>>>>            > Off course "insane" values sound also are very interesting.
>>>>>>>            > I personally would be interested in another couple of
>>>>>>>           formulas, e.g.
>>>>>>>            > gong, triangle, tomtom, etc.
>>>>>>>            > Here my opcodes (sorry, comments are in german):
>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>>>>>            > SYNTAX:
>>>>>>>            > StefansXylopartials inumparts,iftab
>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
>>>>>>>           "leere"
>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>            > */
>>>>>>>            > opcode StefansXylopartials, 0,ii
>>>>>>>            > inumparts,iftab xin
>>>>>>>            >
>>>>>>>            > indx      =      0
>>>>>>>            > inenner = 9
>>>>>>>            > loop:
>>>>>>>            > inZ = indx+1
>>>>>>>            > izaehler = (2*inZ+1)^2
>>>>>>>            > istrp = izaehler/inenner
>>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>>>>>>>            > endop
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            > ;;;;;
>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>>>>>>>            > SYNTAX:
>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>>>>>>>            > glockenspielartig
>>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
>>>>>>>           "leere"
>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>            > */
>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>>>>>>>            > inumparts,istreck,iftab xin
>>>>>>>            >
>>>>>>>            > indx      =      0
>>>>>>>            > inenner = sqrt(1+istreck)
>>>>>>>            > loop:
>>>>>>>            > inZ = indx+1
>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>>>>>            > istrp = izaehler/inenner
>>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>>>>>>>            > endop
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>>>>>>>            > 
>>>>>>>           >>:
>>>>>>>            >
>>>>>>>            >     hi -
>>>>>>>            >
>>>>>>>            >     does anyone know internet resources about sound spectra
>>>>>>>           which can be
>>>>>>>            >     used for additive resynthesis?  in particular percussive
>>>>>>>           sounds.
>>>>>>>            >
>>>>>>>            >     cheers -
>>>>>>>            >              joachim
>>>>>>>            >
>>>>>>>            >     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
>>>>>>>
>>>>>>>           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
>>>>>>>
>>>>>>> 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
>>>>> 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
>>> 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
> 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

Date2021-03-03 13:50
FromEduardo Moguillansky
SubjectRe: [Csnd] tables of sound spectra?
Sorry to plug my own side-project, but you can take a look at 
https://github.com/gesellkammer/loristrck

Installation via

$ pip install loristrck

That will install a script loristrck_chord, which can be used as:

$ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac spring6.sdif

That will extract the chord at time 0.3 out of a previously analyzed 
sdif file and extract the 6 most prominent partials and output their 
notes, frequencies and amplitudes in csv format to stdout. It will also 
playback such chord or generate a soundfile.

The analysis can be done via the script "loristrck_analyze"

---
Eduardo

On 02.03.21 16:45, Steven Yi wrote:
> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
> spend more time with both. RX Elements looks quite nice too, though
> I'll wait until it's on sale before exploring that one. :)  Thanks
> Joel too for mentioning sms-tools!
>
> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  wrote:
>> For a more automated approach, you could look at Xavier Serra's sms-tools
>>
>> https://github.com/MTG/sms-tools
>>
>> It can create harmonic and inharmonic additive models with many
>> partials from its analysis. If you play with the settings, you can get
>> substantially reduced synthesis with just a few partials too.
>>
>> I haven't used it for a while so I don't remember how easy it is to
>> get this data out but I'm sure it's possible.
>>
>>   Joel
>>
>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
>>> I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre.
>>>
>>> Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.
>>>
>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz  wrote:
>>>> oh yes, that is also an option.  i did not look into this tool before;
>>>> that is actually very useful.
>>>> thanks -
>>>>          j
>>>>
>>>>
>>>> On 02/03/2021 13:00, Steven Yi wrote:
>>>>> I usually run through an exercise in my course where I use Audacity to
>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>>>>> get frequency/amplitude values and have the students use code such as:
>>>>>
>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>>>>>
>>>>> where the *values* are replaced with the numeric values from Audacity.
>>>>> I also have them look at the spectrogram view in Audacity to get an
>>>>> idea of evolution of amplitude over time.  To simplify things I have
>>>>> them analyze a guitar sample and use an expon for curves with starting
>>>>> and ending values as decibels using ampdbfs.
>>>>>
>>>>> Not sure if that's the kind of thing  you're looking for but thought
>>>>> it worth mentioning.
>>>>>
>>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
>>>>> spent a lot of time with it.
>>>>>
>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>>>>>> possibility, as it reduces the amount of amp/freq data via the algorithm.
>>>>>>
>>>>>>
>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
>>>>>>> export freq/amp data in text format. You would need to parse it to
>>>>>>> produce anything readable but the info is there.
>>>>>>>
>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas >>>>>> > wrote:
>>>>>>>
>>>>>>>       Oh, yes, that would be interesting for me as well!
>>>>>>>       Stefan
>>>>>>>
>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>>>>>       >:
>>>>>>>
>>>>>>>           hi stefan -
>>>>>>>
>>>>>>>           thanks for your help.  i think i was not clear enough in my
>>>>>>>           question: i
>>>>>>>           am searching tables of real instrument spectra, somehow reduced
>>>>>>>           to what
>>>>>>>           we need in additive resynthesis.  yes i know this nice table:
>>>>>>>           https://csound.com/docs/manual/MiscModalFreq.html
>>>>>>>
>>>>>>>           this can be perfectly used for modal synthesis (= the mode
>>>>>>>           opcode in
>>>>>>>           csound, for instance in iain's wonderful example
>>>>>>>           http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
>>>>>>>
>>>>>>>              for old-fashioned additive synthesis the amplitude series are
>>>>>>>           missing.
>>>>>>>
>>>>>>>           so i am looking for something like this modal table which include
>>>>>>>           amplitudes for the partials.
>>>>>>>
>>>>>>>           cheers -
>>>>>>>                    joachim
>>>>>>>
>>>>>>>
>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>>>>>>>            > Dear Joachim,
>>>>>>>            > I assume You know the appendix "modal frequencies" of the
>>>>>>>           csound manual.
>>>>>>>            > Maybee I can help You with to Udos.
>>>>>>>            > One Udo is for the partials of an ideal bar, following
>>>>>>>           (2n+1)^2 and the
>>>>>>>            > other one is for stretched partials (similar to thick strings or
>>>>>>>            > something like this).
>>>>>>>            > You will  find these opcodes end of the mail.
>>>>>>>            > I don't remember where I found the formula for stretcged
>>>>>>>           partials but I
>>>>>>>            > do remember, that values around 0.0004 are considered as
>>>>>>>           being natural.
>>>>>>>            > Off course "insane" values sound also are very interesting.
>>>>>>>            > I personally would be interested in another couple of
>>>>>>>           formulas, e.g.
>>>>>>>            > gong, triangle, tomtom, etc.
>>>>>>>            > Here my opcodes (sorry, comments are in german):
>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>>>>>            > SYNTAX:
>>>>>>>            > StefansXylopartials inumparts,iftab
>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
>>>>>>>           "leere"
>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>            > */
>>>>>>>            > opcode StefansXylopartials, 0,ii
>>>>>>>            > inumparts,iftab xin
>>>>>>>            >
>>>>>>>            > indx      =      0
>>>>>>>            > inenner = 9
>>>>>>>            > loop:
>>>>>>>            > inZ = indx+1
>>>>>>>            > izaehler = (2*inZ+1)^2
>>>>>>>            > istrp = izaehler/inenner
>>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>>>>>>>            > endop
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            > ;;;;;
>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>>>>>>>            > SYNTAX:
>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
>>>>>>>            > glockenspielartig
>>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
>>>>>>>           "leere"
>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>            > */
>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>>>>>>>            > inumparts,istreck,iftab xin
>>>>>>>            >
>>>>>>>            > indx      =      0
>>>>>>>            > inenner = sqrt(1+istreck)
>>>>>>>            > loop:
>>>>>>>            > inZ = indx+1
>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>>>>>            > istrp = izaehler/inenner
>>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>>>>>>>            > endop
>>>>>>>            >
>>>>>>>            >
>>>>>>>            >
>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
>>>>>>>            > 
>>>>>>>           >>:
>>>>>>>            >
>>>>>>>            >     hi -
>>>>>>>            >
>>>>>>>            >     does anyone know internet resources about sound spectra
>>>>>>>           which can be
>>>>>>>            >     used for additive resynthesis?  in particular percussive
>>>>>>>           sounds.
>>>>>>>            >
>>>>>>>            >     cheers -
>>>>>>>            >              joachim
>>>>>>>            >
>>>>>>>            >     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
>>>>>>>
>>>>>>>           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
>>>>>>>
>>>>>>> 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
>>>>> 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
>>> 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
> 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

Date2021-03-03 14:47
FromSteven Yi
SubjectRe: [Csnd] tables of sound spectra?
Hi Eduardo,

Thanks for mentioning your project, this and all of the other
libraries look great!  Looking forward to trying these out.

All best,
Steven

On Wed, Mar 3, 2021 at 8:50 AM Eduardo Moguillansky
 wrote:
>
> Sorry to plug my own side-project, but you can take a look at
> https://github.com/gesellkammer/loristrck
>
> Installation via
>
> $ pip install loristrck
>
> That will install a script loristrck_chord, which can be used as:
>
> $ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac spring6.sdif
>
> That will extract the chord at time 0.3 out of a previously analyzed
> sdif file and extract the 6 most prominent partials and output their
> notes, frequencies and amplitudes in csv format to stdout. It will also
> playback such chord or generate a soundfile.
>
> The analysis can be done via the script "loristrck_analyze"
>
> ---
> Eduardo
>
> On 02.03.21 16:45, Steven Yi wrote:
> > Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
> > spend more time with both. RX Elements looks quite nice too, though
> > I'll wait until it's on sale before exploring that one. :)  Thanks
> > Joel too for mentioning sms-tools!
> >
> > On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  wrote:
> >> For a more automated approach, you could look at Xavier Serra's sms-tools
> >>
> >> https://github.com/MTG/sms-tools
> >>
> >> It can create harmonic and inharmonic additive models with many
> >> partials from its analysis. If you play with the settings, you can get
> >> substantially reduced synthesis with just a few partials too.
> >>
> >> I haven't used it for a while so I don't remember how easy it is to
> >> get this data out but I'm sure it's possible.
> >>
> >>   Joel
> >>
> >> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
> >>> I do the very same as Steven but prefer the spectrogram in Sonic Visualiser. It lets you choose very large windows sizes which give really high-res spectrograms. On the other hand, I also find it useful to open sounds in SPEAR and get the students to manually remove partials that are not so important to the overall timbre.
> >>>
> >>> Finally, I have started using IZotope's RX Elements, a slimmed down and much cheaper version of their full FX suite. It's Mac and Windows only, but it lets you select and draw around portions of the spectrum which you can then export to a new track. Another great way of exploring a sound's spectra.
> >>>
> >>> On Tue, 2 Mar 2021 at 12:12, joachim heintz  wrote:
> >>>> oh yes, that is also an option.  i did not look into this tool before;
> >>>> that is actually very useful.
> >>>> thanks -
> >>>>          j
> >>>>
> >>>>
> >>>> On 02/03/2021 13:00, Steven Yi wrote:
> >>>>> I usually run through an exercise in my course where I use Audacity to
> >>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
> >>>>> get frequency/amplitude values and have the students use code such as:
> >>>>>
> >>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
> >>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
> >>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
> >>>>>
> >>>>> where the *values* are replaced with the numeric values from Audacity.
> >>>>> I also have them look at the spectrogram view in Audacity to get an
> >>>>> idea of evolution of amplitude over time.  To simplify things I have
> >>>>> them analyze a guitar sample and use an expon for curves with starting
> >>>>> and ending values as decibels using ampdbfs.
> >>>>>
> >>>>> Not sure if that's the kind of thing  you're looking for but thought
> >>>>> it worth mentioning.
> >>>>>
> >>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
> >>>>> spent a lot of time with it.
> >>>>>
> >>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz  wrote:
> >>>>>> yeah that's an idea, thanks.  also good old hetro would be a
> >>>>>> possibility, as it reduces the amount of amp/freq data via the algorithm.
> >>>>>>
> >>>>>>
> >>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
> >>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
> >>>>>>> export freq/amp data in text format. You would need to parse it to
> >>>>>>> produce anything readable but the info is there.
> >>>>>>>
> >>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas  >>>>>>> > wrote:
> >>>>>>>
> >>>>>>>       Oh, yes, that would be interesting for me as well!
> >>>>>>>       Stefan
> >>>>>>>
> >>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
> >>>>>>>       >:
> >>>>>>>
> >>>>>>>           hi stefan -
> >>>>>>>
> >>>>>>>           thanks for your help.  i think i was not clear enough in my
> >>>>>>>           question: i
> >>>>>>>           am searching tables of real instrument spectra, somehow reduced
> >>>>>>>           to what
> >>>>>>>           we need in additive resynthesis.  yes i know this nice table:
> >>>>>>>           https://csound.com/docs/manual/MiscModalFreq.html
> >>>>>>>
> >>>>>>>           this can be perfectly used for modal synthesis (= the mode
> >>>>>>>           opcode in
> >>>>>>>           csound, for instance in iain's wonderful example
> >>>>>>>           http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> >>>>>>>
> >>>>>>>              for old-fashioned additive synthesis the amplitude series are
> >>>>>>>           missing.
> >>>>>>>
> >>>>>>>           so i am looking for something like this modal table which include
> >>>>>>>           amplitudes for the partials.
> >>>>>>>
> >>>>>>>           cheers -
> >>>>>>>                    joachim
> >>>>>>>
> >>>>>>>
> >>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
> >>>>>>>            > Dear Joachim,
> >>>>>>>            > I assume You know the appendix "modal frequencies" of the
> >>>>>>>           csound manual.
> >>>>>>>            > Maybee I can help You with to Udos.
> >>>>>>>            > One Udo is for the partials of an ideal bar, following
> >>>>>>>           (2n+1)^2 and the
> >>>>>>>            > other one is for stretched partials (similar to thick strings or
> >>>>>>>            > something like this).
> >>>>>>>            > You will  find these opcodes end of the mail.
> >>>>>>>            > I don't remember where I found the formula for stretcged
> >>>>>>>           partials but I
> >>>>>>>            > do remember, that values around 0.0004 are considered as
> >>>>>>>           being natural.
> >>>>>>>            > Off course "insane" values sound also are very interesting.
> >>>>>>>            > I personally would be interested in another couple of
> >>>>>>>           formulas, e.g.
> >>>>>>>            > gong, triangle, tomtom, etc.
> >>>>>>>            > Here my opcodes (sorry, comments are in german):
> >>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> >>>>>>>            > SYNTAX:
> >>>>>>>            > StefansXylopartials inumparts,iftab
> >>>>>>>            > inumparts = Anzahl der Teiltoene
> >>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
> >>>>>>>           "leere"
> >>>>>>>            > Tabelle sein, wie z.B.
> >>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >>>>>>>            > */
> >>>>>>>            > opcode StefansXylopartials, 0,ii
> >>>>>>>            > inumparts,iftab xin
> >>>>>>>            >
> >>>>>>>            > indx      =      0
> >>>>>>>            > inenner = 9
> >>>>>>>            > loop:
> >>>>>>>            > inZ = indx+1
> >>>>>>>            > izaehler = (2*inZ+1)^2
> >>>>>>>            > istrp = izaehler/inenner
> >>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
> >>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
> >>>>>>>            > endop
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            > ;;;;;
> >>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
> >>>>>>>            > SYNTAX:
> >>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
> >>>>>>>            > inumparts = Anzahl der Teiltoene
> >>>>>>>            > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> >>>>>>>            > glockenspielartig
> >>>>>>>            > iftab = tabelle in die geschrieben werden soll, muss eine
> >>>>>>>           "leere"
> >>>>>>>            > Tabelle sein, wie z.B.
> >>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >>>>>>>            > */
> >>>>>>>            > opcode StefansStretchedPartials, 0,iii
> >>>>>>>            > inumparts,istreck,iftab xin
> >>>>>>>            >
> >>>>>>>            > indx      =      0
> >>>>>>>            > inenner = sqrt(1+istreck)
> >>>>>>>            > loop:
> >>>>>>>            > inZ = indx+1
> >>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
> >>>>>>>            > istrp = izaehler/inenner
> >>>>>>>            >            tableiw   istrp, indx, iftab ;writes istart to table
> >>>>>>>            >            loop_lt   indx, 1, inumparts, loop
> >>>>>>>            > endop
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            >
> >>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> >>>>>>>            > 
> >>>>>>>           >>:
> >>>>>>>            >
> >>>>>>>            >     hi -
> >>>>>>>            >
> >>>>>>>            >     does anyone know internet resources about sound spectra
> >>>>>>>           which can be
> >>>>>>>            >     used for additive resynthesis?  in particular percussive
> >>>>>>>           sounds.
> >>>>>>>            >
> >>>>>>>            >     cheers -
> >>>>>>>            >              joachim
> >>>>>>>            >
> >>>>>>>            >     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
> >>>>>>>
> >>>>>>>           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
> >>>>>>>
> >>>>>>> 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
> >>>>> 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
> >>> 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
> > 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

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

Date2021-03-08 16:29
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
thanks --- that might exactly offer what i am looking for.

i installed following your advice.  loristrck_analyze works, but 
loristrck_chord is not being found.  in /usr/local/bin is only
loristrck_analyze  loristrck_pack     loristrck_play

is it because my python is 3.7, but 3.8 is required?

best -
	joachim


On 03/03/2021 14:50, Eduardo Moguillansky wrote:
> Sorry to plug my own side-project, but you can take a look at 
> https://github.com/gesellkammer/loristrck
> 
> Installation via
> 
> $ pip install loristrck
> 
> That will install a script loristrck_chord, which can be used as:
> 
> $ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac 
> spring6.sdif
> 
> That will extract the chord at time 0.3 out of a previously analyzed 
> sdif file and extract the 6 most prominent partials and output their 
> notes, frequencies and amplitudes in csv format to stdout. It will also 
> playback such chord or generate a soundfile.
> 
> The analysis can be done via the script "loristrck_analyze"
> 
> ---
> Eduardo
> 
> On 02.03.21 16:45, Steven Yi wrote:
>> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
>> spend more time with both. RX Elements looks quite nice too, though
>> I'll wait until it's on sale before exploring that one. :)  Thanks
>> Joel too for mentioning sms-tools!
>>
>> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  
>> wrote:
>>> For a more automated approach, you could look at Xavier Serra's 
>>> sms-tools
>>>
>>> https://github.com/MTG/sms-tools
>>>
>>> It can create harmonic and inharmonic additive models with many
>>> partials from its analysis. If you play with the settings, you can get
>>> substantially reduced synthesis with just a few partials too.
>>>
>>> I haven't used it for a while so I don't remember how easy it is to
>>> get this data out but I'm sure it's possible.
>>>
>>>   Joel
>>>
>>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
>>>> I do the very same as Steven but prefer the spectrogram in Sonic 
>>>> Visualiser. It lets you choose very large windows sizes which give 
>>>> really high-res spectrograms. On the other hand, I also find it 
>>>> useful to open sounds in SPEAR and get the students to manually 
>>>> remove partials that are not so important to the overall timbre.
>>>>
>>>> Finally, I have started using IZotope's RX Elements, a slimmed down 
>>>> and much cheaper version of their full FX suite. It's Mac and 
>>>> Windows only, but it lets you select and draw around portions of the 
>>>> spectrum which you can then export to a new track. Another great way 
>>>> of exploring a sound's spectra.
>>>>
>>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz  
>>>> wrote:
>>>>> oh yes, that is also an option.  i did not look into this tool before;
>>>>> that is actually very useful.
>>>>> thanks -
>>>>>          j
>>>>>
>>>>>
>>>>> On 02/03/2021 13:00, Steven Yi wrote:
>>>>>> I usually run through an exercise in my course where I use 
>>>>>> Audacity to
>>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>>>>>> get frequency/amplitude values and have the students use code such 
>>>>>> as:
>>>>>>
>>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>>>>>>
>>>>>> where the *values* are replaced with the numeric values from 
>>>>>> Audacity.
>>>>>> I also have them look at the spectrogram view in Audacity to get an
>>>>>> idea of evolution of amplitude over time.  To simplify things I have
>>>>>> them analyze a guitar sample and use an expon for curves with 
>>>>>> starting
>>>>>> and ending values as decibels using ampdbfs.
>>>>>>
>>>>>> Not sure if that's the kind of thing  you're looking for but thought
>>>>>> it worth mentioning.
>>>>>>
>>>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
>>>>>> spent a lot of time with it.
>>>>>>
>>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz 
>>>>>>  wrote:
>>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>>>>>>> possibility, as it reduces the amount of amp/freq data via the 
>>>>>>> algorithm.
>>>>>>>
>>>>>>>
>>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR 
>>>>>>>> software will
>>>>>>>> export freq/amp data in text format. You would need to parse it to
>>>>>>>> produce anything readable but the info is there.
>>>>>>>>
>>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas 
>>>>>>>> >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>       Oh, yes, that would be interesting for me as well!
>>>>>>>>       Stefan
>>>>>>>>
>>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>>>>>>       >:
>>>>>>>>
>>>>>>>>           hi stefan -
>>>>>>>>
>>>>>>>>           thanks for your help.  i think i was not clear enough 
>>>>>>>> in my
>>>>>>>>           question: i
>>>>>>>>           am searching tables of real instrument spectra, 
>>>>>>>> somehow reduced
>>>>>>>>           to what
>>>>>>>>           we need in additive resynthesis.  yes i know this nice 
>>>>>>>> table:
>>>>>>>>           https://csound.com/docs/manual/MiscModalFreq.html
>>>>>>>>
>>>>>>>>           this can be perfectly used for modal synthesis (= the 
>>>>>>>> mode
>>>>>>>>           opcode in
>>>>>>>>           csound, for instance in iain's wonderful example
>>>>>>>>           
>>>>>>>> http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd). 
>>>>>>>>
>>>>>>>>
>>>>>>>>              for old-fashioned additive synthesis the amplitude 
>>>>>>>> series are
>>>>>>>>           missing.
>>>>>>>>
>>>>>>>>           so i am looking for something like this modal table 
>>>>>>>> which include
>>>>>>>>           amplitudes for the partials.
>>>>>>>>
>>>>>>>>           cheers -
>>>>>>>>                    joachim
>>>>>>>>
>>>>>>>>
>>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>>>>>>>>            > Dear Joachim,
>>>>>>>>            > I assume You know the appendix "modal frequencies" 
>>>>>>>> of the
>>>>>>>>           csound manual.
>>>>>>>>            > Maybee I can help You with to Udos.
>>>>>>>>            > One Udo is for the partials of an ideal bar, following
>>>>>>>>           (2n+1)^2 and the
>>>>>>>>            > other one is for stretched partials (similar to 
>>>>>>>> thick strings or
>>>>>>>>            > something like this).
>>>>>>>>            > You will  find these opcodes end of the mail.
>>>>>>>>            > I don't remember where I found the formula for 
>>>>>>>> stretcged
>>>>>>>>           partials but I
>>>>>>>>            > do remember, that values around 0.0004 are 
>>>>>>>> considered as
>>>>>>>>           being natural.
>>>>>>>>            > Off course "insane" values sound also are very 
>>>>>>>> interesting.
>>>>>>>>            > I personally would be interested in another couple of
>>>>>>>>           formulas, e.g.
>>>>>>>>            > gong, triangle, tomtom, etc.
>>>>>>>>            > Here my opcodes (sorry, comments are in german):
>>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansXylopartials inumparts,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll, 
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansXylopartials, 0,ii
>>>>>>>>            > inumparts,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = 9
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = (2*inZ+1)^2
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes 
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > ;;;;;
>>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01 
>>>>>>>> klavierähnlich, ab dann
>>>>>>>>            > glockenspielartig
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll, 
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>>>>>>>>            > inumparts,istreck,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = sqrt(1+istreck)
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes 
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim 
>>>>>>>> heintz
>>>>>>>>            > 
>>>>>>>>           >>>>>>> >>:
>>>>>>>>            >
>>>>>>>>            >     hi -
>>>>>>>>            >
>>>>>>>>            >     does anyone know internet resources about sound 
>>>>>>>> spectra
>>>>>>>>           which can be
>>>>>>>>            >     used for additive resynthesis?  in particular 
>>>>>>>> percussive
>>>>>>>>           sounds.
>>>>>>>>            >
>>>>>>>>            >     cheers -
>>>>>>>>            >              joachim
>>>>>>>>            >
>>>>>>>>            >     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
>>>>>>>>
>>>>>>>>           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
>>>>>>>>
>>>>>>>> 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
>>>>>> 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
>>>> 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
>> 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

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

Date2021-03-14 21:52
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
AttachmentsAts2Add.csd  
very interesting what you do on top of good old loris.  it is kind of 
overload for what i want to do, but because of your approach i thought i 
might use ATS partial tracking for what i wanted to achieve.  the 
advantage is that ATSA is a built-in utility in csound, so no need to 
install anything else.

i have written a small csound program for it, and it works pretty well 
for me.  i attach it, and the example files are here: 
https://github.com/joachimheintz/cs_utils

best -
	joachim


On 03/03/2021 14:50, Eduardo Moguillansky wrote:
> Sorry to plug my own side-project, but you can take a look at 
> https://github.com/gesellkammer/loristrck
> 
> Installation via
> 
> $ pip install loristrck
> 
> That will install a script loristrck_chord, which can be used as:
> 
> $ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac 
> spring6.sdif
> 
> That will extract the chord at time 0.3 out of a previously analyzed 
> sdif file and extract the 6 most prominent partials and output their 
> notes, frequencies and amplitudes in csv format to stdout. It will also 
> playback such chord or generate a soundfile.
> 
> The analysis can be done via the script "loristrck_analyze"
> 
> ---
> Eduardo
> 
> On 02.03.21 16:45, Steven Yi wrote:
>> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
>> spend more time with both. RX Elements looks quite nice too, though
>> I'll wait until it's on sale before exploring that one. :)  Thanks
>> Joel too for mentioning sms-tools!
>>
>> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross  
>> wrote:
>>> For a more automated approach, you could look at Xavier Serra's 
>>> sms-tools
>>>
>>> https://github.com/MTG/sms-tools
>>>
>>> It can create harmonic and inharmonic additive models with many
>>> partials from its analysis. If you play with the settings, you can get
>>> substantially reduced synthesis with just a few partials too.
>>>
>>> I haven't used it for a while so I don't remember how easy it is to
>>> get this data out but I'm sure it's possible.
>>>
>>>   Joel
>>>
>>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh  wrote:
>>>> I do the very same as Steven but prefer the spectrogram in Sonic 
>>>> Visualiser. It lets you choose very large windows sizes which give 
>>>> really high-res spectrograms. On the other hand, I also find it 
>>>> useful to open sounds in SPEAR and get the students to manually 
>>>> remove partials that are not so important to the overall timbre.
>>>>
>>>> Finally, I have started using IZotope's RX Elements, a slimmed down 
>>>> and much cheaper version of their full FX suite. It's Mac and 
>>>> Windows only, but it lets you select and draw around portions of the 
>>>> spectrum which you can then export to a new track. Another great way 
>>>> of exploring a sound's spectra.
>>>>
>>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz  
>>>> wrote:
>>>>> oh yes, that is also an option.  i did not look into this tool before;
>>>>> that is actually very useful.
>>>>> thanks -
>>>>>          j
>>>>>
>>>>>
>>>>> On 02/03/2021 13:00, Steven Yi wrote:
>>>>>> I usually run through an exercise in my course where I use 
>>>>>> Audacity to
>>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>>>>>> get frequency/amplitude values and have the students use code such 
>>>>>> as:
>>>>>>
>>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>>>>>>
>>>>>> where the *values* are replaced with the numeric values from 
>>>>>> Audacity.
>>>>>> I also have them look at the spectrogram view in Audacity to get an
>>>>>> idea of evolution of amplitude over time.  To simplify things I have
>>>>>> them analyze a guitar sample and use an expon for curves with 
>>>>>> starting
>>>>>> and ending values as decibels using ampdbfs.
>>>>>>
>>>>>> Not sure if that's the kind of thing  you're looking for but thought
>>>>>> it worth mentioning.
>>>>>>
>>>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
>>>>>> spent a lot of time with it.
>>>>>>
>>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz 
>>>>>>  wrote:
>>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>>>>>>> possibility, as it reduces the amount of amp/freq data via the 
>>>>>>> algorithm.
>>>>>>>
>>>>>>>
>>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR 
>>>>>>>> software will
>>>>>>>> export freq/amp data in text format. You would need to parse it to
>>>>>>>> produce anything readable but the info is there.
>>>>>>>>
>>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas 
>>>>>>>> >>>>>>> > wrote:
>>>>>>>>
>>>>>>>>       Oh, yes, that would be interesting for me as well!
>>>>>>>>       Stefan
>>>>>>>>
>>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>>>>>>       >:
>>>>>>>>
>>>>>>>>           hi stefan -
>>>>>>>>
>>>>>>>>           thanks for your help.  i think i was not clear enough 
>>>>>>>> in my
>>>>>>>>           question: i
>>>>>>>>           am searching tables of real instrument spectra, 
>>>>>>>> somehow reduced
>>>>>>>>           to what
>>>>>>>>           we need in additive resynthesis.  yes i know this nice 
>>>>>>>> table:
>>>>>>>>           https://csound.com/docs/manual/MiscModalFreq.html
>>>>>>>>
>>>>>>>>           this can be perfectly used for modal synthesis (= the 
>>>>>>>> mode
>>>>>>>>           opcode in
>>>>>>>>           csound, for instance in iain's wonderful example
>>>>>>>>           
>>>>>>>> http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd). 
>>>>>>>>
>>>>>>>>
>>>>>>>>              for old-fashioned additive synthesis the amplitude 
>>>>>>>> series are
>>>>>>>>           missing.
>>>>>>>>
>>>>>>>>           so i am looking for something like this modal table 
>>>>>>>> which include
>>>>>>>>           amplitudes for the partials.
>>>>>>>>
>>>>>>>>           cheers -
>>>>>>>>                    joachim
>>>>>>>>
>>>>>>>>
>>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>>>>>>>>            > Dear Joachim,
>>>>>>>>            > I assume You know the appendix "modal frequencies" 
>>>>>>>> of the
>>>>>>>>           csound manual.
>>>>>>>>            > Maybee I can help You with to Udos.
>>>>>>>>            > One Udo is for the partials of an ideal bar, following
>>>>>>>>           (2n+1)^2 and the
>>>>>>>>            > other one is for stretched partials (similar to 
>>>>>>>> thick strings or
>>>>>>>>            > something like this).
>>>>>>>>            > You will  find these opcodes end of the mail.
>>>>>>>>            > I don't remember where I found the formula for 
>>>>>>>> stretcged
>>>>>>>>           partials but I
>>>>>>>>            > do remember, that values around 0.0004 are 
>>>>>>>> considered as
>>>>>>>>           being natural.
>>>>>>>>            > Off course "insane" values sound also are very 
>>>>>>>> interesting.
>>>>>>>>            > I personally would be interested in another couple of
>>>>>>>>           formulas, e.g.
>>>>>>>>            > gong, triangle, tomtom, etc.
>>>>>>>>            > Here my opcodes (sorry, comments are in german):
>>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansXylopartials inumparts,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll, 
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansXylopartials, 0,ii
>>>>>>>>            > inumparts,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = 9
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = (2*inZ+1)^2
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes 
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > ;;;;;
>>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01 
>>>>>>>> klavierähnlich, ab dann
>>>>>>>>            > glockenspielartig
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll, 
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>>>>>>>>            > inumparts,istreck,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = sqrt(1+istreck)
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes 
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim 
>>>>>>>> heintz
>>>>>>>>            > 
>>>>>>>>           >>>>>>> >>:
>>>>>>>>            >
>>>>>>>>            >     hi -
>>>>>>>>            >
>>>>>>>>            >     does anyone know internet resources about sound 
>>>>>>>> spectra
>>>>>>>>           which can be
>>>>>>>>            >     used for additive resynthesis?  in particular 
>>>>>>>> percussive
>>>>>>>>           sounds.
>>>>>>>>            >
>>>>>>>>            >     cheers -
>>>>>>>>            >              joachim
>>>>>>>>            >
>>>>>>>>            >     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
>>>>>>>>
>>>>>>>>           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
>>>>>>>>
>>>>>>>> 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
>>>>>> 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
>>>> 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
>> 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

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

Date2021-03-17 13:39
FromJosh Moore
SubjectRe: [Csnd] tables of sound spectra?
yes steven i agree.with that. 

also additive partials + fm + noise source in various combinations even running noise source -> linseg/envelope -> fm pair will provide a really nice way to shape transients and that's everything to a percussion sound. it's mostly just transients and tone with some space.

On Tue, Mar 2, 2021 at 4:00 AM Steven Yi <stevenyi@gmail.com> wrote:
I usually run through an exercise in my course where I use Audacity to
analyze a sound (using the Analyze -> Plot Spectrum menu option) to
get frequency/amplitude values and have the students use code such as:

asig = oscili(ampdbfs( *dbval1* ), *freq1*)
asig += oscili(ampdbfs( *dbval2* ), *freq2*)
asig += oscili(ampdbfs( *dbval3* ), *freq3*)

where the *values* are replaced with the numeric values from Audacity.
I also have them look at the spectrogram view in Audacity to get an
idea of evolution of amplitude over time.  To simplify things I have
them analyze a guitar sample and use an expon for curves with starting
and ending values as decibels using ampdbfs.

Not sure if that's the kind of thing  you're looking for but thought
it worth mentioning.

I've also found PRAAT useful for analyzing sounds, though I haven't
spent a lot of time with it.

On Tue, Mar 2, 2021 at 6:36 AM joachim heintz <jh@joachimheintz.de> wrote:
>
> yeah that's an idea, thanks.  also good old hetro would be a
> possibility, as it reduces the amount of amp/freq data via the algorithm.
>
>
> On 02/03/2021 11:05, Rory Walsh wrote:
> > I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
> > export freq/amp data in text format. You would need to parse it to
> > produce anything readable but the info is there.
> >
> > On Tue, 2 Mar 2021 at 09:44, Stefan Thomas <kontrapunktstefan@gmail.com
> > <mailto:kontrapunktstefan@gmail.com>> wrote:
> >
> >     Oh, yes, that would be interesting for me as well!
> >     Stefan
> >
> >     Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
> >     <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
> >
> >         hi stefan -
> >
> >         thanks for your help.  i think i was not clear enough in my
> >         question: i
> >         am searching tables of real instrument spectra, somehow reduced
> >         to what
> >         we need in additive resynthesis.  yes i know this nice table:
> >         https://csound.com/docs/manual/MiscModalFreq.html
> >
> >         this can be perfectly used for modal synthesis (= the mode
> >         opcode in
> >         csound, for instance in iain's wonderful example
> >         http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> >
> >            for old-fashioned additive synthesis the amplitude series are
> >         missing.
> >
> >         so i am looking for something like this modal table which include
> >         amplitudes for the partials.
> >
> >         cheers -
> >                  joachim
> >
> >
> >         On 02/03/2021 09:23, Stefan Thomas wrote:
> >          > Dear Joachim,
> >          > I assume You know the appendix "modal frequencies" of the
> >         csound manual.
> >          > Maybee I can help You with to Udos.
> >          > One Udo is for the partials of an ideal bar, following
> >         (2n+1)^2 and the
> >          > other one is for stretched partials (similar to thick strings or
> >          > something like this).
> >          > You will  find these opcodes end of the mail.
> >          > I don't remember where I found the formula for stretcged
> >         partials but I
> >          > do remember, that values around 0.0004 are considered as
> >         being natural.
> >          > Off course "insane" values sound also are very interesting.
> >          > I personally would be interested in another couple of
> >         formulas, e.g.
> >          > gong, triangle, tomtom, etc.
> >          > Here my opcodes (sorry, comments are in german):
> >          > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> >          > SYNTAX:
> >          > StefansXylopartials inumparts,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansXylopartials, 0,ii
> >          > inumparts,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = 9
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = (2*inZ+1)^2
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts+1, loop
> >          > endop
> >          >
> >          >
> >          >
> >          >
> >          >
> >          > ;;;;;
> >          > /*OPCODE FOR STRETCHED PARTIALS
> >          > SYNTAX:
> >          > StefansStretchedPartials inumparts,istreck,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> >          > glockenspielartig
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansStretchedPartials, 0,iii
> >          > inumparts,istreck,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = sqrt(1+istreck)
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = inZ*sqrt(1+istreck*inZ^2)
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts, loop
> >          > endop
> >          >
> >          >
> >          >
> >          > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> >          > <jh@joachimheintz.de <mailto:jh@joachimheintz.de>
> >         <mailto:jh@joachimheintz.de <mailto:jh@joachimheintz.de>>>:
> >          >
> >          >     hi -
> >          >
> >          >     does anyone know internet resources about sound spectra
> >         which can be
> >          >     used for additive resynthesis?  in particular percussive
> >         sounds.
> >          >
> >          >     cheers -
> >          >              joachim
> >          >
> >          >     Csound mailing list
> >          > Csound@listserv.heanet.ie <mailto:Csound@listserv.heanet.ie>
> >         <mailto:Csound@listserv.heanet.ie
> >         <mailto: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
> >         <mailto:Csound@listserv.heanet.ie>
> >          > <mailto:Csound@listserv.heanet.ie
> >         <mailto: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 <mailto: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
> >     <mailto: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
> > <mailto: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

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

Date2021-03-17 13:51
FromJosh Moore
SubjectRe: [Csnd] tables of sound spectra?
one other thing with that method is you can use the dynamics of FM to get velocity/tone variance without filters and these kinds of things aren't even possible in regular sine wave fm stuff, if you look at a spectrograph and divide it into sections you can take that difference and code that and because FM is linear in the same way sounds decay, it works in a weird way... also if you're doing that kind of stuff play around with a high pass filter if you need something that isn't muddy because the fundamental freqs tend to be the things you are fighting with that method. it's kind of my favorite way of building instruments now

On Wed, Mar 17, 2021 at 6:39 AM Josh Moore <kh405.7h30ry@gmail.com> wrote:
yes steven i agree.with that. 

also additive partials + fm + noise source in various combinations even running noise source -> linseg/envelope -> fm pair will provide a really nice way to shape transients and that's everything to a percussion sound. it's mostly just transients and tone with some space.

On Tue, Mar 2, 2021 at 4:00 AM Steven Yi <stevenyi@gmail.com> wrote:
I usually run through an exercise in my course where I use Audacity to
analyze a sound (using the Analyze -> Plot Spectrum menu option) to
get frequency/amplitude values and have the students use code such as:

asig = oscili(ampdbfs( *dbval1* ), *freq1*)
asig += oscili(ampdbfs( *dbval2* ), *freq2*)
asig += oscili(ampdbfs( *dbval3* ), *freq3*)

where the *values* are replaced with the numeric values from Audacity.
I also have them look at the spectrogram view in Audacity to get an
idea of evolution of amplitude over time.  To simplify things I have
them analyze a guitar sample and use an expon for curves with starting
and ending values as decibels using ampdbfs.

Not sure if that's the kind of thing  you're looking for but thought
it worth mentioning.

I've also found PRAAT useful for analyzing sounds, though I haven't
spent a lot of time with it.

On Tue, Mar 2, 2021 at 6:36 AM joachim heintz <jh@joachimheintz.de> wrote:
>
> yeah that's an idea, thanks.  also good old hetro would be a
> possibility, as it reduces the amount of amp/freq data via the algorithm.
>
>
> On 02/03/2021 11:05, Rory Walsh wrote:
> > I'm not sure it's much help, but Michael Klingbeil's SPEAR software will
> > export freq/amp data in text format. You would need to parse it to
> > produce anything readable but the info is there.
> >
> > On Tue, 2 Mar 2021 at 09:44, Stefan Thomas <kontrapunktstefan@gmail.com
> > <mailto:kontrapunktstefan@gmail.com>> wrote:
> >
> >     Oh, yes, that would be interesting for me as well!
> >     Stefan
> >
> >     Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
> >     <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
> >
> >         hi stefan -
> >
> >         thanks for your help.  i think i was not clear enough in my
> >         question: i
> >         am searching tables of real instrument spectra, somehow reduced
> >         to what
> >         we need in additive resynthesis.  yes i know this nice table:
> >         https://csound.com/docs/manual/MiscModalFreq.html
> >
> >         this can be perfectly used for modal synthesis (= the mode
> >         opcode in
> >         csound, for instance in iain's wonderful example
> >         http://iainmccurdy.org/CsoundRealtimeExamples/SoundGenerators/mode.csd).
> >
> >            for old-fashioned additive synthesis the amplitude series are
> >         missing.
> >
> >         so i am looking for something like this modal table which include
> >         amplitudes for the partials.
> >
> >         cheers -
> >                  joachim
> >
> >
> >         On 02/03/2021 09:23, Stefan Thomas wrote:
> >          > Dear Joachim,
> >          > I assume You know the appendix "modal frequencies" of the
> >         csound manual.
> >          > Maybee I can help You with to Udos.
> >          > One Udo is for the partials of an ideal bar, following
> >         (2n+1)^2 and the
> >          > other one is for stretched partials (similar to thick strings or
> >          > something like this).
> >          > You will  find these opcodes end of the mail.
> >          > I don't remember where I found the formula for stretcged
> >         partials but I
> >          > do remember, that values around 0.0004 are considered as
> >         being natural.
> >          > Off course "insane" values sound also are very interesting.
> >          > I personally would be interested in another couple of
> >         formulas, e.g.
> >          > gong, triangle, tomtom, etc.
> >          > Here my opcodes (sorry, comments are in german):
> >          > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
> >          > SYNTAX:
> >          > StefansXylopartials inumparts,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansXylopartials, 0,ii
> >          > inumparts,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = 9
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = (2*inZ+1)^2
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts+1, loop
> >          > endop
> >          >
> >          >
> >          >
> >          >
> >          >
> >          > ;;;;;
> >          > /*OPCODE FOR STRETCHED PARTIALS
> >          > SYNTAX:
> >          > StefansStretchedPartials inumparts,istreck,iftab
> >          > inumparts = Anzahl der Teiltoene
> >          > istreck = Streckfaktor, bis ca. 0.01 klavierähnlich, ab dann
> >          > glockenspielartig
> >          > iftab = tabelle in die geschrieben werden soll, muss eine
> >         "leere"
> >          > Tabelle sein, wie z.B.
> >          >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
> >          > */
> >          > opcode StefansStretchedPartials, 0,iii
> >          > inumparts,istreck,iftab xin
> >          >
> >          > indx      =      0
> >          > inenner = sqrt(1+istreck)
> >          > loop:
> >          > inZ = indx+1
> >          > izaehler = inZ*sqrt(1+istreck*inZ^2)
> >          > istrp = izaehler/inenner
> >          >            tableiw   istrp, indx, iftab ;writes istart to table
> >          >            loop_lt   indx, 1, inumparts, loop
> >          > endop
> >          >
> >          >
> >          >
> >          > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim heintz
> >          > <jh@joachimheintz.de <mailto:jh@joachimheintz.de>
> >         <mailto:jh@joachimheintz.de <mailto:jh@joachimheintz.de>>>:
> >          >
> >          >     hi -
> >          >
> >          >     does anyone know internet resources about sound spectra
> >         which can be
> >          >     used for additive resynthesis?  in particular percussive
> >         sounds.
> >          >
> >          >     cheers -
> >          >              joachim
> >          >
> >          >     Csound mailing list
> >          > Csound@listserv.heanet.ie <mailto:Csound@listserv.heanet.ie>
> >         <mailto:Csound@listserv.heanet.ie
> >         <mailto: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
> >         <mailto:Csound@listserv.heanet.ie>
> >          > <mailto:Csound@listserv.heanet.ie
> >         <mailto: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 <mailto: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
> >     <mailto: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
> > <mailto: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

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

Date2021-03-17 15:58
From"Dr. Richard Boulanger"
SubjectRe: [Csnd] tables of sound spectra?
Joachim,

Worked instantly and perfectly on the Mac.

Love it!  

- hope you will add a Widget version and include it (in the Examples) with the next release of CsoundQt
- It will be so useful in my DSP class.
- Super appreciate that it is built into Csound 

- dB


Dr. Richard Boulanger

Professor

Electronic Production and Design

Berklee College of Music

Professional Writing & Technology Division



On Sun, Mar 14, 2021 at 5:53 PM joachim heintz <jh@joachimheintz.de> wrote:
very interesting what you do on top of good old loris.  it is kind of
overload for what i want to do, but because of your approach i thought i
might use ATS partial tracking for what i wanted to achieve.  the
advantage is that ATSA is a built-in utility in csound, so no need to
install anything else.

i have written a small csound program for it, and it works pretty well
for me.  i attach it, and the example files are here:
https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2pvYWNoaW1oZWludHovY3NfdXRpbHM=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=MVBqakRQRzJqa25TNkJqSUR5SjNQQTZveitXbFJMV05hTzlXNkNqbTNvOD0=&h=84be49118263417885ab3c568bac398c

best -
        joachim


On 03/03/2021 14:50, Eduardo Moguillansky wrote:
> Sorry to plug my own side-project, but you can take a look at
> https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2dlc2VsbGthbW1lci9sb3Jpc3RyY2s=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=QW9RU25PdVdMeENjVjcwZ2ZUVWpaSlJmR0loSEdZbmdPNWwxaFR5ZDhDWT0=&h=84be49118263417885ab3c568bac398c
>
> Installation via
>
> $ pip install loristrck
>
> That will install a script loristrck_chord, which can be used as:
>
> $ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac
> spring6.sdif
>
> That will extract the chord at time 0.3 out of a previously analyzed
> sdif file and extract the 6 most prominent partials and output their
> notes, frequencies and amplitudes in csv format to stdout. It will also
> playback such chord or generate a soundfile.
>
> The analysis can be done via the script "loristrck_analyze"
>
> ---
> Eduardo
>
> On 02.03.21 16:45, Steven Yi wrote:
>> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
>> spend more time with both. RX Elements looks quite nice too, though
>> I'll wait until it's on sale before exploring that one. :)  Thanks
>> Joel too for mentioning sms-tools!
>>
>> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross <joel.binarybrain@gmail.com>
>> wrote:
>>> For a more automated approach, you could look at Xavier Serra's
>>> sms-tools
>>>
>>> https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL01URy9zbXMtdG9vbHM=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=NWEyMGgySFhhRWxNN0cwNjVQR216UGVUYWg4NmxRVTlGakhVRVIwUDhMVT0=&h=84be49118263417885ab3c568bac398c
>>>
>>> It can create harmonic and inharmonic additive models with many
>>> partials from its analysis. If you play with the settings, you can get
>>> substantially reduced synthesis with just a few partials too.
>>>
>>> I haven't used it for a while so I don't remember how easy it is to
>>> get this data out but I'm sure it's possible.
>>>
>>>   Joel
>>>
>>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh <rorywalsh@ear.ie> wrote:
>>>> I do the very same as Steven but prefer the spectrogram in Sonic
>>>> Visualiser. It lets you choose very large windows sizes which give
>>>> really high-res spectrograms. On the other hand, I also find it
>>>> useful to open sounds in SPEAR and get the students to manually
>>>> remove partials that are not so important to the overall timbre.
>>>>
>>>> Finally, I have started using IZotope's RX Elements, a slimmed down
>>>> and much cheaper version of their full FX suite. It's Mac and
>>>> Windows only, but it lets you select and draw around portions of the
>>>> spectrum which you can then export to a new track. Another great way
>>>> of exploring a sound's spectra.
>>>>
>>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz <jh@joachimheintz.de>
>>>> wrote:
>>>>> oh yes, that is also an option.  i did not look into this tool before;
>>>>> that is actually very useful.
>>>>> thanks -
>>>>>          j
>>>>>
>>>>>
>>>>> On 02/03/2021 13:00, Steven Yi wrote:
>>>>>> I usually run through an exercise in my course where I use
>>>>>> Audacity to
>>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu option) to
>>>>>> get frequency/amplitude values and have the students use code such
>>>>>> as:
>>>>>>
>>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>>>>>>
>>>>>> where the *values* are replaced with the numeric values from
>>>>>> Audacity.
>>>>>> I also have them look at the spectrogram view in Audacity to get an
>>>>>> idea of evolution of amplitude over time.  To simplify things I have
>>>>>> them analyze a guitar sample and use an expon for curves with
>>>>>> starting
>>>>>> and ending values as decibels using ampdbfs.
>>>>>>
>>>>>> Not sure if that's the kind of thing  you're looking for but thought
>>>>>> it worth mentioning.
>>>>>>
>>>>>> I've also found PRAAT useful for analyzing sounds, though I haven't
>>>>>> spent a lot of time with it.
>>>>>>
>>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz
>>>>>> <jh@joachimheintz.de> wrote:
>>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>>>>>>> possibility, as it reduces the amount of amp/freq data via the
>>>>>>> algorithm.
>>>>>>>
>>>>>>>
>>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR
>>>>>>>> software will
>>>>>>>> export freq/amp data in text format. You would need to parse it to
>>>>>>>> produce anything readable but the info is there.
>>>>>>>>
>>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas
>>>>>>>> <kontrapunktstefan@gmail.com
>>>>>>>> <mailto:kontrapunktstefan@gmail.com>> wrote:
>>>>>>>>
>>>>>>>>       Oh, yes, that would be interesting for me as well!
>>>>>>>>       Stefan
>>>>>>>>
>>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>>>>>>>>       <jh@joachimheintz.de <mailto:jh@joachimheintz.de>>:
>>>>>>>>
>>>>>>>>           hi stefan -
>>>>>>>>
>>>>>>>>           thanks for your help.  i think i was not clear enough
>>>>>>>> in my
>>>>>>>>           question: i
>>>>>>>>           am searching tables of real instrument spectra,
>>>>>>>> somehow reduced
>>>>>>>>           to what
>>>>>>>>           we need in additive resynthesis.  yes i know this nice
>>>>>>>> table:
>>>>>>>>           https://us-west-2.protection.sophos.com?d=csound.com&u=aHR0cHM6Ly9jc291bmQuY29tL2RvY3MvbWFudWFsL01pc2NNb2RhbEZyZXEuaHRtbA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=bFJaeWdad09aR1Y3MGpjUHpHRXFSRlFtQTlEVjltdUlDQnlrTk1ldzFUMD0=&h=84be49118263417885ab3c568bac398c
>>>>>>>>
>>>>>>>>           this can be perfectly used for modal synthesis (= the
>>>>>>>> mode
>>>>>>>>           opcode in
>>>>>>>>           csound, for instance in iain's wonderful example
>>>>>>>>           
>>>>>>>> https://us-west-2.protection.sophos.com?d=iainmccurdy.org&u=aHR0cDovL2lhaW5tY2N1cmR5Lm9yZy9Dc291bmRSZWFsdGltZUV4YW1wbGVzL1NvdW5kR2VuZXJhdG9ycy9tb2RlLmNzZA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=d0hKNElPYTFRbDlmcVpzNURoQVZIR0hodEVVdkU5QUFnaWtBK1NJOTc2WT0=&h=84be49118263417885ab3c568bac398c).
>>>>>>>>
>>>>>>>>
>>>>>>>>              for old-fashioned additive synthesis the amplitude
>>>>>>>> series are
>>>>>>>>           missing.
>>>>>>>>
>>>>>>>>           so i am looking for something like this modal table
>>>>>>>> which include
>>>>>>>>           amplitudes for the partials.
>>>>>>>>
>>>>>>>>           cheers -
>>>>>>>>                    joachim
>>>>>>>>
>>>>>>>>
>>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>>>>>>>>            > Dear Joachim,
>>>>>>>>            > I assume You know the appendix "modal frequencies"
>>>>>>>> of the
>>>>>>>>           csound manual.
>>>>>>>>            > Maybee I can help You with to Udos.
>>>>>>>>            > One Udo is for the partials of an ideal bar, following
>>>>>>>>           (2n+1)^2 and the
>>>>>>>>            > other one is for stretched partials (similar to
>>>>>>>> thick strings or
>>>>>>>>            > something like this).
>>>>>>>>            > You will  find these opcodes end of the mail.
>>>>>>>>            > I don't remember where I found the formula for
>>>>>>>> stretcged
>>>>>>>>           partials but I
>>>>>>>>            > do remember, that values around 0.0004 are
>>>>>>>> considered as
>>>>>>>>           being natural.
>>>>>>>>            > Off course "insane" values sound also are very
>>>>>>>> interesting.
>>>>>>>>            > I personally would be interested in another couple of
>>>>>>>>           formulas, e.g.
>>>>>>>>            > gong, triangle, tomtom, etc.
>>>>>>>>            > Here my opcodes (sorry, comments are in german):
>>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansXylopartials inumparts,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll,
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansXylopartials, 0,ii
>>>>>>>>            > inumparts,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = 9
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = (2*inZ+1)^2
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > ;;;;;
>>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>>>>>>>>            > SYNTAX:
>>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>>>>>>>>            > inumparts = Anzahl der Teiltoene
>>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01
>>>>>>>> klavierähnlich, ab dann
>>>>>>>>            > glockenspielartig
>>>>>>>>            > iftab = tabelle in die geschrieben werden soll,
>>>>>>>> muss eine
>>>>>>>>           "leere"
>>>>>>>>            > Tabelle sein, wie z.B.
>>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>>>>>>>>            > */
>>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>>>>>>>>            > inumparts,istreck,iftab xin
>>>>>>>>            >
>>>>>>>>            > indx      =      0
>>>>>>>>            > inenner = sqrt(1+istreck)
>>>>>>>>            > loop:
>>>>>>>>            > inZ = indx+1
>>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>>>>>>>>            > istrp = izaehler/inenner
>>>>>>>>            >            tableiw   istrp, indx, iftab ;writes
>>>>>>>> istart to table
>>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>>>>>>>>            > endop
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            >
>>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb joachim
>>>>>>>> heintz
>>>>>>>>            > <jh@joachimheintz.de <mailto:jh@joachimheintz.de>
>>>>>>>>           <mailto:jh@joachimheintz.de
>>>>>>>> <mailto:jh@joachimheintz.de>>>:
>>>>>>>>            >
>>>>>>>>            >     hi -
>>>>>>>>            >
>>>>>>>>            >     does anyone know internet resources about sound
>>>>>>>> spectra
>>>>>>>>           which can be
>>>>>>>>            >     used for additive resynthesis?  in particular
>>>>>>>> percussive
>>>>>>>>           sounds.
>>>>>>>>            >
>>>>>>>>            >     cheers -
>>>>>>>>            >              joachim
>>>>>>>>            >
>>>>>>>>            >     Csound mailing list
>>>>>>>>            > Csound@listserv.heanet.ie
>>>>>>>> <mailto:Csound@listserv.heanet.ie>
>>>>>>>>           <mailto:Csound@listserv.heanet.ie
>>>>>>>>           <mailto:Csound@listserv.heanet.ie>>
>>>>>>>>            > https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>>>>>            >     Send bugs reports to
>>>>>>>>            > https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>>>>>>>            >     Discussions of bugs and features can be posted
>>>>>>>> here
>>>>>>>>            >
>>>>>>>>            > Csound mailing list Csound@listserv.heanet.ie
>>>>>>>>           <mailto:Csound@listserv.heanet.ie>
>>>>>>>>            > <mailto:Csound@listserv.heanet.ie
>>>>>>>>           <mailto:Csound@listserv.heanet.ie>>
>>>>>>>>            > https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>>>>> Send bugs
>>>>>>>>           reports to
>>>>>>>>            > https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c Discussions
>>>>>>>> of bugs
>>>>>>>>           and features
>>>>>>>>            > can be posted here
>>>>>>>>
>>>>>>>>           Csound mailing list
>>>>>>>>           Csound@listserv.heanet.ie
>>>>>>>> <mailto:Csound@listserv.heanet.ie>
>>>>>>>>           https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>>>>>           Send bugs reports to
>>>>>>>>           https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>>>>>>>           Discussions of bugs and features can be posted here
>>>>>>>>
>>>>>>>>       Csound mailing list Csound@listserv.heanet.ie
>>>>>>>>       <mailto:Csound@listserv.heanet.ie>
>>>>>>>>       https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c Send bugs
>>>>>>>> reports to
>>>>>>>>       https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c Discussions of
>>>>>>>> bugs and
>>>>>>>>       features can be posted here
>>>>>>>>
>>>>>>>> Csound mailing list Csound@listserv.heanet.ie
>>>>>>>> <mailto:Csound@listserv.heanet.ie>
>>>>>>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c Send bugs
>>>>>>>> reports to
>>>>>>>> https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c Discussions of bugs and
>>>>>>>> features
>>>>>>>> can be posted here
>>>>>>> Csound mailing list
>>>>>>> Csound@listserv.heanet.ie
>>>>>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>>>> Send bugs reports to
>>>>>>>           https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>>>>>> Discussions of bugs and features can be posted here
>>>>>> Csound mailing list
>>>>>> Csound@listserv.heanet.ie
>>>>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>>> Send bugs reports to
>>>>>>           https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>>>>> Discussions of bugs and features can be posted here
>>>>>>
>>>>> Csound mailing list
>>>>> Csound@listserv.heanet.ie
>>>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>>>> Send bugs reports to
>>>>>          https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>>>> Discussions of bugs and features can be posted here
>>>> Csound mailing list Csound@listserv.heanet.ie
>>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c Send bugs reports to
>>>> https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c Discussions of bugs and
>>>> features can be posted here
>>> Csound mailing list
>>> Csound@listserv.heanet.ie
>>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>>> Send bugs reports to
>>>          https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>>> Discussions of bugs and features can be posted here
>> Csound mailing list
>> Csound@listserv.heanet.ie
>> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>> Send bugs reports to
>>          https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>> Discussions of bugs and features can be posted here
>
> Csound mailing list
> Csound@listserv.heanet.ie
> https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
> Send bugs reports to
>         https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
Send bugs reports to
        https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
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

Date2021-03-18 15:21
Fromjoachim heintz
SubjectRe: [Csnd] tables of sound spectra?
thanks! -- glad to know it is working for you and perhaps useful for 
someone.
cheers -
	j


On 17/03/2021 16:58, Dr. Richard Boulanger wrote:
> Joachim,
> 
> Worked instantly and perfectly on the Mac.
> 
> Love it!
> 
> - hope you will add a Widget version and include it (in the Examples) 
> with the next release of CsoundQt
> - It will be so useful in my DSP class.
> - Super appreciate that it is built into Csound
> 
> *- dB*
> 
> *
> *
> 
> *Dr. Richard Boulanger*
> 
> Professor
> 
> Electronic Production and Design
> 
> *Berklee College of Music*
> 
> Professional Writing & Technology Division
> 
> 
> 
> On Sun, Mar 14, 2021 at 5:53 PM joachim heintz  > wrote:
> 
>     very interesting what you do on top of good old loris.  it is kind of
>     overload for what i want to do, but because of your approach i
>     thought i
>     might use ATS partial tracking for what i wanted to achieve.  the
>     advantage is that ATSA is a built-in utility in csound, so no need to
>     install anything else.
> 
>     i have written a small csound program for it, and it works pretty well
>     for me.  i attach it, and the example files are here:
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2pvYWNoaW1oZWludHovY3NfdXRpbHM=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=MVBqakRQRzJqa25TNkJqSUR5SjNQQTZveitXbFJMV05hTzlXNkNqbTNvOD0=&h=84be49118263417885ab3c568bac398c
> 
>     best -
>              joachim
> 
> 
>     On 03/03/2021 14:50, Eduardo Moguillansky wrote:
>      > Sorry to plug my own side-project, but you can take a look at
>      >
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2dlc2VsbGthbW1lci9sb3Jpc3RyY2s=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=QW9RU25PdVdMeENjVjcwZ2ZUVWpaSlJmR0loSEdZbmdPNWwxaFR5ZDhDWT0=&h=84be49118263417885ab3c568bac398c
>      >
>      > Installation via
>      >
>      > $ pip install loristrck
>      >
>      > That will install a script loristrck_chord, which can be used as:
>      >
>      > $ loristrck_chord -t 0.3 --maxcount 6 --minamp -60 ---sound dac
>      > spring6.sdif
>      >
>      > That will extract the chord at time 0.3 out of a previously analyzed
>      > sdif file and extract the 6 most prominent partials and output their
>      > notes, frequencies and amplitudes in csv format to stdout. It
>     will also
>      > playback such chord or generate a soundfile.
>      >
>      > The analysis can be done via the script "loristrck_analyze"
>      >
>      > ---
>      > Eduardo
>      >
>      > On 02.03.21 16:45, Steven Yi wrote:
>      >> Thanks Rory for mentioning Sonic Visualizer and SPEAR, I'll have to
>      >> spend more time with both. RX Elements looks quite nice too, though
>      >> I'll wait until it's on sale before exploring that one. :)  Thanks
>      >> Joel too for mentioning sms-tools!
>      >>
>      >> On Tue, Mar 2, 2021 at 7:49 AM Joel Ross
>     >
>      >> wrote:
>      >>> For a more automated approach, you could look at Xavier Serra's
>      >>> sms-tools
>      >>>
>      >>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL01URy9zbXMtdG9vbHM=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=NWEyMGgySFhhRWxNN0cwNjVQR216UGVUYWg4NmxRVTlGakhVRVIwUDhMVT0=&h=84be49118263417885ab3c568bac398c
>      >>>
>      >>> It can create harmonic and inharmonic additive models with many
>      >>> partials from its analysis. If you play with the settings, you
>     can get
>      >>> substantially reduced synthesis with just a few partials too.
>      >>>
>      >>> I haven't used it for a while so I don't remember how easy it is to
>      >>> get this data out but I'm sure it's possible.
>      >>>
>      >>>   Joel
>      >>>
>      >>> On Tue, 2 Mar 2021 at 12:29, Rory Walsh      > wrote:
>      >>>> I do the very same as Steven but prefer the spectrogram in Sonic
>      >>>> Visualiser. It lets you choose very large windows sizes which
>     give
>      >>>> really high-res spectrograms. On the other hand, I also find it
>      >>>> useful to open sounds in SPEAR and get the students to manually
>      >>>> remove partials that are not so important to the overall timbre.
>      >>>>
>      >>>> Finally, I have started using IZotope's RX Elements, a slimmed
>     down
>      >>>> and much cheaper version of their full FX suite. It's Mac and
>      >>>> Windows only, but it lets you select and draw around portions
>     of the
>      >>>> spectrum which you can then export to a new track. Another
>     great way
>      >>>> of exploring a sound's spectra.
>      >>>>
>      >>>> On Tue, 2 Mar 2021 at 12:12, joachim heintz
>     >
>      >>>> wrote:
>      >>>>> oh yes, that is also an option.  i did not look into this
>     tool before;
>      >>>>> that is actually very useful.
>      >>>>> thanks -
>      >>>>>          j
>      >>>>>
>      >>>>>
>      >>>>> On 02/03/2021 13:00, Steven Yi wrote:
>      >>>>>> I usually run through an exercise in my course where I use
>      >>>>>> Audacity to
>      >>>>>> analyze a sound (using the Analyze -> Plot Spectrum menu
>     option) to
>      >>>>>> get frequency/amplitude values and have the students use
>     code such
>      >>>>>> as:
>      >>>>>>
>      >>>>>> asig = oscili(ampdbfs( *dbval1* ), *freq1*)
>      >>>>>> asig += oscili(ampdbfs( *dbval2* ), *freq2*)
>      >>>>>> asig += oscili(ampdbfs( *dbval3* ), *freq3*)
>      >>>>>>
>      >>>>>> where the *values* are replaced with the numeric values from
>      >>>>>> Audacity.
>      >>>>>> I also have them look at the spectrogram view in Audacity to
>     get an
>      >>>>>> idea of evolution of amplitude over time.  To simplify
>     things I have
>      >>>>>> them analyze a guitar sample and use an expon for curves with
>      >>>>>> starting
>      >>>>>> and ending values as decibels using ampdbfs.
>      >>>>>>
>      >>>>>> Not sure if that's the kind of thing  you're looking for but
>     thought
>      >>>>>> it worth mentioning.
>      >>>>>>
>      >>>>>> I've also found PRAAT useful for analyzing sounds, though I
>     haven't
>      >>>>>> spent a lot of time with it.
>      >>>>>>
>      >>>>>> On Tue, Mar 2, 2021 at 6:36 AM joachim heintz
>      >>>>>> > wrote:
>      >>>>>>> yeah that's an idea, thanks.  also good old hetro would be a
>      >>>>>>> possibility, as it reduces the amount of amp/freq data via the
>      >>>>>>> algorithm.
>      >>>>>>>
>      >>>>>>>
>      >>>>>>> On 02/03/2021 11:05, Rory Walsh wrote:
>      >>>>>>>> I'm not sure it's much help, but Michael Klingbeil's SPEAR
>      >>>>>>>> software will
>      >>>>>>>> export freq/amp data in text format. You would need to
>     parse it to
>      >>>>>>>> produce anything readable but the info is there.
>      >>>>>>>>
>      >>>>>>>> On Tue, 2 Mar 2021 at 09:44, Stefan Thomas
>      >>>>>>>>      
>      >>>>>>>>      >> wrote:
>      >>>>>>>>
>      >>>>>>>>       Oh, yes, that would be interesting for me as well!
>      >>>>>>>>       Stefan
>      >>>>>>>>
>      >>>>>>>>       Am Di., 2. März 2021 um 10:33 Uhr schrieb joachim heintz
>      >>>>>>>>       
>     >>:
>      >>>>>>>>
>      >>>>>>>>           hi stefan -
>      >>>>>>>>
>      >>>>>>>>           thanks for your help.  i think i was not clear
>     enough
>      >>>>>>>> in my
>      >>>>>>>>           question: i
>      >>>>>>>>           am searching tables of real instrument spectra,
>      >>>>>>>> somehow reduced
>      >>>>>>>>           to what
>      >>>>>>>>           we need in additive resynthesis.  yes i know
>     this nice
>      >>>>>>>> table:
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=csound.com&u=aHR0cHM6Ly9jc291bmQuY29tL2RvY3MvbWFudWFsL01pc2NNb2RhbEZyZXEuaHRtbA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=bFJaeWdad09aR1Y3MGpjUHpHRXFSRlFtQTlEVjltdUlDQnlrTk1ldzFUMD0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>>>
>      >>>>>>>>           this can be perfectly used for modal synthesis
>     (= the
>      >>>>>>>> mode
>      >>>>>>>>           opcode in
>      >>>>>>>>           csound, for instance in iain's wonderful example
>      >>>>>>>>
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=iainmccurdy.org&u=aHR0cDovL2lhaW5tY2N1cmR5Lm9yZy9Dc291bmRSZWFsdGltZUV4YW1wbGVzL1NvdW5kR2VuZXJhdG9ycy9tb2RlLmNzZA==&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=d0hKNElPYTFRbDlmcVpzNURoQVZIR0hodEVVdkU5QUFnaWtBK1NJOTc2WT0=&h=84be49118263417885ab3c568bac398c).
> 
>      >>>>>>>>
>      >>>>>>>>
>      >>>>>>>>              for old-fashioned additive synthesis the
>     amplitude
>      >>>>>>>> series are
>      >>>>>>>>           missing.
>      >>>>>>>>
>      >>>>>>>>           so i am looking for something like this modal table
>      >>>>>>>> which include
>      >>>>>>>>           amplitudes for the partials.
>      >>>>>>>>
>      >>>>>>>>           cheers -
>      >>>>>>>>                    joachim
>      >>>>>>>>
>      >>>>>>>>
>      >>>>>>>>           On 02/03/2021 09:23, Stefan Thomas wrote:
>      >>>>>>>>            > Dear Joachim,
>      >>>>>>>>            > I assume You know the appendix "modal
>     frequencies"
>      >>>>>>>> of the
>      >>>>>>>>           csound manual.
>      >>>>>>>>            > Maybee I can help You with to Udos.
>      >>>>>>>>            > One Udo is for the partials of an ideal bar,
>     following
>      >>>>>>>>           (2n+1)^2 and the
>      >>>>>>>>            > other one is for stretched partials (similar to
>      >>>>>>>> thick strings or
>      >>>>>>>>            > something like this).
>      >>>>>>>>            > You will  find these opcodes end of the mail.
>      >>>>>>>>            > I don't remember where I found the formula for
>      >>>>>>>> stretcged
>      >>>>>>>>           partials but I
>      >>>>>>>>            > do remember, that values around 0.0004 are
>      >>>>>>>> considered as
>      >>>>>>>>           being natural.
>      >>>>>>>>            > Off course "insane" values sound also are very
>      >>>>>>>> interesting.
>      >>>>>>>>            > I personally would be interested in another
>     couple of
>      >>>>>>>>           formulas, e.g.
>      >>>>>>>>            > gong, triangle, tomtom, etc.
>      >>>>>>>>            > Here my opcodes (sorry, comments are in german):
>      >>>>>>>>            > /* OPCODE FOR THE PARTIALS OF AN IDEAL BAR
>      >>>>>>>>            > SYNTAX:
>      >>>>>>>>            > StefansXylopartials inumparts,iftab
>      >>>>>>>>            > inumparts = Anzahl der Teiltoene
>      >>>>>>>>            > iftab = tabelle in die geschrieben werden soll,
>      >>>>>>>> muss eine
>      >>>>>>>>           "leere"
>      >>>>>>>>            > Tabelle sein, wie z.B.
>      >>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>      >>>>>>>>            > */
>      >>>>>>>>            > opcode StefansXylopartials, 0,ii
>      >>>>>>>>            > inumparts,iftab xin
>      >>>>>>>>            >
>      >>>>>>>>            > indx      =      0
>      >>>>>>>>            > inenner = 9
>      >>>>>>>>            > loop:
>      >>>>>>>>            > inZ = indx+1
>      >>>>>>>>            > izaehler = (2*inZ+1)^2
>      >>>>>>>>            > istrp = izaehler/inenner
>      >>>>>>>>            >            tableiw   istrp, indx, iftab ;writes
>      >>>>>>>> istart to table
>      >>>>>>>>            >            loop_lt   indx, 1, inumparts+1, loop
>      >>>>>>>>            > endop
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            > ;;;;;
>      >>>>>>>>            > /*OPCODE FOR STRETCHED PARTIALS
>      >>>>>>>>            > SYNTAX:
>      >>>>>>>>            > StefansStretchedPartials inumparts,istreck,iftab
>      >>>>>>>>            > inumparts = Anzahl der Teiltoene
>      >>>>>>>>            > istreck = Streckfaktor, bis ca. 0.01
>      >>>>>>>> klavierähnlich, ab dann
>      >>>>>>>>            > glockenspielartig
>      >>>>>>>>            > iftab = tabelle in die geschrieben werden soll,
>      >>>>>>>> muss eine
>      >>>>>>>>           "leere"
>      >>>>>>>>            > Tabelle sein, wie z.B.
>      >>>>>>>>            >    iftab ftgen 0,0,16,-2,0 ; leere tabelle
>      >>>>>>>>            > */
>      >>>>>>>>            > opcode StefansStretchedPartials, 0,iii
>      >>>>>>>>            > inumparts,istreck,iftab xin
>      >>>>>>>>            >
>      >>>>>>>>            > indx      =      0
>      >>>>>>>>            > inenner = sqrt(1+istreck)
>      >>>>>>>>            > loop:
>      >>>>>>>>            > inZ = indx+1
>      >>>>>>>>            > izaehler = inZ*sqrt(1+istreck*inZ^2)
>      >>>>>>>>            > istrp = izaehler/inenner
>      >>>>>>>>            >            tableiw   istrp, indx, iftab ;writes
>      >>>>>>>> istart to table
>      >>>>>>>>            >            loop_lt   indx, 1, inumparts, loop
>      >>>>>>>>            > endop
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            >
>      >>>>>>>>            > Am Mo., 1. März 2021 um 13:08 Uhr schrieb
>     joachim
>      >>>>>>>> heintz
>      >>>>>>>>            >            >
>      >>>>>>>>                
>      >>>>>>>> >>>:
>      >>>>>>>>            >
>      >>>>>>>>            >     hi -
>      >>>>>>>>            >
>      >>>>>>>>            >     does anyone know internet resources about
>     sound
>      >>>>>>>> spectra
>      >>>>>>>>           which can be
>      >>>>>>>>            >     used for additive resynthesis?  in
>     particular
>      >>>>>>>> percussive
>      >>>>>>>>           sounds.
>      >>>>>>>>            >
>      >>>>>>>>            >     cheers -
>      >>>>>>>>            >              joachim
>      >>>>>>>>            >
>      >>>>>>>>            >     Csound mailing list
>      >>>>>>>>            > Csound@listserv.heanet.ie
>     
>      >>>>>>>>      >
>      >>>>>>>>                
>      >>>>>>>>                >>
>      >>>>>>>>            >
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>>>            >     Send bugs reports to
>      >>>>>>>>            >
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>>>            >     Discussions of bugs and features can be
>     posted
>      >>>>>>>> here
>      >>>>>>>>            >
>      >>>>>>>>            > Csound mailing list Csound@listserv.heanet.ie
>     
>      >>>>>>>>                >
>      >>>>>>>>            >      
>      >>>>>>>>                >>
>      >>>>>>>>            >
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
> 
>      >>>>>>>> Send bugs
>      >>>>>>>>           reports to
>      >>>>>>>>            >
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>     Discussions
>      >>>>>>>> of bugs
>      >>>>>>>>           and features
>      >>>>>>>>            > can be posted here
>      >>>>>>>>
>      >>>>>>>>           Csound mailing list
>      >>>>>>>> Csound@listserv.heanet.ie 
>      >>>>>>>>      >
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>>>           Send bugs reports to
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>>>           Discussions of bugs and features can be posted here
>      >>>>>>>>
>      >>>>>>>>       Csound mailing list Csound@listserv.heanet.ie
>     
>      >>>>>>>>            >
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>     Send bugs
>      >>>>>>>> reports to
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>     Discussions of
>      >>>>>>>> bugs and
>      >>>>>>>>       features can be posted here
>      >>>>>>>>
>      >>>>>>>> Csound mailing list Csound@listserv.heanet.ie
>     
>      >>>>>>>>      >
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>     Send bugs
>      >>>>>>>> reports to
>      >>>>>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>     Discussions of bugs and
>      >>>>>>>> features
>      >>>>>>>> can be posted here
>      >>>>>>> Csound mailing list
>      >>>>>>> Csound@listserv.heanet.ie 
>      >>>>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>> Send bugs reports to
>      >>>>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>>>>>> Discussions of bugs and features can be posted here
>      >>>>>> Csound mailing list
>      >>>>>> Csound@listserv.heanet.ie 
>      >>>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>>>>> Send bugs reports to
>      >>>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>>>>> Discussions of bugs and features can be posted here
>      >>>>>>
>      >>>>> Csound mailing list
>      >>>>> Csound@listserv.heanet.ie 
>      >>>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>>>> Send bugs reports to
>      >>>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>>>> Discussions of bugs and features can be posted here
>      >>>> Csound mailing list Csound@listserv.heanet.ie
>     
>      >>>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>     Send bugs reports to
>      >>>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>     Discussions of bugs and
>      >>>> features can be posted here
>      >>> Csound mailing list
>      >>> Csound@listserv.heanet.ie 
>      >>>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >>> Send bugs reports to
>      >>>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >>> Discussions of bugs and features can be posted here
>      >> Csound mailing list
>      >> Csound@listserv.heanet.ie 
>      >>
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      >> Send bugs reports to
>      >>
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      >> Discussions of bugs and features can be posted here
>      >
>      > Csound mailing list
>      > Csound@listserv.heanet.ie 
>      >
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>      > Send bugs reports to
>      >
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>      > Discussions of bugs and features can be posted here
> 
>     Csound mailing list
>     Csound@listserv.heanet.ie 
>     https://us-west-2.protection.sophos.com?d=heanet.ie&u=aHR0cHM6Ly9saXN0c2Vydi5oZWFuZXQuaWUvY2dpLWJpbi93YT9BMD1DU09VTkQ=&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=WVZMRlI4dlFUVUZ6V2NTOUU5eE9lZnFIemtoc2hxYlBDMFFCWmtKZzhzRT0=&h=84be49118263417885ab3c568bac398c
>     Send bugs reports to
>     https://us-west-2.protection.sophos.com?d=github.com&u=aHR0cHM6Ly9naXRodWIuY29tL2Nzb3VuZC9jc291bmQvaXNzdWVz&i=NWYxNzBkMDNiNTVmZGEwZmIyNjczYmRm&t=YlNrQ2lLclRLZUpGUE1iR0FyY2M1eW1NTUU5SUozWlJwMTNZU2NXT1BLOD0=&h=84be49118263417885ab3c568bac398c
>     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

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