choose your own price to attend summer SuperCollider workshop week in London

View: New views
19 Messages — Rating Filter:   Alert me  

choose your own price to attend summer SuperCollider workshop week in London

by Click Nilson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

[cross-posting apologies]

Dear all,
A four day SuperCollider summer school will be held at the University of Westminster, Room 206 Wells Street, London W1T 3UW, Tues July 15 to Friday 18th 2008.

Both beginners and more advanced students are welcome and will be catered for. The course will culminate in a public gig for participants at Public Life in Shoreditch on the Friday night.

The organisers are John Eacott and Nick Collins, who will also be the main tutors. 

The course is being run at minimum costs on a basis of pay-what-you-like (you pay once at the workshops). In order to avoid time wasting, a minimum of £10 is required, and a £20 course fee is suggested as a basis for students, benefits etc (pay more if you can). However, bear in mind how much other workshops of this nature tend to cost, and you'll get an idea of how we're going out of the way to make this as non-commercial a venture as possible. The tutors are accepting no fee apart from travel expenses, and any excess will go to subsidising the Friday night performance opportunity, and if we go beyond that, to a dementia charity.  

The maximum number of participants we can take is 30. Please email John Eacott off list in order to register (john atsymbol informal dot org). Note also that the organisers are not responsible for finding London accommodation for international participants; travel and lodging would have to be dealt with by you.

best wishes,
John and Nick


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

note names to midi number / hz

by morgan packard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

> Hello List,
>
> I know about number.midicps, and number.cps midi. Does
> anyone have anthing that will nicely deal with, say
> f#4?
>
> thanks,
>
> -m-
>
> +++++++++++++++++++++++++++++++++++
> morganpackard.com
> myspace.com/morganpackard
> +++++++++++++++++++++++++++++++++++
> -->
>
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by morgan packard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Josh.

-m-

--- Josh Parmenter <josh@...> wrote:

> In the Ctk quark, there is a class called
> PitchClass. It can do this:
>
> a = PitchClass.new(\fs, 4);
> a.keynum;
> a.freq;
> a.pitch;
> a.note;
> a.acc;
> a.octave;
>
> // returns:
>
>
> a PitchClass
>
> 66
>
> 369.99442271163
>
> fs
>
> f
>
> s
>
> 4
>
> Best,
>
> Josh
>
> On Mar 17, 2008, at 10:21 AM, morgan packard wrote:
>
> > Hello List,
> >
> > I know about number.midicps, and number.cps midi.
> Does
> > anyone have anthing that will nicely deal with,
> say
> > f#4?
> >
> > thanks,
> >
> > -m-
> >
> > +++++++++++++++++++++++++++++++++++
> > morganpackard.com
> > myspace.com/morganpackard
> > +++++++++++++++++++++++++++++++++++
> > -->
> >
> > _______________________________________________
> > sc-users mailing list
> > sc-users@...
> >
>
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

>
> ******************************************
> /* Joshua D. Parmenter
> http://www.realizedsound.net/josh/
>
> “Every composer – at all times and in all cases –
> gives his own  
> interpretation of how modern society is structured:
> whether actively  
> or passively, consciously or unconsciously, he makes
> choices in this  
> regard. He may be conservative or he may subject
> himself to continual  
> renewal; or he may strive for a revolutionary,
> historical or social  
> palingenesis." - Luigi Nono
> */
>
> _______________________________________________
> sc-users mailing list
> sc-users@...
>
http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>


+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

a = PitchClass(60)
a.pitch

returns:

cn

This is one of the classes I use as the basis for my GUIDO functions (for writing out GUIDO notation files) and are also going to be important for the MusicXML stuff I have started.

BUT... there isn't a helpfile! ack... I'll make one tonight.

Another nice feature... it spells correctly!

a = PitchClass(\cn, 4);
b = a.transpose(PitchInterval(\minor, 3))
b.pitch

returns:

ef


Best,

Josh

On Mar 17, 2008, at 3:06 PM, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by thor-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


There is also lots of stuff in the wslib (now quark) that does this nicely.


On 17 Mar 2008, at 22:06, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Ryan Brown-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There are also methods in lance putnam's library for doing this.

"a4".notemidi
57

57.midinote
a 4

Ryan

On Mar 17, 2008, at 3:29 PM, thor wrote:


There is also lots of stuff in the wslib (now quark) that does this nicely.


On 17 Mar 2008, at 22:06, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks, 
Couldn't we merge some of these functionalities into a method for the official distro?
I think that at least these two minimal extensions from lance's should be included.

Best

-a-



On 17 Mar 2008, at 23:57, Ryan Brown wrote:

There are also methods in lance putnam's library for doing this.

"a4".notemidi
57

57.midinote
a 4

Ryan

On Mar 17, 2008, at 3:29 PM, thor wrote:


There is also lots of stuff in the wslib (now quark) that does this nicely.


On 17 Mar 2008, at 22:06, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks Josh,

a = PC(60) ;

a PC

a.pitch ;

cn

a.octave

3



Shouldn't it be 4?
(Like
60.midicps.cpsoct.round
)

-a-

On 17 Mar 2008, at 23:13, Josh Parmenter wrote:

a = PitchClass(60)
a.pitch

returns:

cn

This is one of the classes I use as the basis for my GUIDO functions (for writing out GUIDO notation files) and are also going to be important for the MusicXML stuff I have started.

BUT... there isn't a helpfile! ack... I'll make one tonight.

Another nice feature... it spells correctly!

a = PitchClass(\cn, 4);
b = a.transpose(PitchInterval(\minor, 3))
b.pitch

returns:

ef


Best,

Josh

On Mar 17, 2008, at 3:06 PM, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Ryan Brown-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Thanks,
> Couldn't we merge some of these functionalities into a method for  
> the official distro?
> I think that at least these two minimal extensions from lance's  
> should be included.

I agree, although there need to be some improvements:

- There needs to be an option to switch between Roland (middle C is  
C4) and Yamaha (middle C is C3) naming conventions.
- midinote should always return capitalized, non-spaced note names,  
i.e A4 not "a 4"

These things are easy to fix though...

Ryan
_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

yes... I actually just fixed that the other day... but haven't committed it yet. Will do tonight with a couple other changes.

Josh

On Mar 17, 2008, at 4:26 PM, Andrea Valle wrote:

Thanks Josh,

a = PC(60) ;

a PC

a.pitch ;

cn

a.octave

3



Shouldn't it be 4?
(Like
60.midicps.cpsoct.round
)

-a-

On 17 Mar 2008, at 23:13, Josh Parmenter wrote:

a = PitchClass(60)
a.pitch

returns:

cn

This is one of the classes I use as the basis for my GUIDO functions (for writing out GUIDO notation files) and are also going to be important for the MusicXML stuff I have started.

BUT... there isn't a helpfile! ack... I'll make one tonight.

Another nice feature... it spells correctly!

a = PitchClass(\cn, 4);
b = a.transpose(PitchInterval(\minor, 3))
b.pitch

returns:

ef


Best,

Josh

On Mar 17, 2008, at 3:06 PM, Andrea Valle wrote:

(Thanks Josh)

I'm in need of the contrary, midi --> name
I seem  to recall something but, hmm...

Is there anything ready or have I to implement something like that:

60.midinote 
// returms a string or a symbol
c4


Best

-a-

On 17 Mar 2008, at 20:32, Josh Parmenter wrote:

In the Ctk quark, there is a class called PitchClass. It can do this:

a = PitchClass.new(\fs, 4);
a.keynum;
a.freq;
a.pitch;
a.note;
a.acc;
a.octave;

// returns:


a PitchClass

66

369.99442271163

fs

f

s

4

Best,

Josh

On Mar 17, 2008, at 10:21 AM, morgan packard wrote:

Hello List,

I know about number.midicps, and number.cps midi. Does
anyone have anthing that will nicely deal with, say
f#4?

thanks,

-m-

+++++++++++++++++++++++++++++++++++
morganpackard.com
myspace.com/morganpackard
+++++++++++++++++++++++++++++++++++
-->

_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)





_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************

/* Joshua D. Parmenter

http://www.realizedsound.net/josh/


“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono

*/


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Josh Parmenter :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

And European conventions (where middle C is C1)

I would be interested in working on this. Let's figure out how we  
would like this to look, and we can make it.

Josh

On Mar 17, 2008, at 4:31 PM, Ryan Brown wrote:

>> Thanks,
>> Couldn't we merge some of these functionalities into a method for
>> the official distro?
>> I think that at least these two minimal extensions from lance's
>> should be included.
>
> I agree, although there need to be some improvements:
>
> - There needs to be an option to switch between Roland (middle C is
> C4) and Yamaha (middle C is C3) naming conventions.
> - midinote should always return capitalized, non-spaced note names,
> i.e A4 not "a 4"
>
> These things are easy to fix though...
>
> Ryan
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(Splitting the message because of 40 kb bounce limit...)

I agree, Ryan.

For the middle C, WikiPedia refers to "scientific notation" for C4

Leipp, Musique at acoustique, p. 147, refers to French (C3) and USA (C4) notation.

Leipp uses "ut" to indicate the name of the note, and it also specifies a German usage, numbering 60.midi as C1 (should be: c').
He is evidently counting the ' in the German use:

I will really just use C (i.e. English letters, otherwise we should also include ut and do), sharp sign, and a number indicating octave. 
 ...

-a-


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

(second part...)


A proposal:

 


// Lance Putnam, with really minor changes by andrea valle

+SimpleNumber {


midinote { arg style = \American ;
var offset = 0 ;
var midi, notes;
case { style == \French } { offset = -1}
{ style == \German } { offset = -3} ;
midi = (this + 0.5).asInteger;
notes = ["C", "C#", "D", "D#", "E", "F", "F#", "G", "G#", "A", "A#", "B"];
^(notes[midi%12] ++ (midi.div(12)-1+offset))
}
}

+String {
notemidi { arg style = \American ;
var offset = 0 ; // French usage: +1 ; German usage: +3
var twelves, ones, octaveIndex, midis;

case { style == \French } { offset = 1}
{ style == \German } { offset = 3} ;


midis = Dictionary[($c->0),($d->2),($e->4),($f->5),($g->7),($a->9),($b->11)];
ones = midis.at(this[0].toLower);


if( (this[1].isDecDigit), {
octaveIndex = 1;
},{
octaveIndex = 2;
if( (this[1] == $#) || (this[1].toLower == $s) || (this[1] == $+), {
ones = ones + 1;
},{
if( (this[1] == $b) || (this[1].toLower == $f) || (this[1] == $-), {
ones = ones - 1;
});
});
});
twelves = (this.copyRange(octaveIndex, this.size).asInteger) * 12;
^(twelves + 12 + ones + (offset*12))
}
}

+SequenceableCollection {

midinote { ^this.performUnaryOp('midinote') }
notemidi { ^this.performUnaryOp('notemidi') }
}

Usage:

60.midinote

C4

60.midinote(\German)

C1


60.midinote(\French)

C3

"C4".notemidi
60


"C1".notemidi(\German)

60


"C3".notemidi(\French)

60

// space allowed as before
"C 3".notemidi(\French)

60


Best


-a-


--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

That's not exactly European:
Italy uses do4, French ut3, Germany c'

But that's typically European
:-)

Best

-a-

On 18 Mar 2008, at 01:33, Josh Parmenter wrote:

And European conventions (where middle C is C1)

I would be interested in working on this. Let's figure out how we  
would like this to look, and we can make it.

Josh

On Mar 17, 2008, at 4:31 PM, Ryan Brown wrote:

Thanks,
Couldn't we merge some of these functionalities into a method for
the official distro?
I think that at least these two minimal extensions from lance's
should be included.

I agree, although there need to be some improvements:

- There needs to be an option to switch between Roland (middle C is
C4) and Yamaha (middle C is C3) naming conventions.
- midinote should always return capitalized, non-spaced note names,
i.e A4 not "a 4"

These things are easy to fix though...

Ryan
_______________________________________________
sc-users mailing list

******************************************
/* Joshua D. Parmenter

“Every composer – at all times and in all cases – gives his own  
interpretation of how modern society is structured: whether actively  
or passively, consciously or unconsciously, he makes choices in this  
regard. He may be conservative or he may subject himself to continual  
renewal; or he may strive for a revolutionary, historical or social  
palingenesis." - Luigi Nono
*/

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by felix-38 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


as a german resident I demand support for "H"

and ß while we are at it


On Tue, Mar 18, 2008 at 1:33 AM, Andrea Valle <valle@...> wrote:
Leipp, Musique at acoustique, p. 147, refers to French (C3) and USA (C4) notation.

Leipp uses "ut" to indicate the name of the note, and it also specifies a German usage, numbering 60.midi as C1 (should be: c').
He is evidently counting the ' in the German use:



 
--------------------------------------------------
Andrea Valle
--------------------------------------------------


_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by andrea valle-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well, that could be interesting...
Even if I should ask for do re mi fa sol la...

+ String {

play { arg releaseTime = 3.0;
var id, name, s;
var freq = this.notemidi.midicps ;
s = Server.default;
id = s.nextNodeID;
name = "note_test" ++ id;
SynthDef(name, { arg gate=1;
Out.ar(0,
SinOsc.ar(freq, pi/2, 0.3) * EnvGen.ar(Env.perc, gate, doneAction:2)
)
}).play(s);
}

}

+SequenceableCollection {

play { ^this.performUnaryOp('play') }
}


So you have

"C4".play

["C4", "E4", "G4", "B4"].play // chord C maj 7

Easy for me to understand than 60 or [60, 64, 67, 71], especially for other ranges. And useful for quick tests.

"D#6".play

["C#2", "F4", "G#5", "A6"].play // ok, I understand, even if I would prefer Db F Ab A


//with midi

"D#6".notemidi

87

["C#2", "F4", "G#5", "A6"].notemidi

[ 37, 65, 80, 93 ] // hmmm ?


Best

-a-


On 18 Mar 2008, at 01:39, felix wrote:


as a german resident I demand support for "H"

and ß while we are at it


On Tue, Mar 18, 2008 at 1:33 AM, Andrea Valle <valle@...> wrote:
Leipp, Musique at acoustique, p. 147, refers to French (C3) and USA (C4) notation.

Leipp uses "ut" to indicate the name of the note, and it also specifies a German usage, numbering 60.midi as C1 (should be: c').
He is evidently counting the ' in the German use:



 
--------------------------------------------------
Andrea Valle
--------------------------------------------------

_______________________________________________
sc-users mailing list

--------------------------------------------------
Andrea Valle
--------------------------------------------------
CIRMA - DAMS
Università degli Studi di Torino
--------------------------------------------------


"
Think of it as seasoning
. noise [salt] is boring
. F(blah) [food without salt] can be boring
. F(noise, blah) can be really tasty
"
(Ken Perlin on noise)






_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users

Re: note names to midi number / hz

by Tom Hall :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

There's also a nice little example "// build a table of note names"  
in the Literals helpfile

Tom

On 17 Mar 2008, at 23:26, Andrea Valle wrote:

> Thanks Josh,
>
> a = PC(60) ;
>
> a PC
>
> a.pitch ;
>
> cn
>
> a.octave
>
> 3
>
>
>
> Shouldn't it be 4?
> (Like
> 60.midicps.cpsoct.round
> )
>
> -a-
>
> On 17 Mar 2008, at 23:13, Josh Parmenter wrote:
>
>> a = PitchClass(60)
>> a.pitch
>>
>> returns:
>>
>> cn
>>
>> This is one of the classes I use as the basis for my GUIDO  
>> functions (for writing out GUIDO notation files) and are also  
>> going to be important for the MusicXML stuff I have started.
>>
>> BUT... there isn't a helpfile! ack... I'll make one tonight.
>>
>> Another nice feature... it spells correctly!
>>
>> a = PitchClass(\cn, 4);
>> b = a.transpose(PitchInterval(\minor, 3))
>> b.pitch
>>
>> returns:
>>
>> ef
>>
>>
>> Best,
>>
>> Josh
>>
>> On Mar 17, 2008, at 3:06 PM, Andrea Valle wrote:
>>
>>> (Thanks Josh)
>>>
>>> I'm in need of the contrary, midi --> name
>>> I seem  to recall something but, hmm...
>>>
>>> Is there anything ready or have I to implement something like that:
>>>
>>> 60.midinote
>>> // returms a string or a symbol
>>> c4
>>>
>>>
>>> Best
>>>
>>> -a-
>>>
>>> On 17 Mar 2008, at 20:32, Josh Parmenter wrote:
>>>
>>>> In the Ctk quark, there is a class called PitchClass. It can do  
>>>> this:
>>>>
>>>> a = PitchClass.new(\fs, 4);
>>>> a.keynum;
>>>> a.freq;
>>>> a.pitch;
>>>> a.note;
>>>> a.acc;
>>>> a.octave;
>>>>
>>>> // returns:
>>>>
>>>>
>>>> a PitchClass
>>>>
>>>> 66
>>>>
>>>> 369.99442271163
>>>>
>>>> fs
>>>>
>>>> f
>>>>
>>>> s
>>>>
>>>> 4
>>>>
>>>> Best,
>>>>
>>>> Josh
>>>>
>>>> On Mar 17, 2008, at 10:21 AM, morgan packard wrote:
>>>>
>>>>> Hello List,
>>>>>
>>>>> I know about number.midicps, and number.cps midi. Does
>>>>> anyone have anthing that will nicely deal with, say
>>>>> f#4?
>>>>>
>>>>> thanks,
>>>>>
>>>>> -m-
>>>>>
>>>>> +++++++++++++++++++++++++++++++++++
>>>>> morganpackard.com
>>>>> myspace.com/morganpackard
>>>>> +++++++++++++++++++++++++++++++++++
>>>>> -->
>>>>>
>>>>> _______________________________________________
>>>>> sc-users mailing list
>>>>> sc-users@...
>>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>>
>>>> ******************************************
>>>> /* Joshua D. Parmenter
>>>> http://www.realizedsound.net/josh/
>>>>
>>>> “Every composer – at all times and in all cases – gives his own
>>>> interpretation of how modern society is structured: whether  
>>>> actively
>>>> or passively, consciously or unconsciously, he makes choices in  
>>>> this
>>>> regard. He may be conservative or he may subject himself to  
>>>> continual
>>>> renewal; or he may strive for a revolutionary, historical or social
>>>> palingenesis." - Luigi Nono
>>>> */
>>>>
>>>> _______________________________________________
>>>> sc-users mailing list
>>>> sc-users@...
>>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>>
>>> --------------------------------------------------
>>> Andrea Valle
>>> --------------------------------------------------
>>> CIRMA - DAMS
>>> Università degli Studi di Torino
>>> --> http://www.cirma.unito.it/andrea/
>>> --> http://www.myspace.com/andreavalle
>>> --> andrea.valle@...
>>> --------------------------------------------------
>>>
>>>
>>> "
>>> Think of it as seasoning
>>> . noise [salt] is boring
>>> . F(blah) [food without salt] can be boring
>>> . F(noise, blah) can be really tasty
>>> "
>>> (Ken Perlin on noise)
>>>
>>>
>>>
>>>
>>>
>>> _______________________________________________
>>> sc-users mailing list
>>> sc-users@...
>>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>>
>> ******************************************
>> /* Joshua D. Parmenter
>> http://www.realizedsound.net/josh/
>>
>> “Every composer – at all times and in all cases – gives his own  
>> interpretation of how modern society is structured: whether  
>> actively or passively, consciously or unconsciously, he makes  
>> choices in this regard. He may be conservative or he may subject  
>> himself to continual renewal; or he may strive for a  
>> revolutionary, historical or social palingenesis." - Luigi Nono
>> */
>>
>> _______________________________________________
>> sc-users mailing list
>> sc-users@...
>> http://lists.create.ucsb.edu/mailman/listinfo/sc-users
>
> --------------------------------------------------
> Andrea Valle
> --------------------------------------------------
> CIRMA - DAMS
> Università degli Studi di Torino
> --> http://www.cirma.unito.it/andrea/
> --> http://www.myspace.com/andreavalle
> --> andrea.valle@...
> --------------------------------------------------
>
>
> "
> Think of it as seasoning
> . noise [salt] is boring
> . F(blah) [food without salt] can be boring
> . F(noise, blah) can be really tasty
> "
> (Ken Perlin on noise)
>
>
>
>
>
> _______________________________________________
> sc-users mailing list
> sc-users@...
> http://lists.create.ucsb.edu/mailman/listinfo/sc-users

_______________________________________________
sc-users mailing list
sc-users@...
http://lists.create.ucsb.edu/mailman/listinfo/sc-users