Re: arabic tabs?

2015-08-14 Thread BB
Indeeed the code is helpful for my purposes to rember oud fingering! I 
can produce midi files as well. (First I had some problems, no idea what 
I did wrong, started again from scratch and it worked.) I am 
enthusiastic with this extension!!!


One (may be) problem is that one cannot mix the spellings, i. e. cis and 
cs. I can live with the new spelling of accidentals with your code and 
find it very pleasing and shorter as well. But I ( and for shure many 
others) do have old code, the want still to use and an extension or 
mix would be nice. A conversion is tedious. is and s ( as in as) is 
present in many other parts of code so a simple replace all is 
unrewarding. If the developers can be convinced to integrate this code 
additionally to the old way for simultaneously use is very questionable.


To summarize, I am very satisfied with that extension and could not find 
any bugs in my first attampts, beside the incompatibility problem 
described above.


Just for completeness of information:
In the arabic world there are different areas/schools/traditional lines 
that play notes slightly higher or lower than notated. For that there 
will be used arrows up or down in the music. For instance see

http://maqamworld.com/maqamat/sikah.html
at the bottom of the page Maqam Sikah Baladi you see such arrows. I 
think that compares to the blue note in the Blues, where the notation 
will give just an idea.


Maybe there is a oposibility to add such arrows to the sheet?

Persian qauartertones are generally played flatter, Turkish quartertones 
generally are played sharper, arabic ones are in the middle. But that is 
not a question of the notation. That is a regional difference in taste. 
Even in arabic music there is a west arabic and an east arabic style.


Well, I myself am just happy to find the correct quartertone in playing 
oud, regardless of persian/turkish/arabic! The tabs will help me in this!


Thanks again and have a nice weekend,
BB


On 13.08.2015 21:52, Thomas Morley wrote:

Glad to hear my coding works for you.
Though, I've no knowledge in microtonal music at all.
All I did was to let the TabStaff print positions like 1½ etc.
I've even no clue, whether the result is correct and would need you
and others for feedback about it.

But if you have a look into makam.ly you see how pitches and names are
defined. You could do similiar to create own names and pitches.
TabStaff_should_  then display them correctly, if not report it.
No idea about midi, though...



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-14 Thread Hans Åberg

 On 14 Aug 2015, at 15:18, BB bb-543...@telecolumbus.net wrote:

 Persian qauartertones are generally played flatter, Turkish quartertones 
 generally are played sharper, arabic ones are in the middle. But that is not 
 a question of the notation. That is a regional difference in taste. Even in 
 arabic music there is a west arabic and an east arabic style.
 
 Well, I myself am just happy to find the correct quartertone in playing oud, 
 regardless of persian/turkish/arabic! The tabs will help me in this!

The Persian microtones are about the same as Arabic, given variations and 
adaptations. In E53, try raising two commas and lower 3.

In Turkish E53 description lower/raise one comma, which is 4/6 relative the 
flats/sharps, which lower/raise 5 commmas.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-13 Thread Thomas Morley
2015-08-12 13:49 GMT+02:00 BB bb-543...@telecolumbus.net:

Thank you very much for your Help with your code! Your code works fine,
 here is an example code:

 oud = \stringTuning  f a d' g' c'' f'' 


 % https://en.wikipedia.org/wiki/Rast_%28maqam%29


 RastC = {

 \relative c'

 {

 c d eqf f g a bqf c |

 c d eqf f g a bqf c |

 }

 %\break

 }

 

 \new Staff 

 % \clef G_8

 ^Rast on C

 \RastC 

 \new TabStaff 

 \set TabStaff.stringTunings = #oud

 \tabFullNotation

 \RastC 


 
 \new Staff 
 % \clef G_8

 ^Rast on D

 \transpose c d
 \RastC 
 \new TabStaff 
 \set TabStaff.stringTunings = #oud
 \tabFullNotation
 \transpose c d
 \RastC 


 The mnemonic is great compared to makam.ly and arabic.ly. So I always give
 your solution preference ove the other both. Should become part of lilypond,
 2.10.1 Common notation for non-Western music!
 the use goes far bejond only just oriental music notation! One might use it
 for music with extended quarter-tone music. What is bejond that ? How to
 notate sixth-tone?

 I can work with the turkish way of notation, but I would prefer the arabic
 notation of quarter tones. Is that possible to change in a somple way?

Glad to hear my coding works for you.
Though, I've no knowledge in microtonal music at all.
All I did was to let the TabStaff print positions like 1½ etc.
I've even no clue, whether the result is correct and would need you
and others for feedback about it.

But if you have a look into makam.ly you see how pitches and names are
defined. You could do similiar to create own names and pitches.
TabStaff _should_ then display them correctly, if not report it.
No idea about midi, though...


 Just for information , the word makam
 https://en.wikipedia.org/wiki/Makam
 is used for the turkish way of notation, whereas the word maqam
 https://en.wikipedia.org/wiki/Arabic_maqam
 is used by the arabs for the arab way of notation. (In the wikipedia article
 for maqam the notation is not consistent, as it uses turish/arabic notation
 mixed. Better have a look at
 http://maqamworld.com/
 for the arabic way of notation.

 So, the file makam.ly at least is a misnomer! Should be maqam.ly. (Not
 really important, but may be inetresting in detail.)

 Thanks again,
 BB



 On 10.08.2015 23:52, Thomas Morley wrote:

 Hi,

 attached you'll find my attempt for a such a tab.
 It's based on `determine-frets' from translation-functions.scm

 There's surely wide room for improvements and maybe the one or other glitch
 ...


 Cheers,
   Harm



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-13 Thread Hans Åberg

 On 13 Aug 2015, at 17:51, BB bb-543...@telecolumbus.net wrote:
 
 Thanks for the interesting links!

There are other differences:

Turkish music is typically notated a 4th above sounding. In AEU notation, the 
sharp is erroneously given 4 commas—the E53 sharp has value 5 commas.

In Arab music, the microtonal values are larger than in Turkish music. In E53, 
try raising with 2 commas, lowering 3.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-13 Thread BB

Thanks for the interesting links!

Regards,
BB

On 12.08.2015 18:09, Hans Åberg wrote:

On 12 Aug 2015, at 15:54, BB bb-543...@telecolumbus.net wrote:

I tried to to rivet on differences in turkish/arab way of noatation, but I am 
sure I missed the point.
For someone interested, here is a much better (short) description:

http://www.oud.eclipse.co.uk/notation.html

For Arab maqam, there is
   http://www.maqamworld.com/

A Turkish makam notation system often described is called AEU 
(Arel-Ezgi-Uzdilek), as on
   https://en.wikipedia.org/wiki/Makam
Also see Ozan Yarman,
   http://www.musicstudies.org/Abjad_JIMS_071203.pdf









___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-12 Thread Hans Åberg

 On 12 Aug 2015, at 15:54, BB bb-543...@telecolumbus.net wrote:
 
 I tried to to rivet on differences in turkish/arab way of noatation, but I am 
 sure I missed the point.
 For someone interested, here is a much better (short) description:
 
 http://www.oud.eclipse.co.uk/notation.html

For Arab maqam, there is
  http://www.maqamworld.com/

A Turkish makam notation system often described is called AEU 
(Arel-Ezgi-Uzdilek), as on
  https://en.wikipedia.org/wiki/Makam
Also see Ozan Yarman,
  http://www.musicstudies.org/Abjad_JIMS_071203.pdf







___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-12 Thread BB


Thank you very much for your Help with your code! Your code works 
fine, here is an example code:


oud = \stringTuning  f a d' g' c'' f'' 


% https://en.wikipedia.org/wiki/Rast_%28maqam%29


RastC = {

\relative c'

{

c d eqf f g a bqf c |

c d eqf f g a bqf c |

}

%\break

}



\new Staff 

% \clef G_8

^Rast on C

\RastC 

\new TabStaff 

\set TabStaff.stringTunings = #oud

\tabFullNotation

\RastC 



\new Staff 
% \clef G_8

^Rast on D

\transpose c d
\RastC 
\new TabStaff 
\set TabStaff.stringTunings = #oud
\tabFullNotation
\transpose c d
\RastC 


The mnemonic is great compared to makam.ly and arabic.ly. So I always 
give your solution preference ove the other both. Should become part of 
lilypond,

2.10.1 Common notation for non-Western music!
the use goes far bejond only just oriental music notation! One might use 
it for music with extended quarter-tone music. What is bejond that ? How 
to notate sixth-tone?


I can work with the turkish way of notation, but I would prefer the 
arabic notation of quarter tones. Is that possible to change in a somple 
way?


Just for information , the word makam
https://en.wikipedia.org/wiki/Makam
is used for the turkish way of notation, whereas the word maqam
https://en.wikipedia.org/wiki/Arabic_maqam
is used by the arabs for the arab way of notation. (In the wikipedia 
article for maqam the notation is not consistent, as it uses 
turish/arabic notation mixed. Better have a look at

http://maqamworld.com/
for the arabic way of notation.

So, the file makam.ly at least is a misnomer! Should be maqam.ly. (Not 
really important, but may be inetresting in detail.)


Thanks again,
BB



On 10.08.2015 23:52, Thomas Morley wrote:

Hi,

attached you'll find my attempt for a such a tab.
It's based on `determine-frets' from translation-functions.scm

There's surely wide room for improvements and maybe the one or other glitch ...


Cheers,
   Harm


___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-12 Thread BB
I tried to to rivet on differences in turkish/arab way of noatation, but 
I am sure I missed the point.

For someone interested, here is a much better (short) description:

http://www.oud.eclipse.co.uk/notation.html

Important to notice to avoid mail storms about more or less cents:

... the symbols really only 'represent' the notes rather than fix a 
specific pitch for them ..



On 12.08.2015 13:49, BB wrote:
the word makam (pl. makamlar)  is used for the turkish way of 
notation, whereas the word maqam (pl. maqamat) is used by the arabs 
for the arab way of notation.



___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user


Re: arabic tabs?

2015-08-10 Thread Thomas Morley
2015-08-09 14:31 GMT+02:00 BB bb-543...@telecolumbus.net:
 I found two possibilities to write arabic accidentals in the Notation
 reference.
 2.10.1 Common notation for non-Western music
 \include makam.ly
 with English names (c d ...),
 and
 2.10.2 Arabic music
 using the Italian names ( do re ...)

 Both hard to remember the different postfixes, but works anyway. I myself
 prefer the English name version.

 As a nonarabic Oud player I am interested in tabs with quarter tones. I was
 thinking about how to do this and found, that one might set a sign for half
 flat oder half sharp before the fret number in the tab. So I will be
 remembered to take care for that quarter tones. Well, fretless instruments
 do not have frets, but an equivalent finger set.

 Does anybody have such a solution or another one?

 Regards,
 BB


Hi,

attached you'll find my attempt for a such a tab.
It's based on `determine-frets' from translation-functions.scm

There's surely wide room for improvements and maybe the one or other glitch ...


Cheers,
  Harm
\version 2.19.24

#(define-public
  (my-determine-frets context notes specified-info . rest)
  Determine string numbers and frets for playing @var{notes}
as a chord, given specified information @var{specified-info}.
@var{specified-info} is a list with two list elements,
specified strings @code{defined-strings} and
specified fingerings @code{defined-fingers}.  Only a fingering of@tie{}0
will affect the fret selection, as it specifies an open string.
If @code{defined-strings} is @code{'()}, the context property
@code{defaultStrings} will be used as a list of defined strings.
Will look for predefined fretboards if @code{predefinedFretboardTable}
is not @code {#f}.  If @var{rest} is present, it contains the
@code{FretBoard} grob, and a fretboard will be
created.  Otherwise, a list of @code{(string fret finger)} lists will
be returned.

  ;;  helper functions

  (define (string-frets-placement-list string-frets string-count)
Convert @var{string-frets} to @code{fret-diagram-verbose}
dot placement entries.
(let* ((placements (list-vector
(map (lambda (x) (list 'mute  x))
 (iota string-count 1)

  (for-each (lambda (sf)
  (let* ((string (car sf))
 (fret (cadr sf))
 (finger (caddr sf)))
(vector-set!
 placements
 (1- string)
 (if (= 0 fret)
 (list 'open string)
 (if finger
 (list 'place-fret string fret finger)
 (list 'place-fret string fret))
string-frets)
(vector-list placements)))

  (define (placement-list-string-frets placement-list)
Convert @var{placement-list} to string-fret list.
(map (lambda (x) (if (eq? (car x) 'place-fret)
 (cdr x)
 (list (cadr x) 0)))
 (filter (lambda (l) (or (eq? (car l) 'place-fret)
 (eq? (car l) 'open)))
 placement-list)))

  (define (entry-count art-list)
Count the number of entries in a list of articulations.
(length (filter (lambda (x) (not (null? x)))
art-list)))

  (define (string-number event)
Get the string-number from @var{event}.  Return @var{#f}
if no string-number is present.
(let ((num (ly:event-property event 'string-number)))
  (and (integer? num) (positive? num) num)))

  (define (determine-frets-and-strings
   notes
   defined-strings
   defined-fingers
   minimum-fret
   maximum-stretch
   tuning)
Determine the frets and strings used to play the notes in
@var{notes}, given @var{defined-strings} and @var{defined-fingers}
along with @var{minimum-fret}, @var{maximum-stretch}, and
@var{tuning}.  Returns a list of @code{(string fret finger) lists.


(define restrain-open-strings (ly:context-property context
   'restrainOpenStrings
   #f))
(define specified-frets '())
(define free-strings (iota (length tuning) 1))

(define (calc-fret pitch string tuning)
  Calculate the fret to play @var{pitch} on @var{string} with
@var{tuning}.
  (* 2  (- (ly:pitch-tones pitch) (ly:pitch-tones (list-ref tuning (1- string))

(define (note-pitch note)
  Get the pitch (in semitones) from @var{note}.
  (ly:event-property note 'pitch))

(define (note-finger ev)
  Get the fingering from @var{ev}.  Return @var{#f}
if no fingering is present.
  (let* ((articulations (ly:event-property ev 'articulations))
 (finger-found #f))
(for-each (lambda (art)
(let* ((num (ly:event-property art 'digit)))

  (if (and 

arabic tabs?

2015-08-09 Thread BB
I found two possibilities to write arabic accidentals in the Notation 
reference.

2.10.1 Common notation for non-Western music
\include makam.ly
with English names (c d ...),
and
2.10.2 Arabic music
using the Italian names ( do re ...)

Both hard to remember the different postfixes, but works anyway. I 
myself prefer the English name version.


As a nonarabic Oud player I am interested in tabs with quarter tones. I 
was thinking about how to do this and found, that one might set a sign 
for half flat oder half sharp before the fret number in the tab. So I 
will be remembered to take care for that quarter tones. Well, fretless 
instruments do not have frets, but an equivalent finger set.


Does anybody have such a solution or another one?

Regards,
BB

___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user