Предлагаем устройство дистанционного контроля и охраны нового поколения — Zummer GSM.

2004-09-30 Thread Callum


  


Безопасность дома и офиса
 

– Вам необходимо обезопасить себя и своих близких от неожиданного нападения;
– Вы хотите получать мгновенное уведомление по телефону при посягательстве на Ваше имущество;
– Вы хотите послушать, что происходит в охраняемом помещении, кто и о чём говорит по Вашему телефону.
Вам поможет  устройство дистанционного контроля и охраны нового поколения — Zummer GSM.
– прослушивание с помощью мобильного телефона помещений и телефонной линии;
– уведомление о несанкционированном проникновении в помещение;
– звуковая сигнализация (сирена) и другие возможности.
Уведомление осуществляет посредством передачи SMS-сообщений на 2 мобильных телефона и автоматического дозвона на 3-й номер с характерным тревожным сигналом.

Ознакомится с работой устройства Вы можете бесплатно, заказав демонстрацию или в нашем Выставочном зале.
После установки устройства у нас Вы можете заключить Договор на оказание услуг по охране помещений с любым охранным предприятием  (более 80) входящим в Ассоциацию ветеранов подразделения антитеррора "Альфа".
 

  
  Visual Systems  Ltd, 2000-2004
 
  


___
lilypond-user mailing list
[EMAIL PROTECTED]
http://lists.gnu.org/mailman/listinfo/lilypond-user


Custom Format

2021-03-30 Thread Callum Cassidy-Nolan
Hi there,

I have just become aware of lilypond.

I would love to use it, but I have a particular way I interact with music.

Particularly I don't use letter names, but instead I use numbers, to understand 
what I mean, please take a look at my document: 
https://gitlab.com/cuppajoeman/music/-/blob/master/diagrams/standard_to_semitones.pdf

I just saw a basic example in the documentation, something like this:

\version "2.22.0"
{
  c' e' g' e'
}

In my system I would write something like this:

\version "2.22.0"
{
  0' 4' 7' 4'
}

I am assuming some sort of parsing could be done to my files to convert it into 
the correct format, and then could be parsed by lilypond. Could anyone let me 
know how I could do something like this?

Thanks in advance,

[sig_smaller.png]

Re: Custom Format

2021-03-31 Thread Callum Cassidy-Nolan
Hi Aaron,

Thanks for reminding me about the mailing list - my email client only put in 
your email when I pressed reply - so I have to enter it manually (proton mail 
web client).

> Since LilyPond already uses numbers for durations, you might consider
> writing numeric pitches in alphabetic form, since this most clearly
> disambiguates pitches from durations.  Here is an example of defining
> custom note names in LilyPond:

Thanks, I will think about how I could incorporate that if I find the number 
syntax unwieldy.

I have used the search function on the docs: 
http://lilypond.org/doc/v2.22/Documentation/notation/index#top for the term 
`make-pitch` and in the http://lilypond.org/doc/v2.22/Documentation/extending/ 
but I wasn't able to find an explanation of what that does.

Edit) After searching - it was the fourth search result on here: 
https://www.google.com/search?btnG=Google+Search&brute_query=make-pitch&q=site%3Alilypond.org%2Fdoc%2Fv2.21+make-pitch
 here is the link: 
http://lilypond.org/doc/v2.21/Documentation/internals/scheme-functions

Here is it's definition:

Function: ly:make-pitch octave note alter

octave is specified by an integer, zero for the octave containing middle C. 
note is a number indexing the global default scale, with 0 corresponding to 
pitch C and 6 usually corresponding to pitch B. Optional alter is a rational 
number of 200-cent whole tones for alteration.

Could you explain why 6 usually corresponds to the pitch B and not always?

Also I am new to Scheme and still trying to wrap my head around your original 
function:

#(define (: n)
   (apply
ly:make-pitch
(cons (1- (floor (/ n 12)))
  (list-ref `((0 0) (0 ,SHARP) (1 0) (1 ,SHARP)
  (2 0) (3 0) (3 ,SHARP) (4 0)
  (4 ,SHARP) (5 0) (5 ,SHARP) (6 0))
(modulo n 12)


Here is my best guess, for each element in the following list - apply the 
function make-pitch to each element.

floor (/ n 12 ): is representing how many octaves fit into this number? Why do 
you subtract this number from one?

The list-ref thing is choosing one of the elements from that list , but I don't 
fully understand what an arbitrary element from that list actually is, for 
example what does (3, SHARP) mean?

If you could help clarify any of this, it would be appreciated,
Callum

‐‐‐ Original Message ‐‐‐
On Wednesday, March 31, 2021 1:20 PM, Aaron Hill  
wrote:

> (For your reference, do try to remember keeping the mailing list on
> future emails. This ensures wider visibility and continuity of the
> discussion for all users. Also, those of us who participate on the list
> are sometimes busy with other work, so personal contact can often result
> in delayed or missing responses.)
>
> > Could you point me to a place in the docs where I could understand
> > what your solutions/functions are doing?
>
> While not exhaustive, I would direct you to the Extending manual [1].
> It is a good starting point; in particular, it covers how LilyPond
> intermingles its own music syntax with that of Scheme.
>
> [1]: http://lilypond.org/doc/v2.22/Documentation/extending/index.html
>
> > > This looks like exactly what I want. Thank you for your efforts.
> > > I will give each of these a shot and let you know how that goes.
>
> Since LilyPond already uses numbers for durations, you might consider
> writing numeric pitches in alphabetic form, since this most clearly
> disambiguates pitches from durations. Here is an example of defining
> custom note names in LilyPond:
>
> 
> \version "2.22.0"
>
> #(define (define-custom-note-names language notes)
> (set! language-pitch-names
> (acons language notes language-pitch-names)))
>
> #(define-custom-note-names 'numeric-english
> `((zero . ,(ly:make-pitch -1 0 NATURAL)) (one . ,(ly:make-pitch -1 0 SHARP)) 
> (two . ,(ly:make-pitch -1 1 NATURAL)) (three . ,(ly:make-pitch -1 1 SHARP)) 
> (four . ,(ly:make-pitch -1 2 NATURAL)) (five . ,(ly:make-pitch -1 3 NATURAL)) 
> ; ... )) #(define-custom-note-names 'numeric-roman`((z . ,(ly:make-pitch -1 0 
> NATURAL))
> (i . ,(ly:make-pitch -1 0 SHARP))
> (ii . ,(ly:make-pitch -1 1 NATURAL))
> (iii . ,(ly:make-pitch -1 1 SHARP))
> (iv . ,(ly:make-pitch -1 2 NATURAL))
> (v . ,(ly:make-pitch -1 3 NATURAL))
> ; ...
> ))
>
> \language "numeric-english"
> { zero'4 four'8 five' two'2 }
>
> \language "numeric-roman"
> { z'4 iv'8 v' ii'2 }
> 
>
> NOTE: I've abbreviated the definitions above, but you should be able to
> continue the patterns as needed.
>
> -- Aaron Hill





Re: AW: Custom Format

2021-03-31 Thread Callum Cassidy-Nolan
Hi Torsten,

You are correct, there is no distinction between these two notes, because in 
terms of pitch they are the same. I realize that my approach to music is 
non-standard, and when I made it I was not thinking about how that would play 
into formatting documents with it. I follow the same idea for intervals too.

I suppose you are asking me these questions because lilypad does differentiate 
between these different ways of saying the same note or interval? Could you 
give me some use cases where my notation would cause problems - I'd like to 
know for the future.

Personally I don't mind which it chooses, say D# or Eb, based on Aarons 
original function:

#(define (: n)
(apply
ly:make-pitch
(cons (1- (floor (/ n 12)))
(list-ref `((0 0) (0 ,SHARP) (1 0) (1 ,SHARP)
(2 0) (3 0) (3 ,SHARP) (4 0)
(4 ,SHARP) (5 0) (5 ,SHARP) (6 0))
(modulo n 12)

But having a way to over-ride it's value to be one or the other would be nice. 
As I am new to Scheme I don't know exactly how to do it, but my idea would be 
to have the following behavior.

Always choose the sharp version unless an optional argument is provided to the 
function which tells it to choose the flattened version. If someone could 
outline how I could implement that with Scheme, it would be awesome.

Best,
Callum

‐‐‐ Original Message ‐‐‐
On Wednesday, March 31, 2021 2:05 PM,  wrote:

> Hi Callum,
>
> In the first place, I don’t understand how your numeric code could ever 
> handle accidentals correctly.
>
> Looking into your PDF document, I can’t see any distinction between D# and 
> Eb, for instance.
>
> And your table states: 9 “Minor sixth”. But how would you code an augmented 
> fifth, then?
>
> Etc.
>
> All the best
>
> Torsten
>
> Von: lilypond-user  
> Im Auftrag von Callum Cassidy-Nolan
> Gesendet: Mittwoch, 31. März 2021 02:31
> An: lilypond-user@gnu.org
> Betreff: Custom Format
>
> Hi there,
>
> I have just become aware of lilypond.
>
> I would love to use it, but I have a particular way I interact with music.
>
> Particularly I don't use letter names, but instead I use numbers, to 
> understand what I mean, please take a look at my document: 
> https://gitlab.com/cuppajoeman/music/-/blob/master/diagrams/standard_to_semitones.pdf
>
> I just saw a basic example in the documentation, something like this:
>
> \version "2.22.0"
>
> {
>
> c' e' g' e'
>
> }
>
> In my system I would write something like this:
>
> \version "2.22.0"
>
> {
>
> 0' 4' 7' 4'
>
> }
>
> I am assuming some sort of parsing could be done to my files to convert it 
> into the correct format, and then could be parsed by lilypond. Could anyone 
> let me know how I could do something like this?
>
> Thanks in advance,