Csound Csound-dev Csound-tekno Search About

[Csnd] Re: Re: 96 notes per octave

Date2010-04-17 15:25
From"vallste@libero.it"
Subject[Csnd] Re: Re: 96 notes per octave
Hello,
I've created a python program that can calculate the multiplication ratios for 
equal spaced temperament (how many intervals you want with the multiplication 
factor that could be different than 2) and save them in a txt file. You can 
download it here:
http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
Bye
Stefano


>----Messaggio originale----
>Da: jh@joachimheintz.de
>Data: 17/04/2010 14.28
>A: 
>Ogg: [Csnd] Re: 96 notes per octave
>
>Hi Stefan -
>
>probably your function table supports the syntax [2^(0/96)] [2^(1/96)]  
>[2^(2/96)] ...
>So this is at least much better, though you still have to type a lot.
>
>Or you script it in this way, and copy the result:
>
>
>
>-nm0 -+max_str_len=10000
>
>
>instr 1
>Sout = "f1 0 64 -2 96 2 261 60"
>istart = 0
>loop:
>ival = 2 ^ (istart/96)
>Snew sprintf "%s %f", Sout, ival
>Sout = Snew
>loop_lt istart, 1, 96, loop
>puts Sout, 1
>endin
>
>
>i 1 0 0
>e
>
>
>
>Ciao -
>
>	joachim
>
>
>Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
>
>> Dear community,
>> I've read in the csound-manual the article aboud cpstmid
>> There I've read that I can define a  non standard scale in this way:
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios  
>> (equal temp)
>>   f1 0 64 -2   12       2        261        60         1   
>> 1.059463094359  1.122462048309  1.189207115003
>>
>> Now I would like to create a scale with 96 notes per octave.
>> Off course I could do
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios  
>> (equal temp)
>>   f1 0 64 -2   96       2             261        60         1
>> But then I had to calculate 96 ratios!!
>> Isn't there possibility to do this in a more convenient way?
>>
>
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-04-17 17:29
FromStefan Thomas
Subject[Csnd] Re: Re: Re: 96 notes per octave
Thank You all for Your exellent proposals.
I will try it as soon as possible!

2010/4/17 vallste@libero.it <vallste@libero.it>
Hello,
I've created a python program that can calculate the multiplication ratios for
equal spaced temperament (how many intervals you want with the multiplication
factor that could be different than 2) and save them in a txt file. You can
download it here:
http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
Bye
Stefano


>----Messaggio originale----
>Da: jh@joachimheintz.de
>Data: 17/04/2010 14.28
>A: <csound@lists.bath.ac.uk>
>Ogg: [Csnd] Re: 96 notes per octave
>
>Hi Stefan -
>
>probably your function table supports the syntax [2^(0/96)] [2^(1/96)]
>[2^(2/96)] ...
>So this is at least much better, though you still have to type a lot.
>
>Or you script it in this way, and copy the result:
>
><CsoundSynthesizer>
><CsOptions>
>-nm0 -+max_str_len=10000
></CsOptions>
><CsInstruments>
>instr 1
>Sout = "f1 0 64 -2 96 2 261 60"
>istart = 0
>loop:
>ival = 2 ^ (istart/96)
>Snew sprintf "%s %f", Sout, ival
>Sout = Snew
>loop_lt istart, 1, 96, loop
>puts Sout, 1
>endin
></CsInstruments>
><CsScore>
>i 1 0 0
>e
></CsScore>
></CsoundSynthesizer>
>
>Ciao -
>
>       joachim
>
>
>Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
>
>> Dear community,
>> I've read in the csound-manual the article aboud cpstmid
>> There I've read that I can define a  non standard scale in this way:
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> (equal temp)
>>   f1 0 64 -2   12       2        261        60         1
>> 1.059463094359  1.122462048309  1.189207115003
>>
>> Now I would like to create a scale with 96 notes per octave.
>> Off course I could do
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> (equal temp)
>>   f1 0 64 -2   96       2             261        60         1
>> But then I had to calculate 96 ratios!!
>> Isn't there possibility to do this in a more convenient way?
>>
>
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
>
>




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-04-17 19:07
Fromjoachim heintz
Subject[Csnd] Re: Re: Re: Re: 96 notes per octave
By the way, if you use QuteCsound, you can go to Examples -> Useful ->  
MIDI_Tunings. Your scale is there (no 8), and if you want 97 steps  
instead of 96 per octave, you just type 2 97 in one of the LineEdit  
widgets.
	joachim


Am 17.04.2010 um 18:29 schrieb Stefan Thomas:

> Thank You all for Your exellent proposals.
> I will try it as soon as possible!
>
> 2010/4/17 vallste@libero.it 
> Hello,
> I've created a python program that can calculate the multiplication  
> ratios for
> equal spaced temperament (how many intervals you want with the  
> multiplication
> factor that could be different than 2) and save them in a txt file.  
> You can
> download it here:
> http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
> Bye
> Stefano
>
>
> >----Messaggio originale----
> >Da: jh@joachimheintz.de
> >Data: 17/04/2010 14.28
> >A: 
> >Ogg: [Csnd] Re: 96 notes per octave
> >
> >Hi Stefan -
> >
> >probably your function table supports the syntax [2^(0/96)]  
> [2^(1/96)]
> >[2^(2/96)] ...
> >So this is at least much better, though you still have to type a lot.
> >
> >Or you script it in this way, and copy the result:
> >
> >
> >
> >-nm0 -+max_str_len=10000
> >
> >
> >instr 1
> >Sout = "f1 0 64 -2 96 2 261 60"
> >istart = 0
> >loop:
> >ival = 2 ^ (istart/96)
> >Snew sprintf "%s %f", Sout, ival
> >Sout = Snew
> >loop_lt istart, 1, 96, loop
> >puts Sout, 1
> >endin
> >
> >
> >i 1 0 0
> >e
> >
> >
> >
> >Ciao -
> >
> >       joachim
> >
> >
> >Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
> >
> >> Dear community,
> >> I've read in the csound-manual the article aboud cpstmid
> >> There I've read that I can define a  non standard scale in this  
> way:
> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
> >> (equal temp)
> >>   f1 0 64 -2   12       2        261        60         1
> >> 1.059463094359  1.122462048309  1.189207115003
> >>
> >> Now I would like to create a scale with 96 notes per octave.
> >> Off course I could do
> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
> >> (equal temp)
> >>   f1 0 64 -2   96       2             261        60         1
> >> But then I had to calculate 96 ratios!!
> >> Isn't there possibility to do this in a more convenient way?
> >>
> >
> >
> >
> >Send bugs reports to the Sourceforge bug tracker
> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> >Discussions of bugs and features can be posted here
> >To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe
> csound"
> >
> >
>
>
>
>
> Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body  
> "unsubscribe csound"
>
>



Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-05-16 10:47
FromStefan Thomas
Subject[Csnd] Re: Re: Re: 96 notes per octave
Dear Vallste,
thanks for Your great tool, I tried it now, it works fine.
Know I would like to build a tuning-library.
I know I can build a table like
f10 0 128 -2 96 2 261.63  60 1.00  \
1.00724641222 1.01454533494 1.02189714865 1.02930223664 1.03676098495 \ ;etc
but my problem is:
I guess the number of the tuningtable will not always be 10.
Is it possible to create a unique lable for such a scale (e.g."96tet.inc") so that I can later write:
#include "/pathtotherightfolder/96tet.inc" ?
This would be great, I think.

2010/4/17 vallste@libero.it <vallste@libero.it>
Hello,
I've created a python program that can calculate the multiplication ratios for
equal spaced temperament (how many intervals you want with the multiplication
factor that could be different than 2) and save them in a txt file. You can
download it here:
http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
Bye
Stefano


>----Messaggio originale----
>Da: jh@joachimheintz.de
>Data: 17/04/2010 14.28
>A: <csound@lists.bath.ac.uk>
>Ogg: [Csnd] Re: 96 notes per octave
>
>Hi Stefan -
>
>probably your function table supports the syntax [2^(0/96)] [2^(1/96)]
>[2^(2/96)] ...
>So this is at least much better, though you still have to type a lot.
>
>Or you script it in this way, and copy the result:
>
><CsoundSynthesizer>
><CsOptions>
>-nm0 -+max_str_len=10000
></CsOptions>
><CsInstruments>
>instr 1
>Sout = "f1 0 64 -2 96 2 261 60"
>istart = 0
>loop:
>ival = 2 ^ (istart/96)
>Snew sprintf "%s %f", Sout, ival
>Sout = Snew
>loop_lt istart, 1, 96, loop
>puts Sout, 1
>endin
></CsInstruments>
><CsScore>
>i 1 0 0
>e
></CsScore>
></CsoundSynthesizer>
>
>Ciao -
>
>       joachim
>
>
>Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
>
>> Dear community,
>> I've read in the csound-manual the article aboud cpstmid
>> There I've read that I can define a  non standard scale in this way:
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> (equal temp)
>>   f1 0 64 -2   12       2        261        60         1
>> 1.059463094359  1.122462048309  1.189207115003
>>
>> Now I would like to create a scale with 96 notes per octave.
>> Off course I could do
>>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> (equal temp)
>>   f1 0 64 -2   96       2             261        60         1
>> But then I had to calculate 96 ratios!!
>> Isn't there possibility to do this in a more convenient way?
>>
>
>
>
>Send bugs reports to the Sourceforge bug tracker
>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>Discussions of bugs and features can be posted here
>To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
csound"
>
>




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2010-05-16 11:04
Fromjpff@cs.bath.ac.uk
Subject[Csnd] Re: Re: Re: Re: 96 notes per octave
Use ftgen in instrument zero and it wilkk return a table number you can
put in a global
==John ff

> Dear Vallste,
> thanks for Your great tool, I tried it now, it works fine.
> Know I would like to build a tuning-library.
> I know I can build a table like
>
>> f10 0 128 -2 96 2 261.63  60 1.00  \
>> 1.00724641222 1.01454533494 1.02189714865 1.02930223664 1.03676098495 \
>> ;etc
>>
> but my problem is:
> I guess the number of the tuningtable will not always be 10.
> Is it possible to create a unique lable for such a scale (e.g."96tet.inc")
> so that I can later write:
> #include "/pathtotherightfolder/96tet.inc" ?
> This would be great, I think.
>
> 2010/4/17 vallste@libero.it 
>
>> Hello,
>> I've created a python program that can calculate the multiplication
>> ratios
>> for
>> equal spaced temperament (how many intervals you want with the
>> multiplication
>> factor that could be different than 2) and save them in a txt file. You
>> can
>> download it here:
>> http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
>> Bye
>> Stefano
>>
>>
>> >----Messaggio originale----
>> >Da: jh@joachimheintz.de
>> >Data: 17/04/2010 14.28
>> >A: 
>> >Ogg: [Csnd] Re: 96 notes per octave
>> >
>> >Hi Stefan -
>> >
>> >probably your function table supports the syntax [2^(0/96)] [2^(1/96)]
>> >[2^(2/96)] ...
>> >So this is at least much better, though you still have to type a lot.
>> >
>> >Or you script it in this way, and copy the result:
>> >
>> >
>> >
>> >-nm0 -+max_str_len=10000
>> >
>> >
>> >instr 1
>> >Sout = "f1 0 64 -2 96 2 261 60"
>> >istart = 0
>> >loop:
>> >ival = 2 ^ (istart/96)
>> >Snew sprintf "%s %f", Sout, ival
>> >Sout = Snew
>> >loop_lt istart, 1, 96, loop
>> >puts Sout, 1
>> >endin
>> >
>> >
>> >i 1 0 0
>> >e
>> >
>> >
>> >
>> >Ciao -
>> >
>> >       joachim
>> >
>> >
>> >Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
>> >
>> >> Dear community,
>> >> I've read in the csound-manual the article aboud cpstmid
>> >> There I've read that I can define a  non standard scale in this way:
>> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> >> (equal temp)
>> >>   f1 0 64 -2   12       2        261        60         1
>> >> 1.059463094359  1.122462048309  1.189207115003
>> >>
>> >> Now I would like to create a scale with 96 notes per octave.
>> >> Off course I could do
>> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> >> (equal temp)
>> >>   f1 0 64 -2   96       2             261        60         1
>> >> But then I had to calculate 96 ratios!!
>> >> Isn't there possibility to do this in a more convenient way?
>> >>
>> >
>> >
>> >
>> >Send bugs reports to the Sourceforge bug tracker
>> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >Discussions of bugs and features can be posted here
>> >To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> csound"
>> >
>> >
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2010-05-16 13:33
FromStefan Thomas
Subject[Csnd] Re: Re: Re: Re: Re: 96 notes per octave
Dear John,
thanks. I've also found good advices at
http://www.csounds.com/journal/2006winter/encapsulatedInstruments.html

2010/5/16 <jpff@cs.bath.ac.uk>
Use ftgen in instrument zero and it wilkk return a table number you can
put in a global
==John ff

> Dear Vallste,
> thanks for Your great tool, I tried it now, it works fine.
> Know I would like to build a tuning-library.
> I know I can build a table like
>
>> f10 0 128 -2 96 2 261.63  60 1.00  \
>> 1.00724641222 1.01454533494 1.02189714865 1.02930223664 1.03676098495 \
>> ;etc
>>
> but my problem is:
> I guess the number of the tuningtable will not always be 10.
> Is it possible to create a unique lable for such a scale (e.g."96tet.inc")
> so that I can later write:
> #include "/pathtotherightfolder/96tet.inc" ?
> This would be great, I think.
>
> 2010/4/17 vallste@libero.it <vallste@libero.it>
>
>> Hello,
>> I've created a python program that can calculate the multiplication
>> ratios
>> for
>> equal spaced temperament (how many intervals you want with the
>> multiplication
>> factor that could be different than 2) and save them in a txt file. You
>> can
>> download it here:
>> http://triceratupuz.altervista.org/_altervista_ht/pages/python_en.html
>> Bye
>> Stefano
>>
>>
>> >----Messaggio originale----
>> >Da: jh@joachimheintz.de
>> >Data: 17/04/2010 14.28
>> >A: <csound@lists.bath.ac.uk>
>> >Ogg: [Csnd] Re: 96 notes per octave
>> >
>> >Hi Stefan -
>> >
>> >probably your function table supports the syntax [2^(0/96)] [2^(1/96)]
>> >[2^(2/96)] ...
>> >So this is at least much better, though you still have to type a lot.
>> >
>> >Or you script it in this way, and copy the result:
>> >
>> ><CsoundSynthesizer>
>> ><CsOptions>
>> >-nm0 -+max_str_len=10000
>> ></CsOptions>
>> ><CsInstruments>
>> >instr 1
>> >Sout = "f1 0 64 -2 96 2 261 60"
>> >istart = 0
>> >loop:
>> >ival = 2 ^ (istart/96)
>> >Snew sprintf "%s %f", Sout, ival
>> >Sout = Snew
>> >loop_lt istart, 1, 96, loop
>> >puts Sout, 1
>> >endin
>> ></CsInstruments>
>> ><CsScore>
>> >i 1 0 0
>> >e
>> ></CsScore>
>> ></CsoundSynthesizer>
>> >
>> >Ciao -
>> >
>> >       joachim
>> >
>> >
>> >Am 17.04.2010 um 09:33 schrieb Stefan Thomas:
>> >
>> >> Dear community,
>> >> I've read in the csound-manual the article aboud cpstmid
>> >> There I've read that I can define a  non standard scale in this way:
>> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> >> (equal temp)
>> >>   f1 0 64 -2   12       2        261        60         1
>> >> 1.059463094359  1.122462048309  1.189207115003
>> >>
>> >> Now I would like to create a scale with 96 notes per octave.
>> >> Off course I could do
>> >>   ;          numgrades interval  basefreq basekeymidi tuning ratios
>> >> (equal temp)
>> >>   f1 0 64 -2   96       2             261        60         1
>> >> But then I had to calculate 96 ratios!!
>> >> Isn't there possibility to do this in a more convenient way?
>> >>
>> >
>> >
>> >
>> >Send bugs reports to the Sourceforge bug tracker
>> >            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> >Discussions of bugs and features can be posted here
>> >To unsubscribe, send email sympa@lists.bath.ac.uk with body
>> "unsubscribe
>> csound"
>> >
>> >
>>
>>
>>
>>
>> Send bugs reports to the Sourceforge bug tracker
>>            https://sourceforge.net/tracker/?group_id=81968&atid=564599
>> Discussions of bugs and features can be posted here
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>>
>>
>
> Send bugs reports to the Sourceforge bug tracker
>             https://sourceforge.net/tracker/?group_id=81968&atid=564599
> Discussions of bugs and features can be posted here
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
>




Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"