back to list

ABC to .seq (Scala) / ABC to .sco (Csound)

🔗hfmlacerda <hfmlacerda@...>

8/14/2010 6:18:00 AM

Hi people,

I just released a new version of abc2sco.tcl (2010-08-13), a script to convert ABC music notation to Csound score (.sco, .csd) and Scala sequence format (.seq). It is based on Jef Moine's library tclabc-1.1.0.

http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-13.tgz
http://hudsonlacerda.webs.com/

Csound instruments and statements can be defined via ABC instructions %%csound, I:csound or [I:csound]. See gliss.abc and test.abc for examples.

abc2sco supports microtonalism (quarter tone accidentals, equal and linear temperaments).

Note onsets are slightly randomized using gaussian distribution, and tempo can be changed (continuously or gradually) by using a combination of "Q:" fields and decorations !acell.! or !rall.!. Dynamics !ffff! - !ppp! are interpreted, as well as !accent!, !stacatto! and slur (...).

The file ~/.abc2scorc , generated at the first run, stores user settings (several settings only can be changed by editing this file; the interface should be improved in future versions.)

abc2sco.tcl :
http://hudsonlacerda.webs.com/
tclabc :
http://moinejf.free.fr/
tcl/tk :
http://www.tcl.tk/
Csound :
http://csounds.com/
Scala :
http://www.huygens-fokker.org/scala/

ABC notation :
http://abcnotation.com/
ABC Plus :
http://abcplus.sourceforge.net/

Best,
Hudson

🔗Marcel de Velde <m.develde@...>

8/14/2010 6:55:12 AM

Hi Hudson,

I haven't yet gotten around to looking into ABC notation, but it looks
great.
And the Csound and Scala support could very well make this my favorite way
to work.
However, how extensive is the microtonal support in ABC?
Can I do Just Intonation in it?
And I don't mean 12 fixed ratios per octave, but custom ratios for each
note?

Kind regards,
Marcel

On 14 August 2010 15:18, hfmlacerda <hfmlacerda@...> wrote:

> Hi people,
>
> I just released a new version of abc2sco.tcl (2010-08-13), a script to
> convert ABC music notation to Csound score (.sco, .csd) and Scala sequence
> format (.seq). It is based on Jef Moine's library tclabc-1.1.0.
>
> http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-13.tgz
> http://hudsonlacerda.webs.com/
>
> Csound instruments and statements can be defined via ABC instructions
> %%csound, I:csound or [I:csound]. See gliss.abc and test.abc for examples.
>
> abc2sco supports microtonalism (quarter tone accidentals, equal and linear
> temperaments).
>
> Note onsets are slightly randomized using gaussian distribution, and tempo
> can be changed (continuously or gradually) by using a combination of "Q:"
> fields and decorations !acell.! or !rall.!. Dynamics !ffff! - !ppp! are
> interpreted, as well as !accent!, !stacatto! and slur (...).
>
> The file ~/.abc2scorc , generated at the first run, stores user settings
> (several settings only can be changed by editing this file; the interface
> should be improved in future versions.)
>
> abc2sco.tcl :
> http://hudsonlacerda.webs.com/
> tclabc :
> http://moinejf.free.fr/
> tcl/tk :
> http://www.tcl.tk/
> Csound :
> http://csounds.com/
> Scala :
> http://www.huygens-fokker.org/scala/
>
> ABC notation :
> http://abcnotation.com/
> ABC Plus :
> http://abcplus.sourceforge.net/
>
> Best,
> Hudson
>

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

🔗hfmlacerda <hfmlacerda@...>

8/14/2010 8:12:27 AM

Hi Marcel,

--- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@...> wrote:
[...]
> However, how extensive is the microtonal support in ABC?

Some programs accept microtonal accidentals, using a fraction of conventional (12-EDO) semitone, like _14/100E for E 14 cents below the E-natural.

Beside, abc2midi has the instruction "%%MIDI temperamentlinear", but there is the limitation for chords (pitchbends affect all notes).

BarFly, a program for Mac OS, has some support for tunings, but I don't know how it works.

> Can I do Just Intonation in it?
> And I don't mean 12 fixed ratios per octave, but custom ratios for each
> note?

I have written the program microabc to preprocess ABC with macros for microtones. With it, you can assign the tuning for every pitch. Have a look at my site.

abc2sco still only can do equal and linear temperaments, but in certain cases one could try to approximate the output for a given scale (in Csound or Scala).

For example, the default output for Scala is 31-EDO, using the notation system e31 (this can be changed editing ~/.abc2scorc). When generating the MIDI file, you can load a different tuning and let Scala assign the note names to the nearest pitches. (Maintaining abc2sco defaults, you need to edit the first lines of the output .seq file.)

With Csound, one could set the in a table (ftgen 2) and implement an instrument to calculate the pitch approximation. If the scale uses only 12 pitches, run abc2sco with "-eq 12" and use the instruction "%%csound p5=pitch" in the ABC file; then use the Csound instrument to convert the oct.pch to the desired scale (stored in the table).

Those are workarounds one could use now; but it is possible to implement the support for arbitrary tunings in abc2sco to make the things easier, I just didn't do it yet. BTW, currently abc2sco only understand Tartini-Couper accidentals.

Hudson

🔗hfmlacerda <hfmlacerda@...>

8/17/2010 8:19:31 PM

Hi Marcel (and others),

I have made a few changes in abc2sco and microabc:
http://hudsonlacerda.webs.com/

I have also written an example of how to use SoundFonts in Csound (fluid.orc and fluidtest.* in abc2sco package).

Concerning to just intonation and other tunings beyond equal and linear temperaments with ABC, I have written a short example. I may explain it in detail if you want:
http://hudsonlacerda.webs.com/abc/marcel-example.tgz

Cheers,
Hudson

--- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@...> wrote:
>
> Hi Hudson,
>
> I haven't yet gotten around to looking into ABC notation, but it looks
> great.
> And the Csound and Scala support could very well make this my favorite way
> to work.
> However, how extensive is the microtonal support in ABC?
> Can I do Just Intonation in it?
> And I don't mean 12 fixed ratios per octave, but custom ratios for each
> note?
>
> Kind regards,
> Marcel
>
>

🔗Marcel de Velde <m.develde@...>

8/26/2010 7:52:01 PM

Hi Hudson,

Thanks so much for the example!
And sorry for the late reply. Had been very bussy lately, didn't have the
time to properly look into it.

I had a gook look now and understand how one can do JI with it (with a
limitation to the size of the JI set available).
But it still looks a bit like an akward way of doing JI to me.
For now the easest and most clear way to me is still to print a score, write
ratios next to the notes, and then enter the ratios in a Scala sequence file
made from a 12tet midi.

Cheers,
Marcel

Hi Marcel (and others),
>
> I have made a few changes in abc2sco and microabc:
> http://hudsonlacerda.webs.com/
>
> I have also written an example of how to use SoundFonts in Csound
> (fluid.orc and fluidtest.* in abc2sco package).
>
> Concerning to just intonation and other tunings beyond equal and linear
> temperaments with ABC, I have written a short example. I may explain it in
> detail if you want:
> http://hudsonlacerda.webs.com/abc/marcel-example.tgz
>
> Cheers,
> Hudson
>

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

🔗hfmlacerda <hfmlacerda@...>

8/26/2010 8:32:52 PM

--- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@...> wrote:
>
> Hi Hudson,

Hi Marcel,

>
> Thanks so much for the example!
> And sorry for the late reply. Had been very bussy lately, didn't have the
> time to properly look into it.
>
> I had a gook look now

gook???

> and understand how one can do JI with it (with a
> limitation to the size of the JI set available).

The size of this set is limited (in the microabc example) to using all the Sagittal accidentals, but without accents.

But you can define a symbol as you wish, for example, [B] to mean 9/5, or even [9/5] to mean 9/5 but be printed as a note B. That is much more flexible, but you have to type the brackets in the source.

> But it still looks a bit like an akward way of doing JI to me.

Sagittal?

> For now the easest and most clear way to me is still to print a score, write
> ratios next to the notes, and then enter the ratios in a Scala sequence file
> made from a 12tet midi.

Is that procedure of editimng the file (entering ratios) executed by a computer program? Maybe Scala could do that automatically?

If you provide a short example of the assignment of pitch names to JI ratios, I shall see how could that be automated using microabc or abc2sco.

>
> Cheers,
> Marcel

Cheers,
Hudson

> > http://hudsonlacerda.webs.com/abc/marcel-example.tgz

🔗Marcel de Velde <m.develde@...>

8/26/2010 9:06:02 PM

> > I had a gook look now
>
> gook???
>

Hehe, I ment good :)

>
>
> > and understand how one can do JI with it (with a
> > limitation to the size of the JI set available).
>
> The size of this set is limited (in the microabc example) to using all the
> Sagittal accidentals, but without accents.
>
> But you can define a symbol as you wish, for example, [B] to mean 9/5, or
> even [9/5] to mean 9/5 but be printed as a note B. That is much more
> flexible, but you have to type the brackets in the source.
>

Aah wait a minute..
This part I didn't know yet.
I can write [5/3] and if I defined this this will give an A tuned to 5/3 and
I can write [27/16] and this will give an A tuned to 27/16?
And I can define a very large (almost infinitely large) set of definitions?

>
>
> > But it still looks a bit like an akward way of doing JI to me.
>
> Sagittal?
>

Yes, for the way I do JI (anything but a fixed scale thing) Sagittal isn't
good at all.

>
>
> > For now the easest and most clear way to me is still to print a score,
> write
> > ratios next to the notes, and then enter the ratios in a Scala sequence
> file
> > made from a 12tet midi.
>
> Is that procedure of editimng the file (entering ratios) executed by a
> computer program? Maybe Scala could do that automatically?
>

No I edit the file manually.
I have to analyse the music manually and then assign pitches.
One shortcut I do use sometimes is to use a fixed scale but to transpose the
1/1 point of the scale a lot during a piece.
Is such a thing possible? Then Saggital notation becomes usable in
combination with scale root changes.
Scale root changes must be in exact ratios again though.
In Scala sequence files I can do this like this for instance:
0 transpose (81/80)
0 key 3
Then I can keep the 12tet note names for normal 12tet music / 12 tone
scales, or use Sagittal for larger base scales / eastern music for instance.

>
> If you provide a short example of the assignment of pitch names to JI
> ratios, I shall see how could that be automated using microabc or abc2sco.
>

I don't work with pitch names or fixed / semi fixed scales.
I use just about every ratio there is, it depends on the structure of the
music.

But thanks! You've given me enough reason to look into it again :)
Missed that ratio possibility the first time!

Cheers,
Marcel

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

🔗hfmlacerda <hfmlacerda@...>

8/27/2010 8:34:09 AM

Hi Marcel,

--- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@...> wrote:
[...]
> Aah wait a minute..
> This part I didn't know yet.
> I can write [5/3] and if I defined this this will give an A tuned to 5/3 and
> I can write [27/16] and this will give an A tuned to 27/16?
> And I can define a very large (almost infinitely large) set of definitions?

We are now talking about specifically about microabc (preprocessor), not necessarily about abc2sco.tcl (which expects valid ABC, possibly resulted from preprocessing).

Currently, one needs to predefine all pitches/ratios. The set of definitions cannot be "infinitely large", but you can have scales with up to 1200 degrees per formal octave, and up to 4096 definitions (pitches) in total -- I hope that can be enough...

D.Keenan suggested me to accept JI ratios with no previous definition, simply interpreting them relative to basefreq for producing MIDI/audio. The same ratios could be converted to Sagittal pitches for printing (staff notation), or ET-quantised (currently, microabc can quantise pitches to 12/24/48-EDO). I did not implement this feature (so far) mainly because: (1) the (presumed) complexity of implementing a Sagittal pitch identifier; (2) the lack of another good output alternative for staff notation (I don't assume 48-EDO quantisation is attractive for people that use JI); (3) the lack of people interested in use it; (4) it is easier to list the ratios in a microabc file instead of implementing a new function to parse them.

> One shortcut I do use sometimes is to use a fixed scale but to transpose the
> 1/1 point of the scale a lot during a piece.
> Is such a thing possible? Then Saggital notation becomes usable in
> combination with scale root changes.

For Sagittal I think it is possible, but not for ratios. In microabc Sagittal pitches are interpreted when preprocessing the ABP music file, but the definitions of ratios (and other macros) are computed before preprocessing.

You can define each ratio as meaning a given Sagittal pitch, and change the "sagittalbasefreq:" dynamically inside the ABP music file. Something like this:

.
..
...
alias:0
replacesagittal:1
sagittalbasefreq: 435 A
procsag:1
procmac:1
1/1 C
10/9 D\
9/8 D
...
13/8 Aw
...
..
.

And in the music source:

.
..
...
%%microabc: sagittalbasefreq: 442.0 A
[1/1] [9/8]
%%microabc: sagittalbasefreq: 435.0 A
[9/8] [1/1]
%%microabc: sagittalbasefreq: 441.0 A
[1/1] [9/8]
...
..
.

(Not much handy, because it uses a frequency for transposition, not an interval. Another approach is to define other pitch names like e.g. 7/4j 3/2b to represent ratios relative to other references.)

Here is an example:
http://hudsonlacerda.webs.com/abc/ratios_example.tgz

Cheers,
Hudson

🔗hfmlacerda <hfmlacerda@...>

8/29/2010 5:17:21 PM

Hi Marcel and all,

I have uploaded a new version of microabc, which starts the implementation of the preprocessor of JI ratios.

http://hudsonlacerda.webs.com/abc/microabc-src-2010-08-29.tar.gz

I have also updated the documentation file:
http://hudsonlacerda.webs.com/abc/microabc-about.html

The "tutorial" maintains many old-fashioned examples which are not longer necessary (since several new features of microabc, abcm2ps and abc2midi have made the things simpler since the very first releases); however, it still may be useful until I write a new documentation. The section 5.7 ("Just intonation ratios") shows a short example of the new feature:
http://hudsonlacerda.webs.com/abc/microabc-tutorial.pdf

Another new feature is that microabc can export tuning files for fluidsynth.

The example linked below does not use the new feature, but it includes definitions for several 13-limit ratios with Sagittal pitch names (ji.txt):
http://hudsonlacerda.webs.com/abc/ratios_example.tgz

Cheers,
Hudson
http://hudsonlacerda.webs.com/

P.S.: I am also improving abc2sco.tcl, but I will not release a new version until some bugs in the new tclabc (1.2.0) be fixed.
The current abc2sco version is this:
http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-15.tgz
Here are links to tclabc version 1.1.0 (multiplataform sources and Windows installer):
http://moinejf.free.fr/tclabc-1.1.0.tar.gz
http://members.quicknet.nl/agm.schoutsen/tkabc_1.1.0-full-0.07-en-install.exe

--- In MakeMicroMusic@yahoogroups.com, "hfmlacerda" <hfmlacerda@...> wrote:
>
> Hi Marcel,
>
> --- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@> wrote:
> [...]
> > Aah wait a minute..
> > This part I didn't know yet.
> > I can write [5/3] and if I defined this this will give an A tuned to 5/3 and
> > I can write [27/16] and this will give an A tuned to 27/16?
> > And I can define a very large (almost infinitely large) set of definitions?
[...]

🔗Marcel de Velde <m.develde@...>

8/29/2010 6:38:57 PM

Oh yeah! :-D

That's looking great and instantly usable!
I'm going to do my next JI transcription (a Bach piece) using this :)

Btw, will this allready work with abc2sco?

Thanks!!

Marcel

On 30 August 2010 02:17, hfmlacerda <hfmlacerda@...> wrote:

> Hi Marcel and all,
>
> I have uploaded a new version of microabc, which starts the implementation
> of the preprocessor of JI ratios.
>
> http://hudsonlacerda.webs.com/abc/microabc-src-2010-08-29.tar.gz
>
> I have also updated the documentation file:
> http://hudsonlacerda.webs.com/abc/microabc-about.html
>
> The "tutorial" maintains many old-fashioned examples which are not longer
> necessary (since several new features of microabc, abcm2ps and abc2midi have
> made the things simpler since the very first releases); however, it still
> may be useful until I write a new documentation. The section 5.7 ("Just
> intonation ratios") shows a short example of the new feature:
> http://hudsonlacerda.webs.com/abc/microabc-tutorial.pdf
>
> Another new feature is that microabc can export tuning files for
> fluidsynth.
>
> The example linked below does not use the new feature, but it includes
> definitions for several 13-limit ratios with Sagittal pitch names (ji.txt):
>
> http://hudsonlacerda.webs.com/abc/ratios_example.tgz
>
> Cheers,
> Hudson
> http://hudsonlacerda.webs.com/
>
> P.S.: I am also improving abc2sco.tcl, but I will not release a new version
> until some bugs in the new tclabc (1.2.0) be fixed.
> The current abc2sco version is this:
> http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-15.tgz
> Here are links to tclabc version 1.1.0 (multiplataform sources and Windows
> installer):
> http://moinejf.free.fr/tclabc-1.1.0.tar.gz
>
> http://members.quicknet.nl/agm.schoutsen/tkabc_1.1.0-full-0.07-en-install.exe

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

🔗hfmlacerda <hfmlacerda@...>

8/29/2010 7:46:22 PM

--- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@...> wrote:
>
> Oh yeah! :-D
>
> That's looking great and instantly usable!
> I'm going to do my next JI transcription (a Bach piece) using this :)

Let me know about the process.

>
> Btw, will this allready work with abc2sco?

Add "den:0" to the microabc command line so that the output can be used by abc2sco. This will give you the best possible pitch approximations, using semitone fractions with denominators from 2 up to 256 -- the maximum denominator used by tclabc. In some (hopefully) unlikely cases, the pitch error may be higher than 1/8192 semitone (1/512 being the limit case), but then microabc will print a warning. Fortunately enough, for most cases the accuracy is very high, and microabc will not warn.

For abc2midi, you can use the default den:4096, since that is the resolution used in MIDI pitchbends.

To get the correct frequencies using abc2sco, use the command line option "-eq 24" before the ABC file name (and use tclabc-1.1.0).

Here are templates of commands:

microabc -i- -J -M<filename.abp> den:0 -o<filename.abc>

abc2sco.tcl -eq 24 -scala -o <filename.seq> <filename.abc>
scala --example <filename.seq> --exit

abc2sco.tcl -eq 24 -csound -o <filename.sco> <filename.abc>
csound -d <orchestra.orc> <filename.sco> -W -o <filename.wav>

After running abc2sco.tcl for the first time, have a look in the file "~/.abc2scorc" and edit it according to your convenience. I still have not planned the user interface, therefore editing that file is the only way to change some settings by now.

>
> Thanks!!
>
> Marcel
>
>
> On 30 August 2010 02:17, hfmlacerda <hfmlacerda@...> wrote:
>
> > Hi Marcel and all,
> >
> > I have uploaded a new version of microabc, which starts the implementation
> > of the preprocessor of JI ratios.
> >
> > http://hudsonlacerda.webs.com/abc/microabc-src-2010-08-29.tar.gz
> >
> > I have also updated the documentation file:
> > http://hudsonlacerda.webs.com/abc/microabc-about.html
> >
> > The "tutorial" maintains many old-fashioned examples which are not longer
> > necessary (since several new features of microabc, abcm2ps and abc2midi have
> > made the things simpler since the very first releases); however, it still
> > may be useful until I write a new documentation. The section 5.7 ("Just
> > intonation ratios") shows a short example of the new feature:
> > http://hudsonlacerda.webs.com/abc/microabc-tutorial.pdf
> >
> > Another new feature is that microabc can export tuning files for
> > fluidsynth.
> >
> > The example linked below does not use the new feature, but it includes
> > definitions for several 13-limit ratios with Sagittal pitch names (ji.txt):
> >
> > http://hudsonlacerda.webs.com/abc/ratios_example.tgz
> >
> > Cheers,
> > Hudson
> > http://hudsonlacerda.webs.com/
> >
> > P.S.: I am also improving abc2sco.tcl, but I will not release a new version
> > until some bugs in the new tclabc (1.2.0) be fixed.
> > The current abc2sco version is this:
> > http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-15.tgz
> > Here are links to tclabc version 1.1.0 (multiplataform sources and Windows
> > installer):
> > http://moinejf.free.fr/tclabc-1.1.0.tar.gz
> >
> > http://members.quicknet.nl/agm.schoutsen/tkabc_1.1.0-full-0.07-en-install.exe
>
>
> [Non-text portions of this message have been removed]
>

🔗hfmlacerda <hfmlacerda@...>

8/29/2010 9:49:15 PM

Hi Marcel,

Use this version:
http://hudsonlacerda.webs.com/abc/microabc-src-2010-08-30.tar.gz

I was curious about the tuning accuracy of "den:0" and found a bug (negative errors > 1/4096 were not displayed).

Now you can inspect the tuning accuracy for every note, using the command line option -I:

microabc -i- -J -Mjiratios.abp den:0

microabc -i- -J -Mjiratios.abp den:0 -I

Cheers,
Hudson

--- In MakeMicroMusic@yahoogroups.com, "hfmlacerda" <hfmlacerda@...> wrote:
>
> --- In MakeMicroMusic@yahoogroups.com, Marcel de Velde <m.develde@> wrote:
> >
> > Oh yeah! :-D
> >
> > That's looking great and instantly usable!
> > I'm going to do my next JI transcription (a Bach piece) using this :)
>
> Let me know about the process.
>
> >
> > Btw, will this allready work with abc2sco?
>
> Add "den:0" to the microabc command line so that the output can be used by abc2sco. This will give you the best possible pitch approximations, using semitone fractions with denominators from 2 up to 256 -- the maximum denominator used by tclabc. In some (hopefully) unlikely cases, the pitch error may be higher than 1/8192 semitone (1/512 being the limit case), but then microabc will print a warning. Fortunately enough, for most cases the accuracy is very high, and microabc will not warn.
>
> For abc2midi, you can use the default den:4096, since that is the resolution used in MIDI pitchbends.
>
> To get the correct frequencies using abc2sco, use the command line option "-eq 24" before the ABC file name (and use tclabc-1.1.0).
>
> Here are templates of commands:
>
> microabc -i- -J -M<filename.abp> den:0 -o<filename.abc>
>
> abc2sco.tcl -eq 24 -scala -o <filename.seq> <filename.abc>
> scala --example <filename.seq> --exit
>
> abc2sco.tcl -eq 24 -csound -o <filename.sco> <filename.abc>
> csound -d <orchestra.orc> <filename.sco> -W -o <filename.wav>
>
> After running abc2sco.tcl for the first time, have a look in the file "~/.abc2scorc" and edit it according to your convenience. I still have not planned the user interface, therefore editing that file is the only way to change some settings by now.
>
> >
> > Thanks!!
> >
> > Marcel
> >
> >
> > On 30 August 2010 02:17, hfmlacerda <hfmlacerda@> wrote:
> >
> > > Hi Marcel and all,
> > >
> > > I have uploaded a new version of microabc, which starts the implementation
> > > of the preprocessor of JI ratios.
> > >
> > > http://hudsonlacerda.webs.com/abc/microabc-src-2010-08-29.tar.gz
> > >
> > > I have also updated the documentation file:
> > > http://hudsonlacerda.webs.com/abc/microabc-about.html
> > >
> > > The "tutorial" maintains many old-fashioned examples which are not longer
> > > necessary (since several new features of microabc, abcm2ps and abc2midi have
> > > made the things simpler since the very first releases); however, it still
> > > may be useful until I write a new documentation. The section 5.7 ("Just
> > > intonation ratios") shows a short example of the new feature:
> > > http://hudsonlacerda.webs.com/abc/microabc-tutorial.pdf
> > >
> > > Another new feature is that microabc can export tuning files for
> > > fluidsynth.
> > >
> > > The example linked below does not use the new feature, but it includes
> > > definitions for several 13-limit ratios with Sagittal pitch names (ji.txt):
> > >
> > > http://hudsonlacerda.webs.com/abc/ratios_example.tgz
> > >
> > > Cheers,
> > > Hudson
> > > http://hudsonlacerda.webs.com/
> > >
> > > P.S.: I am also improving abc2sco.tcl, but I will not release a new version
> > > until some bugs in the new tclabc (1.2.0) be fixed.
> > > The current abc2sco version is this:
> > > http://hudsonlacerda.webs.com/abc/abc2sco-2010-08-15.tgz
> > > Here are links to tclabc version 1.1.0 (multiplataform sources and Windows
> > > installer):
> > > http://moinejf.free.fr/tclabc-1.1.0.tar.gz
> > >
> > > http://members.quicknet.nl/agm.schoutsen/tkabc_1.1.0-full-0.07-en-install.exe
> >
> >
> > [Non-text portions of this message have been removed]
> >
>

🔗Marcel de Velde <m.develde@...>

8/30/2010 8:01:48 AM

> Let me know about the process.
>

Will do.

>
> Add "den:0" to the microabc command line so that the output can be used by
> abc2sco. This will give you the best possible pitch approximations, using
> semitone fractions with denominators from 2 up to 256 -- the maximum
> denominator used by tclabc. In some (hopefully) unlikely cases, the pitch
> error may be higher than 1/8192 semitone (1/512 being the limit case), but
> then microabc will print a warning. Fortunately enough, for most cases the
> accuracy is very high, and microabc will not warn.
>
> For abc2midi, you can use the default den:4096, since that is the
> resolution used in MIDI pitchbends.
>
> To get the correct frequencies using abc2sco, use the command line option
> "-eq 24" before the ABC file name (and use tclabc-1.1.0).
>
> Here are templates of commands:
>
> microabc -i- -J -M<filename.abp> den:0 -o<filename.abc>
>
> abc2sco.tcl -eq 24 -scala -o <filename.seq> <filename.abc>
> scala --example <filename.seq> --exit
>
> abc2sco.tcl -eq 24 -csound -o <filename.sco> <filename.abc>
> csound -d <orchestra.orc> <filename.sco> -W -o <filename.wav>
>
> After running abc2sco.tcl for the first time, have a look in the file
> "~/.abc2scorc" and edit it according to your convenience. I still have not
> planned the user interface, therefore editing that file is the only way to
> change some settings by now.
>

Ah great. And the accuracy is by far good enough for me.
Thanks a lot!
You're my favorite list person now :) haha
Really thanks!

I'll redo my work in MicrABC, and will document it for others aswell and
spread the word.

Marcel

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