back to list

Question for Aaron

🔗genewardsmith <genewardsmith@...>

3/29/2011 3:03:45 PM

Here's a question I asked someone else. When I asked this question, his response was that I should uninstall Python 2.7, install Python 2.6, and run a program he had written. The question was simply this: could you provide some examples of .sco files which use your .orc file? This is what I mean by CSound being geekified.

I'm asking you the same: can you provide some .sco files which use microsound.orc? Is there any kind of common format?

🔗Aaron Krister Johnson <aaron@...>

3/29/2011 4:34:55 PM

Hi Gene,

Yes, I can provide .sco files, better yet, you can run 'microcsound -s
your_piece.mc' and it will output a .sco file so you can manually run it
against an orchestra.

However, the whole point is to avoid thinking about .sco files at all. Being
a front end, microcsound will automagically output a score file into the
'/tmp' directory, then run csound with that .sco file against a default .orc
file, so all of this is 'under the hood', and thus hidden away from you, so
you don't have to see the messiness of it all.

But to learn how csound works, sure, you can see the output of the much more
intuitive .mc format translated into a .sco file....

AKJ

On Tue, Mar 29, 2011 at 5:03 PM, genewardsmith
<genewardsmith@...>wrote:

> Here's a question I asked someone else. When I asked this question, his
> response was that I should uninstall Python 2.7, install Python 2.6, and run
> a program he had written. The question was simply this: could you provide
> some examples of .sco files which use your .orc file? This is what I mean by
> CSound being geekified.
>
> I'm asking you the same: can you provide some .sco files which use
> microsound.orc? Is there any kind of common format?
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org

[Non-text portions of this message have been removed]

🔗Aaron Krister Johnson <aaron@...>

3/29/2011 4:46:37 PM

And yes, I setup microcsound to follow a standard output to the .sco file:

i(ins_num) (onset time) (duration) (amp) (pitch) (pan) (mix_level) p8 p9 p10
p11....

thus the p1-p7 parameters are given, and extra user parameters are p8 and
up. Users can define hese extra parameters from within the .mc by using
quotes, the p-fields being separated by '%' signs.

For example, I have a simple video-game sounding instrument, instrument 6 in
'microcsound.orc'. I can do a 31-equal C-major scale where the attack time
is 0.1 seconds, the release time is 0.05 seconds, the waveform is pulse
(choice '2' in the vco2 opcode), and the pulse-width is 0.3:

1: div=31 i=6 "0.1%0.05%2%0.3" t=60 pan=0.5 mix=0.9 #### most global params
are 0-1
1: c d e f g a b c' 4 #### c major scale, last note held for 4 beats

if I were saving this in the file 'dumb_scale.mc', I type:

microcsound dumb_scale.mc

and it outputs 'dumb_scale.wav' into the same directory.

I can do this realtime, if there is enought processing power and the
instruments aren't too complex:

microcsound -r dumb_scale.mc

no wav file is produced, but it goes right to the sound card.

Best of all I can test things from the command line, using:

microcsound -i

and play around with intervals, etc. including JI, using a N:D notation
scheme

more at the tutorial: http://www.akjmusic.com/microcsound_tutorial.html

AKJ
On Tue, Mar 29, 2011 at 6:34 PM, Aaron Krister Johnson
<aaron@...>wrote:

> Hi Gene,
>
> Yes, I can provide .sco files, better yet, you can run 'microcsound -s
> your_piece.mc' and it will output a .sco file so you can manually run it
> against an orchestra.
>
> However, the whole point is to avoid thinking about .sco files at all.
> Being a front end, microcsound will automagically output a score file into
> the '/tmp' directory, then run csound with that .sco file against a default
> .orc file, so all of this is 'under the hood', and thus hidden away from
> you, so you don't have to see the messiness of it all.
>
> But to learn how csound works, sure, you can see the output of the much
> more intuitive .mc format translated into a .sco file....
>
> AKJ
>
>
> On Tue, Mar 29, 2011 at 5:03 PM, genewardsmith <
> genewardsmith@...> wrote:
>
>> Here's a question I asked someone else. When I asked this question, his
>> response was that I should uninstall Python 2.7, install Python 2.6, and run
>> a program he had written. The question was simply this: could you provide
>> some examples of .sco files which use your .orc file? This is what I mean by
>> CSound being geekified.
>>
>> I'm asking you the same: can you provide some .sco files which use
>> microsound.orc? Is there any kind of common format?
>>
>>
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>
>
> --
> Aaron Krister Johnson
> http://www.akjmusic.com
> http://www.untwelve.org
>
>

--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org

[Non-text portions of this message have been removed]

🔗genewardsmith <genewardsmith@...>

3/29/2011 5:52:31 PM

--- In MakeMicroMusic@yahoogroups.com, Aaron Krister Johnson <aaron@...> wrote:
>
> Hi Gene,
>
> Yes, I can provide .sco files, better yet, you can run 'microcsound -s
> your_piece.mc' and it will output a .sco file so you can manually run it
> against an orchestra.

Isn't that saying I should uninstall Windows and install Linux? I'm trying to get away from that sort of thinking.

> But to learn how csound works, sure, you can see the output of the much more
> intuitive .mc format translated into a .sco file....

Great! Can you send me some or post them here?

🔗Aaron Krister Johnson <aaron@...>

3/29/2011 6:11:00 PM

On Tue, Mar 29, 2011 at 7:52 PM, genewardsmith
<genewardsmith@...>wrote:

>
>
> --- In MakeMicroMusic@yahoogroups.com, Aaron Krister Johnson <aaron@...>
> wrote:
> >
> > Hi Gene,
> >
> > Yes, I can provide .sco files, better yet, you can run 'microcsound -s
> > your_piece.mc' and it will output a .sco file so you can manually run it
> > against an orchestra.
>
> Isn't that saying I should uninstall Windows and install Linux? I'm trying
> to get away from that sort of thinking.
>

No, I'm not saying that. How are you hearing that?

>
> > But to learn how csound works, sure, you can see the output of the much
> more
> > intuitive .mc format translated into a .sco file....
>
> Great! Can you send me some or post them here?
>
>
Let's do this offline....I already have a simple "mary had a little lamb"
example, of course it would be fun to do a Bach invention or something, just
for a demo.

AKJ

>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>

--
Aaron Krister Johnson
http://www.akjmusic.com
http://www.untwelve.org

[Non-text portions of this message have been removed]

🔗genewardsmith <genewardsmith@...>

3/29/2011 6:35:49 PM

--- In MakeMicroMusic@yahoogroups.com, Aaron Krister Johnson <aaron@...> wrote:

> > Isn't that saying I should uninstall Windows and install Linux? I'm trying
> > to get away from that sort of thinking.
> >
>
> No, I'm not saying that. How are you hearing that?

Because of all this talk about installation and registries. I got the impression, maybe wrong, that I needed to do something more than tweak a Python script.

🔗genewardsmith <genewardsmith@...>

3/29/2011 7:28:20 PM

--- In MakeMicroMusic@yahoogroups.com, "genewardsmith" <genewardsmith@...> wrote:

> Because of all this talk about installation and registries. I got the impression, maybe wrong, that I needed to do something more than tweak a Python script.

I tweaked it in all the ways which seemed obvious, and it crashed Python for me. Maybe someone who is better at this sort of thing would care to give it a shot.