Myriad Forum « transpose octave shortcut »
 Welcome, Guest.
 You can read all messages, but to be able to post,
 please Login or Register.
Dec 15th, 2017, 9:07pm 
   Myriad Forum
   Melody Assistant / Harmony Assistant
(Moderator: Forum Administrator)
   transpose octave shortcut
   
« Previous topic | Next topic »
Pages: 1 2  Reply | Notify of replies | Print
   Author  Topic: transpose octave shortcut  (Read 339 times)
jihel9
Board Master
*****




baryton

   
Email

Gender: male
Posts: 1977
Re: transpose octave shortcut  
« Reply #15 on: Nov 28th, 2017, 11:25am »
Quote | Modify

par exemple  :  
 
-- Save the front myScore in MyrWeb file format in the "Music Export" folder
Include "MSDefine"
local myScore
local theCompleteFileName
 
-- Getting the front score
myScore=FrontScore()
if(myScore ~= nil) then
 -- Creating complete file name in the export folder
 theCompleteFileName=GetUserExportPathName("Music Export").."MyExport"
 -- Exporting the file
 myScore.WebExport(theCompleteFileName,FORMAT_HTML)  
else
 Message("Please load a score");
end
 
(pas de moi)
offline

Jean Louis, à Anthisnes (25 Km au sud de Liège)
Harmony Assistant, la dernière version
Win 10, Intel I3-5010U, 8gb, Chrome / Firefox / Edge
francophone (traduction automatique des autres langues)
Andre_B
Board Master
*****





   


Gender: male
Posts: 582
Re: transpose octave shortcut  
« Reply #16 on: Nov 28th, 2017, 2:20pm »
Quote | Modify

Oui, j'avais pensé à un script, et j'en ai fait un pour myrweb il y a quelques temps.  
 
J'ai regardé l'export par lot, cela utilise un paramétrage distinct de celui utilisé "normalement", comme le script d'ailleurs - peut-être le même.  
 
Et un petit essai me génère des html tout à fait vides...
offline

André Baeck, belge vivant dans le Gard
Tony Deff
Board Master
*****



How much music is out there, yet to be composed?

   
Email

Gender: male
Posts: 707
Euro keyboards   French_Keyboard_Layout.png
« Reply #17 on: Nov 28th, 2017, 5:30pm »
Quote | Modify

on Nov 28th, 2017, 4:31am, PaulL wrote:
On my keyboard, the key to the left of the Z key is the left-side shift key ...  Where is the Z key on the French keyboard?

The mystery partly explained ...
offline


H.A. (2010), Gold Sound, Virtual Singer, Windows XP3, Firefox. Anglophone
Tony Deff
Board Master
*****



How much music is out there, yet to be composed?

   
Email

Gender: male
Posts: 707
Typical UK Keyboard   English_common_Keyboard_Layout.png
« Reply #18 on: Nov 28th, 2017, 5:57pm »
Quote | Modify

This is one of the common UK keyboard layouts.
 
On my keyboard, < and > are the shift characters of , and . (to the right of M).
 
To the left of Z,  I have a backslash (\). Some US keyboards have nothing there.
 
When I was an HA novice, this caused me panic. A second window opened accidentally; I had no idea why, nor how to close it.  
(In ignorance, I quit HA without saving).
 
I had hit the \ key instead of Shift. This is the default shortcut for Split Window
« Last Edit: Nov 29th, 2017, 2:24pm by Tony Deff » offline


H.A. (2010), Gold Sound, Virtual Singer, Windows XP3, Firefox. Anglophone
jihel9
Board Master
*****




baryton

   
Email

Gender: male
Posts: 1977
Re: transpose octave shortcut  
« Reply #19 on: Nov 28th, 2017, 10:26pm »
Quote | Modify

on Nov 28th, 2017, 2:20pm, Andre_B wrote:
Oui, j'avais pensé à un script, et j'en ai fait un pour myrweb il y a quelques temps.  
 
J'ai regardé l'export par lot, cela utilise un paramétrage distinct de celui utilisé "normalement", comme le script d'ailleurs - peut-être le même.  
 
Et un petit essai me génère des html tout à fait vides...

 
Pour ce script là, il faut donner le nom du fichier ou d'une série de fichier avant de faire OK.
offline

Jean Louis, à Anthisnes (25 Km au sud de Liège)
Harmony Assistant, la dernière version
Win 10, Intel I3-5010U, 8gb, Chrome / Firefox / Edge
francophone (traduction automatique des autres langues)
PaulL
Board Full Member
***




Organist and choir director

   


Gender: male
Posts: 227
Re: Euro keyboards  
« Reply #20 on: Nov 29th, 2017, 1:39am »
Quote | Modify

on Nov 28th, 2017, 5:30pm, Tony Deff wrote:

The mystery partly explained ...
 

Merci, Tony.  You are a gentleman and a scholar.
offline

Le silence éternel des espaces infinis m'effraie.

Church musician
HA+VS+PdfToMusic Win XP
Tony Deff
Board Master
*****



How much music is out there, yet to be composed?

   
Email

Gender: male
Posts: 707
The mystery continues   Menu_8ve_commands.png
« Reply #21 on: Nov 29th, 2017, 3:39pm »
Quote | Modify

on Nov 27th, 2017, 6:20pm, Andre_B wrote:
... this is the location of < and > on the French keyboard, so that one is with shift and the other without.

The mystery continues ...
 
André's answer agrees with the layout of the French keyboard (above); < and > share the same key.
So, how can it be that the two Menu shortcuts show the use of the same control keys with this key?  
 
Does the French installation show something different (Ctrl+Shift)?  
« Last Edit: Nov 29th, 2017, 3:45pm by Tony Deff » offline


H.A. (2010), Gold Sound, Virtual Singer, Windows XP3, Firefox. Anglophone
Tony Deff
Board Master
*****



How much music is out there, yet to be composed?

   
Email

Gender: male
Posts: 707
Re: defaut.kbd   Octave_shift_keycode_table.png
« Reply #22 on: Nov 29th, 2017, 4:03pm »
Quote | Modify

SVP: Une question pour un utilisateur Windows avec une installation Français:
 
Dans le fichier C:\Documents et Settings\{nom}\Application Data\ACAMPREF\Myriad\defau(l)t.kbd
 
ce qui est montré pour CMD-OCTAVE-PLUS & CMD-OCTAVE-MOINS (près du fin) ?
 
(Ce fichier peut être lu en utilisant Ouvrir Avec > Notepad)
 
C'est ce que je vois:
offline


H.A. (2010), Gold Sound, Virtual Singer, Windows XP3, Firefox. Anglophone
JP
Board Master
*****






   
WWW | Email

Gender: male
Posts: 2429
Re: The mystery continues  
« Reply #23 on: Nov 29th, 2017, 4:06pm »
Quote | Modify

@Tony
On a French keyboard, ">" is "Shift-<", and "Ctrl->" is thus "Shift-Ctrl-<"
Is that clear to you?
The keyboard management utility of compter systems provides the application with the character typed (i.e. a "A", a "z" ou a "<"), but also the code of the character key and information about which of the Ctr, Shift, Alt and timilar functional keys are pressed at the same time.
The way to treat the "key up event" is the choice of the application.
offline
Tony Deff
Board Master
*****



How much music is out there, yet to be composed?

   
Email

Gender: male
Posts: 707
Re: transpose octave shortcut  
« Reply #24 on: Nov 29th, 2017, 5:47pm »
Quote | Modify

Thanks JP, but I suffer with chronic fatigue, so most things are as clear as mud.  
 
Are you saying that for the visual Menu shortcut Moins un octave Ctrl+Alt+> you actually have to type Ctrl+Alt+Shift+< ?
 
I still do not understand why CLAVIER 28 (see table above) does not correspond to key code 120 (see French keyboard layout above) or to ASCII code 60 (<),  


At the link below, you can press a key and see its Javascript keycode. Is that the same as keyboard code?
 
https://www.cambiaresearch.com/articles/15/javascript-char-codes-key-cod es
offline

H.A. (2010), Gold Sound, Virtual Singer, Windows XP3, Firefox. Anglophone
JP
Board Master
*****






   
WWW | Email

Gender: male
Posts: 2429
Re: transpose octave shortcut  
« Reply #25 on: Nov 29th, 2017, 7:32pm »
Quote | Modify

HA has bee written by people using a French keyboard
When  they say "transpose 1 octave up = Ctrl->", it's clear for us that we have to type
"Shift -<" which means ">" while holding the Crtl Key
or, if you prefer, "<" while holding both Shift and Ctrl
 
Of course they should adapt the text to various keyboard layouts, but there are tens (and maybe hundreds) of keyboard layouts...
 
Using the capability to redefine the keyboard is the right approach in that type of sitation.
 
=============================================
 
The concept of "keycode" is a bit complex, as software is made of several layers.
 
Each layer gets a "key code" from the layer below, according to a programming interface (called API for "application programation interface")
An application, like HA, may use the API to the level they want, and probably several APIs depending on the context, so I'm unable to tell you more about that subject.
 
The "key code" you mention is the one used in the Javascript API.
It's the responsibility of each web browser to implement that interface. Globally its the same concept, but I don't the details of each interface. I have been a computer system developer some 40 years ago, it was before PC or Mac were invented...
« Last Edit: Nov 30th, 2017, 10:34am by JP » offline
Andre_B
Board Master
*****





   


Gender: male
Posts: 582
Re: defaut.kbd  
« Reply #26 on: Nov 29th, 2017, 8:07pm »
Quote | Modify

on Nov 29th, 2017, 4:03pm, Tony Deff wrote:
SVP: Une question pour un utilisateur Windows avec une installation Français:
 
Dans le fichier C:\Documents et Settings\{nom}\Application Data\ACAMPREF\Myriad\defau(l)t.kbd
 
ce qui est montré pour CMD-OCTAVE-PLUS & CMD-OCTAVE-MOINS (près du fin) ?
 
(Ce fichier peut être lu en utilisant Ouvrir Avec > Notepad)
 
C'est ce que je vois:

 
Tony (?),  
 
I was looking at answering you, but yesterday I started defining some personal shortcuts (all with a "right shift") and this included the octave up and down! It's these I found in the default kbd, and it wasn't possible to check what that file was before. What should reset it, or default files in the product folders, have nothing for octave plus and "moins".  
Apparently the menu-defined shortcuts are in the code, and one finds them in the file only when overriden.  
 
I may "undust" an old PC with XP and the lever of HA of 7 years ago to see of this was at the time, but that would not be before mid of next week since I'm going to Belgium for the week-end.  
 
JP has said much valuable things. I would add that the "modifiers", mainly 512 and 8704, represent the left and right shift keys (actually they are binary 00001 and 10001 followed by 9 more zeros).    
offline

André Baeck, belge vivant dans le Gard
Pages: 1 2  Reply | Notify of replies | Print

« Previous topic | Next topic »

« Myriad Forum » Powered by YaBB 1 Gold - SP 1.1!
YaBB © 2000-2002,
Xnull. All Rights Reserved.

Top of page
Legal information Last update:  (c) Myriad