Monday 17 July 2017

Cpan Moving Average


How-To Geek How-To Geek Eu tenho feito coisas como esta por um longo tempo, começando em MSDOS, e você não precisa esperar para a visualização Win10 construir para obter uma versão do Bash. A questão é por que você pode querer. A maioria dos esforços Ive visto são focados em desenvolvedores que querem o GnuLinux toolchain disponível para usar em desenvolvimento sob o Windows. Cygwin tinha a intenção de portar a ferramenta GnuLinux para Win32 Em vez de reescrever tudo para usar as APIs do Windows em vez de chamadas de sistema nix, eles implementaram uma camada de compatibilidade POSIX encapsulada como uma DLL. Um monte de código nix constrói fora da caixa usando GCC sob Cygwin porque ele links contra a DLL e vê o sistema nix rotinas que espera. Ele funciona bem, mas leva um sério velocidade hit por causa das diferenças entre como nix e Windows fazer as coisas, como os problemas com bifurcação processos. E quando você está sob Cygwin, você está em um ambiente de linha de comando compatível com nix, e deve usar como um separador PATH e - como um caractere de controle de opção, e saltar através de vários aros ao interagir com comandos nativos que não grok que, em conseqüência. Uma alternativa é o esforço de UWin de ATampT, um ambiente de código aberto que toma uma aproximação similar a Cygwin em usar uma camada de compatibilidade, com uma porta do Korn como uma peça central. O projeto MinGW eo companheiro MSYS tomaram uma abordagem diferente, construindo coisas via GCC para usar os tempos de execução do Windows, e muitos comandos nix estão disponíveis dessa forma, assim como uma versão do GCC Configurado para compilar para binários nativos do Windows. Eu tenho no meu desktop em Win7. A implementação mais completa do bash e amigos Ive visto é parte do Git para Windows. Instale-o, e você obtém uma versão do Git DVCS para Windows e um conjunto completo de utilitários GnuLinux em versões nativas do Windows, incluindo bash. O próprio Bash pode ser obtido de uma variedade de fontes, como tcsh, zsh e outros, mas essas versões serão baseadas em códigos mais antigos. A coisa interessante sobre este esforço isnt bash per se - é a adição das bibliotecas para Windows fornecendo o suporte que torna possível implementar bash. Agora, eu chamo bash e amigos uma prova de conceito demonstrando seu possível. Ver a capacidade de executar aplicativos gráficos Ubuntu sob o Windows no caminho viria como nenhuma surpresa. (Há um projeto moribundo para obter o ambiente de desktop do KDE no Windows usando o Cygwin, que na verdade tinha uma área de trabalho do KDE para o Windows de volta nos dias do WinXP, então é certamente viável.) Powershell dá praticamente acesso a todos os frameworks Win32 e nativo Bibliotecas. Então eu não diria que bash é muito superior a ele. Chris escreveu: "Há algumas limitações aqui. Isso não funciona com software de servidor, e ele não vai funcionar com software gráfico. Bem, acontece que pelo menos algum software gráfico pode ser feito para trabalhar com it. Neowin tem um artigo por Andrew Stevenson mostrando onde alguém tem o gui baseado Vi melhorada (vim) executando via bash shell no Windows 10. Eu não sei se o GNOME Apps seria executado em janelas, uma vez que seria o equivalente a dois oses tamanho em HDD e que wouldnt ser muito útil mais, MS não tem interesse em fazer isso possível, a única coisa que gostaria de fazer seria a integração Linux no Windows Servidor para obter uma maior parte do bolo no espaço do servidor Alejandro Lengua Vega Estou usando o Windows 10, Home Edition. Que seja o problema que eu realmente não posso ver isso como sendo um recurso real para o usuário médio, no entanto, eu posso ver totalmente isso no Windows Server. Talvez não em 2012R2, mas no Server 2016 - que não foi lançado ainda, mas é o mesmo kernel como 10. Então, isso pode ser voltado para desenvolvedores. Tenho certeza que a Microsoft não tem nenhum interesse em obter aplicativos Linux rodando no Windows, quando já existem milhares de equivalentes do Windows. De qualquer forma, isso é brilhante para a Microsoft. Vendo que eles suportam totalmente o UNIXLinux no Hyper-V, eles estão se movendo para incorporar um público-alvo mais amplo e os usuários do Linux Desktop não o desejam. Eu suspeito que seu objetivo é mover para o espaço UNIX no caminho. Pense, LAMP no Servidor 2016. Obrigado Chris por escrever. Im capaz de instalar o Ubuntu na minha máquina Win10, mas Im incapaz de descobrir como alterar o diretório para unidades de rede mapeadas. Eu posso fazer cd mntcWindows para ir para C: Windows, mas não pode ir para qualquer rede drives. Em mnt há apenas a pasta c. Muscript 3.2 Muscript é uma linguagem para composição de música, e um script Perl, ou um script Lua, que traduz esse idioma em PostScript. Ou em PostScript encapsulado. Ou em MIDI. Ou em MusicXML. E há um script para traduzir muscriptps2svg muscript em SVG. Muscript foi escrito por Peter Billam para compor suas próprias composições e arranjos que começou a vida como um script awk, e foi anunciado ao mundo em 1996. A capacidade de definir variáveis ​​foi introduzido na versão 3.1 New A versão atual do muscript é 3.2p. Uma versão bilíngüe, disponível em Perl e Lua. Ele termina com detalhes sobre como baixar e instalar o muscript, em questões de tamanho de página. Algumas ferramentas para manipular arquivos muscript depois de um histórico de alterações e uma lista de melhorias propostas. Há algumas indicações para alguns dos outros softwares de composição de música gratuitos. Em um diretório separado, existem alguns exemplos disponíveis para você começar com a sintaxe de muscript. A linguagem muscript é projetado, no espírito de eqn e pic. Para refletir a maneira que um músico poderia descrever uma pontuação em detalhe por telefone para outro músico. A linguagem é bastante compacta, e uma página de música pode ser descrita em não muito mais do que uma página de texto ascii. De fato, com um pouco de prática, um músico pode ler a partitura em seu formato de músico. A entrada de texto Muscript consiste em um número de comandos, principalmente em linhas separadas. A barra invertida como último carácter de uma linha continuará o comando na linha seguinte. Descrevendo uma página de música em muscript corresponde à forma como você escreve a página, então primeiro você desenha as varas, então em cada stave você desenha as barras, então para cada barra você preenche as clefs, as notas, etc. Cada página consiste em vários Sistemas. Cada um dos quais consiste em uma ou mais barras. Cada um dos quais consiste em uma ou mais varas. Cada uma das quais contém uma ou mais notas ou palavras. BoundingBox Se a primeira linha do arquivo for, por exemplo: boundingbox 65 53 então muscript irá gerar saída no formato Encapsulated PostScript (EPS), 65 pontos de largura e 53 pontos de altura neste exemplo. Esta saída EPS pode então ser inserida em documentos de processamento de texto ou de publicação em computadores, ou pode ser convertida em formato JPG e usada em páginas da web. Veja o script eps2jpg e eps2png eo arquivo kdf. txt nos exemplos. A primeira linha em cada página desenha os sistemas de varas. Por exemplo, uma peça típica para flauta, violoncelo, etc pode ser: 12 sistemas 202020202020202020202020 Os números entre as barras são a altura de cada pau, no ponto. Ou uma peça típica para piano pode ser 6 sistemas 20-40-2020-40-2020-40-2020-40-2020-40-2020-40-20 Os números intermediários (40 aqui) são a altura dos espaços entre o Aduelas Os traços fazem com que as barras se juntem entre as varas. Assim, a parte de piano de uma sonata de violino pode ser: 4 sistemas 14 30 20-40-2014 30 20-35-2014 30 20-40-2014 30 20-42-20 Uma lacuna de arrasto em um sistema é respeitada e pode ser Usado para reservar espaço, por exemplo para notas de baixa haste-para baixo em linhas de ledger múltiplas. Um intervalo superior, a ser reservado acima do primeiro sistema, é indicado por um número antes da primeira barra, e. 2 80 13 30 19-40-19 13 30 19-40-19 30 Se houver menos sistemas especificados do que o necessário, muscript repete o último como necessário. Por exemplo, podem ser escritos 12 sistemas single-stave: 12 sistemas 19 Os títulos utilizam uma sintaxe Blurb Blurb do título e são impressos em letras grandes, centradas no topo da página. Números de página Os números de página usam uma sintaxe pagenum 7. Eles são impressos no canto superior externo que é, números de página ímpar imprimir no canto superior direito, números de página mesmo no canto superior esquerdo. Se um número não for especificado (por exemplo, pagenum), o número será automaticamente incrementado a partir do número da página anterior. Os cabeçalhos usam uma sintaxe blur blur interna. Estes são impressos em letra cursiva pequena no canto superior interno - o canto superior oposto do número de página. Se não houver nenhum número de página na página atual, você pode usar os comandos explícito lefthead e righthead. Se as notas altas na ponta superior ficar misturada com os cabeçalhos e títulos, coloque uma lacuna à frente do sistema superior, como no próximo exemplo. Left Footers, usando uma sintaxe blub do leftfoot Blurb, são impressos em fonte itálica pequena no canto inferior esquerdo. Right Footers usam uma sintaxe blub do Bluf no rightfoot, e são impressos em itálico pequeno no canto inferior direito. Se as notas baixas na esteira inferior do sistema inferior estiverem misturadas com os rodapés, coloque uma fenda de arrasto no sistema mais baixo, p. Essas especificações de sistemas são persistentes. Então se muscript executa fora do final de uma página, ele reutiliza a especificação anterior para a nova página (exceto que ele incrementa o número da página e não reimprime um título, mas prefixa o título para o innerheader). Então, uma vez que os sistemas foram configurados, o comando simples Após o comando, a primeira coisa é desenhar as barras. Para isso, o músico precisa saber quantas barras, e como elas são espaçadas. Por exemplo, para quatro barras: 4 barras 1 1,2 1 1 Aqui os números entre as linhas são as proporções dos comprimentos de barra. No exemplo acima, a segunda barra obviamente precisa de um pouco mais de espaço que as outras. Se apenas uma parte de uma barra precisa de alongamento (talvez porque ele tem um monte de semicorche), então você colocar mais de um número na barra. Por exemplo, se houver cinco barras, mas o segundo trimestre da quarta barra precisa de mais espaço, você pode usar: 5 barras 2 2 2 0,5 0,7 0,5 0,5 2 Essas especificações de barra são persistentes. Então se muscript executa fora do final de um sistema, ele reutiliza a especificação anterior para o novo sistema. Quando o músculo calcula as proporções, ele reserva espaço extra automaticamente para uma chave no início da linha. Você também pode reservar espaço para assinaturas de tempo e assinaturas de chave no início de uma linha (observe que este reserva espaço, mas não extrai nada que será desenhado mais tarde). Por exemplo: 4 barras 3b 44 1 1.2 1 1 As barras duplas são indicadas e repetem marcas com. 5 barras 10 9: 11 10 9 Um sinal Segno (a ser usado por uma instrução Dal Segno posterior) é indicado com Segno 5 barras 10: Segno 3b 44 11 10 9 Se houver menos números de proporção do que as barras necessárias, O último caso seja necessário. Por exemplo, onze barras uniformemente espaçadas podem ser escritas: 11 barras 2 68 12 12 A partir da versão 2.7g, a última barra pode ser omitida. Isto pode ser usado para música sem barra, por exemplo: 1 barras 50 ou para dividir uma barra entre dois sistemas: 3 barras: 16 16 8 Então, uma vez que as barras tenham sido configuradas, o comando simples faz com que o muscript comece a Próxima barra dentro do sistema atual. A partir da versão 2.3, o também pode ser seguido por números para dizer MIDI sobre o tempo dentro da barra ver a seção MIDI abaixo. Após o comando, você preencher as varas (da barra atual) uma a uma. A primeira (ou única) pausa é 1 ea segunda é 2 etc. Estes números podem ser seguidos com a ou a para definir uma direção de haste padrão, isso é muito útil se duas vozes compartilham um bastão, uma cauda e uma cauda - baixa. Por exemplo, uma peça de piano pode começar Clefs e Key Signatures são persistentes. Dentro de um dado stave-número. Muscript lembra-los de barra em barra, e reimprime-los automaticamente no início de cada novo sistema. As chaves principais são agudas. Alto Tenor e baixo. Também estão disponíveis treble8va. Treble8vab. E bass8va. Bass8vab. Que colocam um pequeno 8 acima ou abaixo da chave para indicar os instrumentos que transpõem por uma oitava. Clefs pode ocorrer dentro de uma barra, bem como no início. O Clefspace de Clef nulo não imprime nada, mas reserva uma largura de espaço de espaço, isso pode ser útil para alinhar as outras partes quando ocorre uma alteração de chave em uma parte. Como você pode ver a partir do exemplo acima, clefspace é desnecessário no início de uma linha muscript conta theres sempre uma chave lá, por isso reserva espaço de qualquer maneira. Assinaturas-chave As letras são escritas simplesmente como 1. 3b. 4, etc. A assinatura de chave especial 0 significa retornar a Cmaj e imprimirá os sinais naturais necessários para cancelar qualquer assinatura de chave anterior. Uma assinatura de chave só pode ocorrer no início de uma barra e antes da assinatura de tempo (se houver). As assinaturas de tempo são escritas simplesmente como frações, por exemplo 24. 68. 128. etc. Uma assinatura de tempo só pode ocorrer no início de uma barra e depois da assinatura de chave (se houver). Então podemos começar a escrever os ritmos e as notas (e as instruções MIDI do in-stave). Os ritmos são escritos na sintaxe inglesa abreviada, ou em um numérico, sintaxe internacional. O breve (de: doppelte Taktnote) é escrito bre em ambas as sintaxes: Triplet notas são escritas com um três, e. Qua3 ou 83 As notas de Duplet são escritas com um p. Cro2 ou 42 (duas crotches de dupleto duram três quavers normais) Quádruplos são escritos com quatro por exemplo. Qua4 ou 84 (quatro quadruplet quavers últimos três quavers normal) Quintuplets são escritos com um cinco por exemplo. Smq5 ou 165 (cinco quintuplet semicolchantes passado um crotchet normal) Septuplets são escritos com um sete por exemplo. Smq7 ou 167 (sete semicavers septuplet passado um crotchet normal) notas pontilhadas são escritas com um ponto, p. Min. Ou 2. ou qua3. Ou 83. As notas pontilhadas duas vezes são escritas com dois pontos, e. Min .. ou 2 .. Tremolandi tem um ou ou sufixo, e. Um mínimo pontilhado dividido em semicorcheias é min. Ou 2. e notas de tremolandi unidas por uma forma de feixe de um Brille-Bass notas pequenas (por exemplo ornamentos) têm uma opção - s na extremidade, e. Smq-s ou 16-s ou qua3.-s ou 163.-s Um ritmo permanece válido para todas as notas e repousa nesse stave, até ser alterado. Descansos e Blanks Um resto no centro do stave é escrito descanso Ele pode ser movido para a linha superior por descanso ou mais por repouso ou descanso etc ou para a linha de fundo por repouso, ou mais por repouso ou descanso. Etc Um espaço em branco em um stave é escrito em branco Por padrão, Quavers, Semiquivers e Demisemiquivers obter caudas. Por exemplo: 8 F 16 A G Você pode iniciar um feixe com um caractere no início da corda de notas ou terminá-lo com um caractere no final. Em cada pau, o músculo mantém o controle de dois feixes, um para o caule-acima notas, e um para a haste-para baixo assim que certificar-se de que todas as notas que você deseja ser juntado pelo mesmo feixe têm a mesma haste-sentido. Por exemplo: 8 F 16 A G Similarmente, por padrão, um tremolando minim recebe pequenas marcas tremolando cruzando sua haste. Você pode iniciar um feixe com um ou terminá-lo com um como acima, e isso une duas tremolando minims para formar um Brille-Bass. Por exemplo: 2 G F A Perto do meio de cada chave há um c. Esta nota é escrita c. E as notas acima dele são escritas c d eb en f f g g a b b b c b e assim por diante até b e depois mais com c. Da mesma forma, as notas abaixo são B Bb A Ab G F F E Eb D C C B Bb A e assim por diante até C e depois mais com B e A. Assim, em cada chave você pode escrever um intervalo de quase cinco oitavas sem sinais 8va. Flats, sharps, naturais, double-flats e double-sharps são escritos b. . N. Bb e depois da nota, assim como theyre pronunciado. Quando houver sinais acidentais e de oitava na mesma nota, o sinal de oitava deve ser o primeiro, p. Ab Em acordes com tons vizinhos em uma haste, uma nota-blob tem que ser movido transversalmente ao outro lado da nota-haste. Isto é feito com um x Por exemplo: 2 60C D x G62 Semibreves não têm nenhum caules de nota, eo x sempre os desloca para a direita. Se uma nota vizinha uma nota numa voz diferente, uma delas tem de ser deslocada para a direita, juntamente com a sua haste. (Então, se a nota faz parte de um acorde, todo o acorde é deslocado para a direita.) Isso é feito com um r. Por exemplo: Se tons vizinhos ambos têm acidentes, melhora a clareza para mudar os acidentes para a esquerda. Isso é feito com um l. Por exemplo: Por padrão, as hastes vão para cima se a nota está abaixo da linha central caso contrário eles vão para baixo. Esse padrão pode ser alterado para all-up ou all-down pelo comando stave. por exemplo. 1 ou 1, As hastes em notas individuais podem ser forçadas para cima com a ou para baixo com a, depois da nota: por exemplo 8 A, B cd 16 c BAG Gravatas unem duas notas do mesmo passo em uma nota mais longa que são escritas com parênteses (). Slurs associar uma seqüência de notas em uma frase melódica, geralmente jogado legato são escritos com curlie-braces Ties e slurs são impressos da mesma forma, mas são tratadas de forma diferente por MIDI. Os laços acima da nota são iniciados com (1 ou (3 ou (5 ou (7 ou (9 e terminados numa nota posterior na mesma pata com) 1 ou) 3 ou) 5 ou) 7 ou) 9 respectivamente. Os laços abaixo da nota são iniciados com (2 ou (4 ou (6 ou (8 e terminados em uma nota posterior no mesmo pentagrama com) 2 ou) 4 ou) 6 ou) 8 respectivamente. Slures acima da nota são iniciados com ou ou ou ou e terminado em uma nota posterior no mesmo stave com 1 ou 3 ou 5 ou 7 ou 9, respectivamente. Slurs abaixo da nota são iniciados com ou ou ou e terminado em uma nota posterior no mesmo stave com 2 ou 4 ou 6 ou 8, respectivamente. Por padrão, os laços e slurs terminam perto do blob de notas. Se você quiser um fim mais alto, na parte superior de uma haste para cima, em seguida, insira um ou mais entre o colchete eo número. Ou se você quiser um para terminar inferior, debaixo de uma haste para baixo, em seguida, insira um ou mais, entre o colchete eo número. Por exemplo: Considera-se que os laços que terminam sem terem sido iniciados começam na barra dupla mais próxima ou no início da linha se não houver barra dupla no caminho. Isso lida com uma nota sendo amarrado em uma segunda vez-bar. As opções associadas a uma nota aparecem, separadas por - s, depois de quaisquer laços ou insinuações, e imediatamente antes de qualquer sinal de fim de corda ou de feixe final. Por exemplo: 4 resto B-. 2 c (1 - tr-fermata 43 c) 1 B - I3 A O texto a ser impresso pode ser protegido por aspas duplas, p. - I sf ou - s 3 - 4 Trilhões com uma nota plana, natural ou afiada são expressos por trb. Trn ou tr Múltiplas opções na mesma nota são impressas na ordem, começando próximo ao stave e se afastando. A opção em branco não imprime nada, mas apenas deixa uma lacuna onde a opção teria sido impresso isso pode ser usado para evitar as opções de colidir com coisas como slurs. Uma opção vazia funciona da mesma forma que uma opção em branco, de modo que A-blank-blank-s4 também pode ser escrita como A --- s4 As opções são, por padrão, impressas acima da pausa. Eles podem ser impressos abaixo da pausa, adicionando uma vírgula (.) À opção individual, p. 4 B, -. 2 c, (1-tr - fermata, Crescendo e diminuendo dentro de uma nota pode ser produzido com as opções - cre e - dim. Estes atuais não afetam a saída impressa que eles ajustam o controlador de expressão MIDIs nas notas MIDI-channel, (Cc11) inicia cada nota a um nível de 100 e pode variar de 0 a 127. Por exemplo, 2. c - cre20 produz um crescendo moderado, ou 2. c - cre20-dim30 produz um crescendo para o primeiro semestre Da nota, seguido por um diminuendo ligeiramente mais forte na segunda metade. Você pode usar o número 0, por exemplo: 2. c-dim0-dim20 produz uma nota que desaparece durante a segunda metade. O piano sustain-pedal é tomado , Ou retomada, com a opção - P, e liberada com a opção -, o sostenuto-pedal é tomado, ou retomado, com a opção - Sos e liberado com - Sos e o pedal Una-Corda é tomado com o - Una e liberado com - Tre palavras podem ser impressas acima do stave superior na barra, ou nas aberturas entre staves, ou abaixo do stave inferior. Nt: O primeiro bit do comando é uma letra ou dois r significa fonte regular, i significa fonte em itálico, b significa fonte em negrito, eu significo fonte em itálico negrito e estes podem ser seguidos por um s opcional que significa pequeno, ou l que significa ampla. Esses tamanhos de fonte são relativos, eles são dimensionados de acordo com a altura média stave no sistema atual. A codificação de caracteres ISO-8859-1 é respeitada, de modo que, por exemplo, Octal 374 é impresso como Uuml (U-umlaut). A codificação de caracteres UTF-8 também é respeitada, mas apenas para caracteres dentro do conjunto de caracteres ISO-8859-1 (devido a uma limitação PostScript) e também para oelig que é mapeada para oe Espaçamento Vertical: Essas letras podem ser seguidas imediatamente Sem espaço) com um número decimal que determina a posição vertical das palavras como uma proporção do espaço de defasagem. O próximo espaço é um separador eo restante do comando é o texto a ser impresso. Se o comando aparecer após o mas antes do primeiro stave. Então as palavras serão impressas acima da primeira pausa no sistema, o número expressa a posição vertical acima da linha superior, como uma proporção da altura da pata superior. Se o comando aparecer entre duas varas. Então as palavras serão impressas entre essas varas, o número expressa a posição vertical acima da linha inferior, como uma proporção do espaço de defasagem. Se o comando aparecer após o último pentagrama, mas antes do próximo. Em seguida, as palavras serão impressas sob as pautas inferiores no sistema, o número expressa a posição vertical abaixo da linha de fundo, como uma proporção da altura da pata inferior. Horizontal Espaçamento de texto é feito principalmente por números começando com um ponto decimal e seguido por um, dois ou três dígitos. Esses números são tratados como palavras reservadas dentro das seqüências de caracteres de texto e eles espaçam o seguinte texto para começar com essa proporção da largura das barras. Vários espaços entre as palavras de texto, ou antes da primeira palavra, são exibidos como tal, e isso pode ser usado para espaçamentos pequenos, como em Freu - ou em bl1.1 Primeiro Veja os exemplos: Dentro de muscript. Existem três tipos de comandos MIDI: Comandos globais que afetam todos os staves, o comando New-Bar que governa o andamento e comandos In-A-Stave que afetam apenas um stave (como 1 ou 2). Também MIDI-related são as opções - cre e - dim note-options. Que fazem mudanças de dinâmica dentro da nota. Comandos MIDI globais Os comentários finais podem ser introduzidos por um personagem e serão ignorados pelo muscript. Midi canal 2 banco 87,65 patch 56 Isto instrui o sintetizador para selecionar Bank MSB87 LSB65 e atribuir o seu Patch 56 ao canal MIDI 2. A palavra Patch é MIDI-speak para um determinado som instrumental. Este comando geralmente se aproxima do topo do arquivo de muscript. O canal - número pode ser qualquer coisa de 0 a 15 (exceto 9 é reservado em Geral-MIDI). O patch - number pode ser qualquer coisa de 0 a 127. O banco - number é em duas partes, separados por uma vírgula (sem espaços). A primeira parte é o MSB (byte mais significativo) eo segundo é o LSB (menos significativo-byte) qualquer byte pode ser qualquer coisa de 0 a 127. Desde a versão 3.1g o LSB pode ser omitido (muitos sintetizadores ignorá-lo de qualquer forma). Só faz sentido especificar o banco se o seu sintetizador está no modo Patch (de fato, especificando um banco pode forçar o seu sintetizador em seu modo Patch) veja abaixo: Geralmente seu sintetizador estará no modo General-MIDI definido pelo padrão General-MIDI Números específicos de instrumentos comuns. Como 0 é um piano de cauda, ​​25 uma guitarra acústica de corda de aço, 65 um saxofone alto, etc Geral-MIDI canal 9 é reservado para sons de percussão. Se o sintetizador estiver no modo Patch. Então você deve configurá-lo para ouvir em algum canal em particular (lembre-se de que seu sintetizador pode numerar os canais 1-16). Então muscript só poderá usar esse Canal e você só poderá jogar um Patch de uma só vez. O modo Patch não é multi-timbral :-( Se o seu synth estiver no modo Performance, esperamos que você já tenha selecionado um Performance e configurado seu MIDI channel 2 vibrato 60 rate 40 delay 70 Isso pede ao sintetizador para ajustar os parâmetros do Vibrato no Canal 2. Em todos esses números, 50 representa as configurações de vibrato padrão deste Patch , 100 representa o máximo e 0 mínimo. Para notas por nota mudanças na profundidade do vibrato há um comando In-Stave correspondente midi channel 5 pan 80 reverb 45 chorus 90 Isso pede ao synth para Pan Channel-5 80 Para o alto-falante direito, para adicionar moderada (45) Reverb, e para adicionar um efeito chorus pesado (90). O número pan pode ser qualquer coisa de 0 (full left) to 100 (full right) Note-se que há um comando In-Stave correspondente. O número de reverberação pode ser de 0 (dr Y) até 50 (padrão) para 100 (reverberante possível). O chorus - number pode ser de 0 a 100. midi channel 5 patch 73 transpose 12 Isso irá transpor todas as notas no canal 5 até uma oitava (doze semitons). Para alterações de notas por notas que regem todas as notas de um pentagrama particular. Existe um comando In-Stave correspondente. Midi gm 2 Isso força o synth no modo General-MIDI (veja acima), General-MIDI-2 neste exemplo. Outros valores possíveis são gm 1 para General-MIDI-1, ou gm off que coloca o sintetizador em um de seus modos não-General-MIDI, consulte o manual do sintetizador para obter mais detalhes. Os comandos gm 1 e gm 2 são incompatíveis com o comando de banco acima. Veja: wikipédia Comparação de padrões MIDI. Midi pause 3.9 Isso insere uma pausa na saída, de 3,9 segundos neste exemplo, como você pode usar para separar dois movimentos, ou duas músicas. Pequenas pausas, como .02 ou .04 segundos, podem ser usadas como um dispositivo expressivo entre bares, como a luftpausa na música clássica. Este comando só é útil entre as barras, não entre as varas diferentes na mesma barra. Midi cents -100 temperamento kirnberger Este comando configura a afinação e temperamento, para A415 e temperamento Kirnberger neste exemplo (uma escolha típica para a música barroca). Centavos podem, desde a versão 3.1u. Ser qualquer número, por exemplo, -100 significa um semitom para baixo (A415), 250 significa dois e meio semitons para cima. Cents é um comando global (invoca os sysexs Master GM2 Master Tuning e Master Coarse Tuning) e aplica-se a todos os canais. O temperamento pode ser igual (o padrão, no qual a vírgula em falta é compartilhada por todos os doze quintos), ou vanbiezen (a vírgula faltante é compartilhada entre seis dos quinto FCGDAEB), ou kirnberger (a vírgula é compartilhada entre os quatro quintos CGDAE e CE são perfeitos) Barras de midi e linhas de barras de midi desativadas Se as barras estiverem ativadas, os eventos de marcação serão inseridos na saída MIDI para marcar as barras. Midi off e midi on Estes comandos desligam e ligam a saída midi e são úteis para suprimir as primeiras barras ou para corrigir enquanto escrevem uma peça (de modo a não ter de ouvir toda a peça toda vez que guardar e fazer ).MIDI New-Bar Comandos O comando new-bar é o lugar para dizer MIDI sobre tempo. Primeiro vem uma assinatura de tempo (isto é apenas MIDIs compreensão da assinatura de tempo que não é impresso) e, em seguida, vem o comprimento da barra em segundos. Por exemplo, o comando new-bar para uma peça em 44 tempo em 120 beatsmin poderia ser: 44 2.0 Como no comando de barras, podemos especificar os comprimentos das partes da barra. Por exemplo, se queríamos um ritardando, podemos usar: 44 0.5 0.54 0.6 0.68 Isso também pode ser usado para gerar quavers swang no jazz, ou quavers ineacutegale na música barroca ou na música irlandesa, ou para valsas vienenses. Por exemplo, um Jig irlandês pode começar: 68.19 .14 .17 .19 .14 .17 1 agudo 2 68 8 A B A A F D Os comprimentos ascendentes ou, em geral, comprimentos de comprimentos variados devem ter seus próprios comprimentos ad hoc. Por exemplo: 14 .55 1 baixo 2b 4 F 44 2.2 1 2 B 4 A B Como alternativa aos segundos, também é possível especificar um tempo, em batimentos por minuto. Muscript decide o que significa uma batida consultando a sua assinatura de tempo. Em 24 ou 34 ou algo4 então uma batida é um crotchet, e em 22 ou 32 ou anything2 então uma batida é um minim. Mas em 38 ou 68 ou 98 etc. a batida é um crotchet pontilhado, quando em 28 ou 48 ou 58 ou 78 etc. a batida é um quaver. Da mesma forma para 316 ou 616 ou 916. (Muscript ainda precisa saber o timesignature, então você ainda tem respecify bares quando seu comprimento varia.) Esta informação de tempo é persistente muscript lembra-lo de barra para bar e re-aplica-lo automaticamente. Comandos MIDI In-A-Stave São todos comandos de uma palavra (sem espaços) que podem se misturar com notas e ritmos em uma linha de apoio. Eles alteram as configurações para esse stave particular (como 1 ou 2). Eles entram em vigor imediatamente e permanecem em vigor na mesma barra em bares subseqüentes. Todos esses comandos podem ser abreviados para suas três primeiras letras. Cha2 ou cha35 Isso ajusta o canal midi, para 2 no primeiro exemplo. O canal MIDI Geral 9 é reservado para um conjunto de ritmo, isto é, drumkits, percussão, etc, se este for qualquer outro número de canal, esperamos que já tenha atribuído um patch a ele. Se seu sintetizador estiver no modo Patch, este comando deve especificar o mesmo canal que o sinteta está ouvindo, consulte o modo Patch acima. Desde 3.1v, um único stave pode emitir notas em vários canais, para os canais 3 e 5 no segundo exemplo. Isso permite a duplicação automática de patches diferentes na única pausa. Em conjunto com a opção transposição global-midi, também permite dobrar na oitava, por exemplo: violoncelo dobrado por contrabaixo uma oitava para baixo, ou violino dobrado por flauta uma oitava acima. Tra-2 Isso faz com que as notas sejam geradas 2 semitons mais baixo do que notated, que é o que você pode usar em um stave para uma trombeta em Bb. Para um piccolo você pode usar tra12 (a menos que você já lhe deu um clef treble8va). Vol73 ou vol10 ou vol-10 Ajusta o volume, em um intervalo de 0 a 127 (o volume padrão é 100). Também são permitidas alterações de volume incrementais, como vol10 ou vol-5 A opção de nota G-emph funciona da mesma forma que vol10 G vol-10, exceto que a opção de nota é impressa como parte da partitura, enquanto que o comando vol não é Ser impresso, faz parte da interpretação. O comando vol usa o parâmetro de velocidade MIDI para definir as mudanças de volume de partida da dinâmica dentro da nota são feitas com as opções - cre e - dim note. Que usam o controlador de expressão MIDIs. Leg99 Isso define o legato, para 99 neste exemplo. Leg100 produz um legato completo que você pode realmente ir além de 100, produzindo um over-legato. O legato padrão é 85, uma espécie de médio-deacutetacheacute. A opção - stacc nota-diminui um legato de notas por cerca de metade. Vib80 Ajusta a profundidade do vibrato, para 80 ou 50 nestes exemplos. Como acima na seção Global MIDI, 50 representa a configuração de profundidade de vibrato padrão deste Patch, e 100 representa o máximo possível. Pan73 ou pan10 ou pan-10 Isso abre o canal. Como na seção Global MIDI, o pan pode variar de 0 (esquerda) a 50 (centro) até 100 (direita), mas aqui também são permitidas alterações incrementais, p. Pan10 ou pan-5 bend73 ou bend1 ou bend-10 Este pitch-dobra o canal, usando o comando MIDI pitchwheel. A curva pode variar de 0 (por padrão, 2 semitons para baixo) a 50 (sintonia normal) a 100 (por padrão, 2 semitons para cima). Também são permitidas alterações incrementais, e. Bend2 ou bend-1 cc73108 Isso define qualquer um dos parâmetros MIDI Control-Change neste exemplo Controlador 73 (tempo de ataque) é definido como 108 (0..127). Be aware that the actual effect that these CC parameters have on the sound is often quite synthesiser-dependent. Any line beginning with is treated as a comment, and will appear as a comment in the PostScript output. In - midi mode it appears as a MIDI marker event at the start of the current bar. Since version 3.1h. two mode-dependent, conditional comments are introduced. Any line beginning with P is ignored as a comment except in PostScript-mode, when it just gets those two characters stripped of and is treated as a normal line. Likewise, any line beginning with M is ignored as a comment except in MIDI-mode, when it gets those two characters stripped of and is treated as a normal line. This allows a line to be given a PostScript-version to be printed in the score, and a MIDI-version (e. g. ornamented) to be performed. Otherwise, any line beginning with is treated as a comment, and ignored completely. Output can be generated for various page sizes: Auto only works as long as the output remains in PostScript form if it is translated into PDF the autodetect power is lost and the page size becomes fixed by the translation process. Therefore, if you want to generate PDF to publish scores globally, you should use the - compromise option. See also the a42us utility script. As from version 3.2h, muscript is available in two implementations, one in Perl . and a new translation into Lua . The intention is to support both, and keep their version-numbers in sync. It must be said that the Lua version runs more than twice as fast. The current version of muscript for Perl is available by http at pjb. aumuscriptmuscript. To install it, save it to disc, move it into your PATH, make it executable, and if necessary edit the first line to reflect where perl is installed on your system. Youll also need to install the MIDI and the Text::ParseWords modules from cpan. org The current version of muscript for Lua is available by http at pjb. aumuscriptmuscriptlua. To install it, save it to disc, rename it muscript and move it into your PATH, make it executable, and if necessary edit the first line to reflect where lua is installed on your system. Youll also need to install the MIDI. lua module, eg: luarocks install midi All these files are now on git and can be downloaded by: git clone githubpeterbillammuscript Various tools exist to manipulate muscript input and PostScript output and MIDI output. To install one of the scripts, move it into your PATH, make it executable, and if necessary edit the first line to reflect where perl is installed on your system. Tools for handling muscript input: 8va This simple filter transposes up or down the octave. For example, in vi . 8va raises the current bar one octave, or. 8vab lowers the current bar one octave. 8vab This transposes down the octave. (It is the same file as 8va its behaviour changes according to the name under which it is invoked.) transpose This filter transposes up or down a given number of semitones. It now handles keysignatures, and persistence of accidentals within a bar. Por exemplo. this would transpose its input up seven semitones: transpose 7 There is a - k option to force a keysignature onto the input. Por exemplo. in vi . this would transpose the current line down 3 semitones, considering it to have a 4-flats keysig even if thats not explicit in the current line (i. e. if it was set earlier in the file): . transpose -3 - k 4b There is also a - a option which generates output without a keysig, using accidentals only, e. g. transpose 2 - a There is also a - s option to transpose only one stave. Por exemplo. this might convert a piece for flute and piano, into a piece for Bb-clarinet and piano: transpose 2 - s 1 tempo This filter changes the midi tempo of a muscript file by a fixed proportion. It has no effect on the PostScript output. For example, tempo 1.05 speeds a piece up by 5 percent. Or, tempo 0.95 makes a piece 5 percent slower. Por exemplo. to generate multiple practice-versions of a piece, with different tempi: 4hands2score This converts muscript for piano-four-hands (i. e. with one player reading the left-hand page and the other reading the right-hand page) into a single score, for example for feeding into muscript - midi for proofreading. muscript2video This converts muscript into an. avi video ready for uploading into youtube . You will have to repaginate the file specially to the 1280x720 format. It generates a soundtrack using muscript - midi feeding into timidity . and typesets each page using muscript and eps2jpg and synchronises the page-turns with the soundtrack. Then it uses mencoder to convert the. jpg files to the. avi file. This program was used to generate the Youtube - videos, for example, of the Trio with Guitar Tools for handling PostScript output: muscriptps2svg This script converts PostScript (or EPS) output produced by muscript (2.8i or greater) into SVG (Scaleable Vector Graphics) format. It has a - p option to convert a particular page. It needs the SVG Perl module, available from search. cpan. org eps2jpg and eps2png When the input file contains a boundingbox command, then muscript will generate Encapsulated-PostScript (EPS) output, which can be inserted into word-processing or desktop-publishing documents. The Perl script eps2jpg converts this EPS into JPG format (with a white background), which can be used in web pages especially if they also have white backgrounds. Or when called under the name eps2png it converts the EPS into PNG format. Or when called with the - t option it converts the EPS into PNG format with a transparent background, which can be used in web pages even if they have non-white backgrounds. eps2jpg and eps2png are the same script, so you can download just one and use ln to link it to the other. They produce their output on stdout. so you can redirect it wherever you want it. See perldoc pgn2jpg or perldoc pgn2png a42us This converts the muscript PostScript output from A4 page size to US Letter page size. There is also a a42us - c option which generates the global-distribution compromise format (A4 width and Letter height). See also PageSize. Tools for handling MIDI output: midiecho Simulates a tape-delay reverb on a particular MIDI-channel by issuing repeated noteon events with diminishing volume. midiedit Edits a MIDI file in a human-readable text-format. mididump Dumps a MIDI file contents in a human-readable text-format. midisox Midisox is a tool for working on MIDI files, with a calling interface modelled, as far as possible, on that of SoX . which is a well-established tool for working on audio files. Future Enhancements Titles should not be tied to the top of the page at system-layout time, vertical space should be allocated for titles. Dynamics, e. g. as note-options, should be recognised by MIDI. Hairpin-style crescendo and diminuendo marks. In close chords, the necessary note-heads might be placed automatically on the wrong side of the stem, instead of manually with an x . Beams, Ties and Slurs should be able to join notes on different staves within the same system. Beams should be able to join stem-up with stem-down notes. Turns need sharps flats and naturals, both above and below MIDI should interpret trills, mordents, turns, fermata and repeats. Syntax is needed for 8va and 8vab, and 1st and 2nd-time bars, so that MIDI can handle them too. What is really needed is an ftp archive of scores in PostScript . so that anyone can print them out and use them. I think it should standardise on gzipped files, and encourage the submission of A4 and USLetter versions of everything. Of course the composers would have to be dead more than 70 years (or the pieces would have to be publicly copiable and redistributable) and someone would have had to re-typeset the pieces. The reward is immortality, a permanent priceless contribution, no less. The way to further the musical art is to make the scores freely and permanently available. End of soapbox. You might also want to check out Lilypond . a program which generates PDF and MIDI output. The input text language is called mudela . Included is a utility musicxml2ly which imports MusicXML. MusicXML is a widely adopted music-interchange format. MuseScore is a WysiWig music typesetter which also does drum-notation and guitar-tablature and will import MusicXML JFugue . an open-source library for programming music in Java, can read and write both MIDI and MusicXML. FreeDots translates MusicXML into Braille. Mup is shareware written in C, which takes text input and produces PostScript or MIDI. MusiXTeX . which forms the infrastructure for a great deal of related software abc . designed primarily for folk and traditional tunes such as Irish, English and Scottish, which can be written on one stave in standard classical notation M-Tx . a music-from-text language that operates as a front end to PMX, which in turn is a front end to MusiXTeX musixlyr . a MusiXTeX extension for convenient lyrics handling PMX is a pre-processor for MusiXTex. It can also output a MIDI file. A version is available for MacOS. noteedit is a GUI utility to translate between Mup, MusiXTeX, PMX and Lilypond formats, and can import MIDI and MusicXML files. music-notation. infoencompmusnotationformats. html and ace. acadiau. cascoreothers. htm inkguides is a collection of PostScript and GhostScript resourcesExifTool is also available as a stand-alone Windows executable and a Macintosh OS X package . (Note that these versions contain the executable only, and do not include the HTML documentation or other files of the full distribution above.) The stand-alone Windows executable does not require Perl. Just download and un-zip the archive then double-click on exiftool(-k).exe to read the application documentation, drag-and-drop files and folders to view meta information, or rename to exiftool. exe for command-line use. Runs on all versions of Windows. The OS X package installs the ExifTool command-line application and libraries in usrlocalbin. After installing, type exiftool in a Terminal window to run exiftool and read the application documentation. Read the installation instructions for help installing ExifTool on Windows, Mac OS X and Unix systems. Powerful, fast, flexible and customizable Supports a large number of different file formats Reads EXIF. GPS. IPTC. XMP. JFIF. MakerNotes, GeoTIFF. ICC Profile. Photoshop IRB. FlashPix. AFCP. ID3 and more. Writes EXIF. GPS. IPTC. XMP. JFIF. MakerNotes, GeoTIFF. ICC Profile. Photoshop IRB. AFCP and more. Reads and writes maker notes of many digital cameras Decodes a riddle wrapped in a mystery inside an enigma Numerous output formatting options (including tab-delimited, HTML, XML and JSON) Multi-lingual output (cs, de, en, en-ca, en-gb, es, fi, fr, it, ja, ko, nl, pl, ru, sv, tr, zh-cn or zh-tw) Geotags images from GPS track log files (with time drift correction) Generates track logs from geotagged images Shifts datetime values to fix timestamps in images Renames files and organizes in directories (by date or by any other meta information) Extracts thumbnail images, preview images, and large JPEG images from RAW files Copies meta information between files (even different-format files) Readswrites structured XMP information Deletes meta information individually, in groups, or altogether Sets the file modification date (and creation date in Windows) from EXIF information Supports alternate language tags in XMP. PNG. ID3. Font. QuickTime. ICC Profile. MIE and MXF information Processes entire directory trees Creates text output file for each image file Creates binary-format metadata-only (MIE) files for metadata backup Automatically backs up original image when writing Organizes output into groups Conditionally processes files based on value of any meta information Ability to add custom user-defined tags Support for MWG (Metadata Working Group) recommendations Recognizes thousands of different tags Tested with images from thousands of different camera models Advanced verbose and HTML-based hex dump outputs If you find the need to use find or awk in conjunction with ExifTool, then you probably havent discovered the full power of ExifTool. Read about the - ext. - if. - p and - tagsFromFile options in the application documentation. (This is common mistake number 3 .) In my experience, nothing but nothing is as complete, powerful, and flexible as Phil Harveys exiftool. Ive never seen anything thats in the same ballpark for power. - dpreview forum While there are a lot of image tools available, nothing comes close for accessingupdating the metadata like ExifTool - mergs blog Fast, reliable and amazingly comprehensive. - CPAN ratings . the one piece of free software that gets the most detailed exif data of any tool Ive found. - gnome mail archives ExifTool makes every other EXIF reader (and writer) than Ive seen, including the camera manufacturers readers, look lame. - photo Nikon forum Insanely great tool with a long learning curve. - Adobe Forums . its super awesome, its super reliable and after many years of development its still being updated - PW999 blog . it is the mother of all EXIF utilities the BFG of meta-data extraction the Pan Galactic Gargle Blaster of EXIF tools. This thing will suck the last bit of metadata out of whatever image file you throw at it - Open Photography Forums . it is total fucking gibberish to me. - Reddit Linux Questions ExifTool can R ead, W rite andor C reate files in the following formats. Also listed are the support levels for EXIF, IPTC, XMP, ICCProfile and other metadata types for each file format. (preview image written after JPEG EOI) 1 All trailers except Samsung and PreviewImage also have RW support in TIFF images. Requires Perl 5.004 or later. No other libraries or software required, but some optional Perl modules may be added to enable certain ExifTool features (for details, see the DEPENDENCIES section of the README file included in the full distribution). Windows users: A stand-alone Windows executable version of ExifTool is available which doesnt require Perl. You can also use the pure Perl version if you already have Perl installed. (You can get a good, free Perl interpreter from activeperl .) Everyone else (Mac, Unix, etc): Dont worry, you already have Perl installed. The exiftool application provides a convenient command-line interface for the Image::ExifTool Perl package (both included in the full distribution). Once you have downloaded and extracted the distribution, you can immediately run exiftool (without building or installing) by typing DIR exiftool FILE (or perl DIR exiftool FILE in Windows), where DIR is the exiftool directory and FILE is the name of an image file, including directory name. Read the installation instructions or the README file included in the full distribution for help installing ExifTool. Many command-line options are available to allow you to access a wide range of features. Run exiftool with no arguments for a complete list of available options with examples . Running in Windows i) From the command line: The Perl application ( exiftool ) is run by typing perl exiftool . Alternately, you may be able to rename it to exiftool. pl and type exiftool. pl , but this requires that the proper Windows associations have been made for the the. pl extension. The stand-alone version ( exiftool(-k).exe ) should be renamed to exiftool. exe to allow it to be run by typing exiftool at the command line. If the exiftool executable ( exiftool. pl or exiftool. exe ) is not in the current directory or your system PATH, then its directory must be specified on the command line (eg. by typing c:pathtoexiftoolexiftool. pl or c:pathtoexiftoolexiftool ). Note that when typing commands in the cmd. exe shell, you should use double quotes instead of single quotes as shown in some examples. ii) Stand-alone version in the Windows GUI: Double-click on exiftool(-k).exe to read the application documentation, or drag-and-drop files and folders to run exiftool on the selected files. Simple options may be added inside brackets in the name of the stand-alone executable. (But note that the characters :ltgt may not be used because they are invalid in Windows file names.) In this way, the behaviour of the drag-and-drop application can be customized. For example: Verbose and HtmlDump Output The Verbose ( - v ) and HtmlDump ( - htmlDump ) options print additional information that can be very useful for debugging or when decoding new tags. A tag name is a handle that is used to refer to a specific piece of meta information. Tag names are entered on the command line with a leading - , in the order you want them displayed. Case is not significant. The tag name may be prefixed by a group name (separated by a colon) to identify a specific information type or location. A special tag name of All may be used to represent all tags, or all tags in a specified group. For example: A complete list of ExifTool Tag Names accompanies this documentation. As well, current lists of available tag names and writable tag names may be obtained using the exiftool - list and - listw options. But perhaps the easiest way to determine a tag name is to use the - s option to print the tag names instead of descriptions for all information in a file. It may also be helpful to use the - G option to display the group names, and the - H or - D option to print the numerical tag IDs for reference. Tag names sometimes differ from their descriptions. Use the - s command-line option to see the actual tag names instead of the descriptions shown when extracting information. When extracting information, tags will not appear in the output unless they exist in the file, even if they are specified on the command line. The - f option may be used to force all specified tags to be displayed (not including tags specified with wildcards or by - GROUP:all ). Information for a given tag name may occur in multiple locations within a single file. By default these duplicate tags are suppressed, but the - a option may be used to extract all tags. Tag names may be suffixed by a character to disable the print conversion on a per-tag basis. See the - n option in the application documentation for more information. Shortcut tags represent one or more other tags, and are used like any other tag when reading, writing or copying information. ExifTool defines a few shortcut tags in the Image::ExifTool::Shortcuts module, and allows users to define their own shortcuts in a configuration file called. ExifToolconfig in their home directory or exiftool application directory. Here is a simple example that defines two shortcuts: In this example, MyShortcut is a shortcut for the CreateDate, ExposureTime and Aperture tags, and MyAlias is a shortcut for FocalLengthIn35mmFormat. The current shortcuts may be listed with the - list option..ExifToolconfig file may also be used to define new tags. For more information about the configuration file, see the sample configuration file included with the ExifTool distribution. Windows tip: You may have difficulty generating a filename beginning with a . in the Windows GUI, but it can be done with the rename command at the cmd. exe prompt. ExifTool classifies tags into groups in five different families. These groups are: 0 (Information Type) AFCP, AIFF, APE, APP0, APP1, APP11, APP12, APP13, APP14, APP15, APP4, APP5, APP6, APP8, ASF, Audible, CanonVRD, Composite, DICOM, DNG, DV, DjVu, Ducky, EXE, EXIF, ExifTool, FLAC, FLIR, File, Flash, FlashPix, Font, FotoStation, GIF, GIMP, GeoTiff, H264, HTML, ICCProfile, ID3, IPTC, ISO, ITC, JFIF, JPEG, Jpeg2000, LNK, Leaf, Lytro, M2TS, MIE, MIFF, MNG, MOI, MPC, MPEG, MPF, MXF, MakerNotes, Matroska, Meta, Ogg, OpenEXR, Opus, PDF, PICT, PLIST, PNG, PSP, Palm, PanasonicRaw, PhotoCD, PhotoMechanic, Photoshop, PostScript, PrintIM, QuickTime, RAF, RIFF, RSRC, RTF, Radiance, Rawzor, Real, SVG, SigmaRaw, Stim, Theora, Torrent, VCard, Vorbis, XML, XMP, ZIP 1 (Specific Location) AC3, AFCP, AIFF, APE, ASF, AVI1, Adobe, AdobeCM, AdobeDNG, Apple, Audible, CIFF, Canon, CanonCustom, CanonRaw, CanonVRD, Casio, Chapter, Composite, DICOM, DJI, DNG, DV, DjVu, DjVu-Meta, Ducky, EPPIM, EXE, EXIF, ExifIFD, ExifTool, FLAC, FLIR, File, Flash, FlashPix, Font, FotoStation, FujiFilm, FujiIFD, GE, GIF, GIMP, GPS, GeoTiff, GlobParamIFD, GraphConv, H264, HP, HTC, HTML, HTML-dc, HTML-ncc, HTML-office, HTML-prod, HTML-vw96, HTTP-equiv, ICC-chrm, ICC-clrt, ICC-header, ICC-meas, ICC-meta, ICC-view, ICCProfile, ICCProfile, ID3, ID3v1, ID3v1Enh, ID3v22, ID3v23, ID3v24, IFD0, IFD1, IPTC, IPTC, ISO, ITC, InteropIFD, JFIF, JPEG, JPEG-HDR, JVC, Jpeg2000, KDCIFD, Kodak, KodakBordersIFD, KodakEffectsIFD, KodakIFD, KyoceraRaw, LNK, Leaf, LeafSubIFD, Leica, Lytro, M2TS, MAC, MIE-Audio, MIE-Camera, MIE-Canon, MIE-Doc, MIE-Extender, MIE-Flash, MIE-GPS, MIE-Geo, MIE-Image, MIE-Lens, MIE-Main, MIE-MakerNotes, MIE-Meta, MIE-Orient, MIE-Preview, MIE-Thumbnail, MIE-UTM, MIE-Unknown, MIE-Video, MIFF, MNG, MOBI, MOI, MPC, MPEG, MPF0, MPImage, MXF, MakerNotes, MakerUnknown, Matroska, MediaJukebox, MetaIFD, Microsoft, Minolta, MinoltaRaw, Motorola, NITF, Nikon, NikonCapture, NikonCustom, NikonScan, Nintendo, Ocad, Ogg, Olympus, OpenEXR, Opus, PDF, PICT, PNG, PNG-pHYs, PSP, Palm, Pa nasonic, PanasonicRaw, Pentax, PhaseOne, PhotoCD, PhotoMechanic, Photoshop, PictureInfo, PostScript, PreviewIFD, PrintIM, ProfileIFD, Qualcomm, QuickTime, RAF, RAF2, RIFF, RMETA, RSRC, RTF, Radiance, Rawzor, Real, Real-CONT, Real-MDPR, Real-PROP, Real-RA3, Real-RA4, Real-RA5, Real-RJMD, Reconyx, Ricoh, SPIFF, SR2, SR2DataIFD, SR2SubIFD, SRF, SVG, Samsung, Sanyo, Scalado, Sigma, SigmaRaw, Sony, SonyIDC, Stim, SubIFD, System, Theora, Torrent, Track, VCalendar, VCard, Version0, Vorbis, XML, XMP, XMP-DICOM, XMP-GPano, XMP-MP, XMP-MP1, XMP-PixelLive, XMP-aas, XMP-acdsee, XMP-album, XMP-apple-fi, XMP-aux, XMP-cc, XMP-cell, XMP-creatorAtom, XMP-crs, XMP-dc, XMP-dex, XMP-digiKam, XMP-dwc, XMP-exif, XMP-exifEX, XMP-expressionmedia, XMP-extensis, XMP-fpv, XMP-getty, XMP-ics, XMP-iptcCore, XMP-iptcExt, XMP-lr, XMP-mediapro, XMP-microsoft, XMP-mwg-coll, XMP-mwg-kw, XMP-mwg-rs, XMP-pdf, XMP-pdfx, XMP-photomech, XMP-photoshop, XMP-plus, XMP-pmi, XMP-prism, XMP-prl, XMP-prm, XMP-pur, XMP-rdf, XMP-swf , XMP-tiff, XMP-x, XMP-xmp, XMP-xmpBJ, XMP-xmpDM, XMP-xmpMM, XMP-xmpNote, XMP-xmpPLUS, XMP-xmpRights, XMP-xmpTPg, ZIP Audio, Author, Camera, Document, ExifTool, Image, Location, Other, Preview, Printing, Time, Unknown, Video 3 (Document Number) Sets tag value from contents of specified file dagger See the Writer Limitations for some limitations of this feature. Quotes are required around VALUE if it contains spaces or other special characters, and around the whole argument if the lt syntax is used (to prevent shell redirection). A special feature allows the print conversion to be disabled on a per-tag basis by suffixing any tag name (including all ) with the character. This has the same effect as the - n option, but for a single tag. See the - n option in the application documentation for more details. Note: Changes to PDF files are reversible because the original metadata is never actually deleted from these files. See the PDF Tags documentation for details. Group Priorities ExifTool prioritizes the following types of meta information when writing: Many tag names are valid for more than one of these groups. If a group name is not specified when writing information, then the information is added only to the highest priority group for which the tag name is valid (however, the information is updated in all groups where the tag already existed). The priority of the groups is given by the list above. Specifically, this means that new information is added preferentially to the EXIF group, or to the IPTC group if no corresponding EXIF tag exists, or finally to the XMP group. Alternatively, information may be written to a specific group only, bypassing these priorities, by providing a group name for the tag. The Writing Meta Information section above gave the syntax rules for exiftool command-line arguments to do this. Any family 0, 1 or 2 group name may be used when writing information, although not all groups are writable. The - tagsFromFile Option A special ExifTool option allows copying tags from one file to another. The command-line syntax for doing this is - tagsFromFile SRCFILE . Any tags specified after this option on the command line are extracted from source file and written to the destination file. If no tags are specified, then all writable tags are copied. This option is very simple, yet very powerful. Depending on the formats of the source and destination files, some of tags read may not be valid in the destination file, in which case they arent written. This option may also be used to transfer information between different tags within a single image or between different images. See the - tagsFromFile option in the application documentation for more details. ExifTool will not rewrite a file if it detects a significant problem with the file format. ExifTool has been tested with a wide range of different images, but since it is not possible to test it with every known image type, there is the possibility that it will corrupt some files . Be sure to keep backups of your files. Even though ExifTool does some validation of the information written, it is still possible to write illegal values which may cause problems when reading the images with other software. So take care to validate the information you are writing. ExifTool is not guaranteed to remove metadata completely from a file when attempting to delete all metadata. For JPEG images, all APP segments (except Adobe APP14. which is not removed by default) and trailers are removed which effectively removes all metadata, but for other formats the results are less complete: JPEG - APP segments (except Adobe APP14 ) and trailers are removed. TIFF - XMP, IPTC and the ExifIFD are removed, but some EXIF may remain in IFD0. PNG - Only iTXt, tEXt and zTXt chunks (including XMP) are removed. PDF - The original metadata is never actually removed. PS - Only some PostScript and XMP may be deleted. MOVMP4 - Only XMP is deleted. RAW formats - It is not recommended to remove all metadata from RAW images because this will likely remove some proprietary information that is necessary for proper rendering of the image. Some antivirus software has been known to cause problems for the Windows version of ExifTool. Norton Antivirus may delete ExifTool when it is run, Windows Defender may slow down launching of ExifTool or hang it altogether, and Bitdefender Antivirus may block ExifTool from writing files. Presumably this is due to the way the ExifTool package for Windows works -- it unpacks executable files into a temporary directory and runs from there, which apparently may be seen as a threat by antivirus software. A work-around is to add ExifTool to the exclusion list of the antivirus software. Adobe Camera Raw and DNG Converter 9.5.1 fail to recognize edited Samsung SRW images from some models (NX30, NX300, NX2000 and EK-GN120). This problem was fixed for the NX models in ExifTool 10.26, but remains for the EK-GN120 In Windows . ExifTool will not process files with Unicode characters in the file name . This is due to an underlying lack of support for Unicode filenames in the Windows standard C IO libraries. This deficiency was addressed in ExifTool 9.79, and ExifTool now supports Windows Unicode file names with some exceptions. See the WINDOWS UNICODE FILE NAMES section of the application documentation for details. Memory available to ExifTool in the Windows EXE version is limited to a few hundred MB. This limitation has been known to cause unreasonably long processing times (almost 7 minutes) for some large EPS files ( 200 MB) which are processed much faster by the Perl version (lt 6 seconds). Apple Spotlight and Preview (OS X 10.8.5) and Adobe Photoshop CC (version 14.0) ignore XMP in PNG images if it comes after the image data, which is where ExifTool adds new XMP. This should be considered as a bug in the Apple and Adobe software since XMP is allowed to exist after the image data according to the XMP and PNG specifications. ExifTool 9.40 provides the PNGEarlyXMP API option to allow writing XMP before the IDAT chunk, but there are caveats associated with its use There is a bug in the Apple RAW file support (OS X 10.4.11) which prevents some edited Pentax PEF images from being displayed properly. Other software such as the Pentax Silkypix software and dcraw have no problems with these images. This bug is fixed in OS X 10.5.4 There is a bug in a number of Adobe utilities which causes some edited Sony ARW images to be displayed with the wrong tone curve. This problem has been observed in Photoshop CS4 Camera Raw 5.6, DNG Converter 5.6 and Lightroom 2.6 with ARW images from the A500, A550, A700, A850 and A900. Other software such as the Sony IDC utility, Apple RAW utilities, dcraw and Capture One have no problems with edited images. This bug is fixed in Camera Raw 6.3 and LR 3.3 Some ExifTool options ( - if. - p. and copying arguments like - DSTTAGltSTR ) have the ability to execute Perl code from within command-line arguments. This may be a security problem if ExifTool is executed from another application that blindly passes untrusted file names on the command line (since they may be interpreted as ExifTool options if they begin with a dash). To be secure, the calling application must ensure that input file names do not start with a dash (U002D) or a Unicode minus sign (U2212). The easiest way to accomplish this is to prefix input file names with a known directory name, eg.).FILENAME . Have you ever forgotten to set the datetime on your digital camera before taking a bunch of pictures ExifTool has a time shift feature that makes it easy to apply a batch fix to the timestamps of the images (eg. change the Date Picture Taken reported by Windows Explorer). Say for example that your camera clock was reset to 2000:01:01 00:00:00 when you put in a new battery at 2005:11:03 10:48:00. Then all of the pictures you took subsequently have timestamps that are wrong by 5 years, 10 months, 2 days, 10 hours and 48 minutes. To fix this, put all of the images in the same directory ( DIR ) and run exiftool: The example above changes only the DateTimeOriginal tag, but any writable date or time tag can be shifted, and multiple tags may be written with a single command line. Commonly, in JPEG images, the DateTimeOriginal, CreateDate and ModifyDate values must all be changed. For convenience, a shortcut tag called AllDates has been defined to represent these three tags. So, for example, if you forgot to set your camera clock back 1 hour at the end of daylight savings time in the fall, you can fix the images with: Note: Not all datetime information is covered by the AllDates shortcut. Specifically, the filesystem datetime tags are not included, and this command will reset FileModifyDate to the current datetime as it should when the file is modified, unless either the - P option is used, or FileModifyDate is set to something else. To shift FileModifyDate along with the other tags, add - FileModifyDate-1 to the command above. By writing a new value to the FileName andor Directory tags, files can be renamed andor moved to different directories. This can be a very powerful tool in combination with the - d (date format) option for organizing images by datetime. For example, the following command renames all images in directory DIR according to the individual files creation date in the form YYYYmmddHHMMSS. ext . Or a new directory can be specified by setting the value of the Directory tag. For example, the following command moves all images originally in directory DIR into a directory hierarchy organized by yearmonthday: Read here for more details about this powerful feature. There is a significant overhead in loading ExifTool, so performance may be greatly improved by taking advantage of ExifTools batch processing capabilities (the ability to process multiple files or entire directories with a single command) to reduce the number of executed commands when performing complex operations or processing multiple files. dagger One exiftool user documented a 60x speed increase by processing a large number of files with a single command instead of running exiftool separately on each file. Also, the - execute option may be used to perform multiple independent operations with a single invocation of exiftool, and together with the - stayopen option provides a method for calling applications to avoid this startup overhead . It has also been observed that the loading time of ExifTool for Windows increases significantly when Windows Defender is active. Disabling Windows Defender may speed things up significantly. The processing speed of ExifTool can be improved when extracting information by reducing the amount of work that it must do. Decrease the number of extracted tags by specifying them individually ( - TAG ) or by group ( - GROUP:all ), and disable the composite tags ( - e ) and the print conversions ( - n ) if these features arent required. Note that the exclude options ( - x or --TAG ) are not very efficient, and may have a negative impact on performance if a large number of tags are excluded individually. The - fast option can significantly increase speed when extracting information from JPEG images which are piped across a slow network connection. However, with this option any information in a JPEG trailer is not extracted. For more substantial speed benefits, - fast2 may be used to also avoid extracting MakerNote information if this is not required. When writing, avoid copying tags (with - tagsFromFile ) or using the - if or - fileOrder option because these will add the extra step of extracting tags from the file. Without these the write operation is accomplished with a single pass of each file. dagger However, note that when the - csv option is used, information from all files is buffered in memory before the CSV output is written. This may be very memory intensive and result in poor performance when reading a large number of files in a single command. The exiftool script provides a command-line interface to the Image::ExifTool Perl library module which is part of the ExifTool distribution. The Image::ExifTool module can be used in any Perl script to provide easy access to meta information. Here is an example of a very simple script that uses Image::ExifTool to print out all recognized meta information in a file: Note that some tag values may be returned as SCALAR references indicating binary data. The simple script above does not handle this case. Below are some free utilities which take advantage of the ExifTool engine: ExifTool GUI for Windows. GUI for viewing meta information with some editing features Metadata. View, edit, extract, copy metadata metadata Auto ISO Tool. GUI front-end for ExifTool to patch Canon ISO information GeoSetter. Utility for showing and changing geo data of image files ExifMixer. GUI extension for the exiftool command-line interface AvPicFaceXmpTagger. Write Picasa 3.5 face recognition information as XMP to your images FileTagSleuth. MP3, ID3 and EXIF viewer PhotoMove. Automatically move photos to directories or folders based on Exif date taken GUI2 for ExifTool. An ExifTool GUI with built-in editor and browser AutoJpegTrunk. Tool to remove all metadata from JPEG images AdvancedRenamer. Rename files and folders from metadata Proxel EXIF Tool. Photoshop plugin based on ExifTool EXIFCopy. Copy all EXIF information between files Random Photo Screensaver. Photo screensaver with metadata display PicaGeoTag. Geolocate your photos Download a stand-alone droplet to extract preview images from RAW files (thanks to Brett Gross) Download three droplets to extract information exiftool must be installed (thanks to Rob Lewis) MacMetaMod. Droplet for adding Keywords to images GPSPhotoLinker. Geotagging on the Mac PhotoGPSEditor and PhotoInfoEditor. Geocoding utilities MetaDataMover (source ): GUI-based automator utility for movingrenaming images CS1ToCR2. Utility that uses Sony GPS-CS1 log files to add GPS information to CR2 images Geotagger. Droplet for inserting GPS coordinates in your photos Raw Photo Processor. Raw converter for Mac OS X GraphicConverter. Full-featured image editor noteworthy, but not free GeoTag. Geotagging application for iPhone and OS X ImageFuser. Fuses multiple exposures of a scene into one image with improved detailexposure GeoNamesTagger. Docklet to easily update image metadata with location specific information SetEXIFData. Addmodify EXIF data in images rawimage: A kfile plugin and thumbnail image handler for RAW formats Hugin. Panorama photo stitcher FotoPreProcessor. PyQt4-based frontend for exiftool to graphically edit metadata ExZenToo. Script for basic ExifTool GUI using Zenity PDFMted. A set of bash scripts for easy viewing and editing of PDF metadata exiftool-zsh-completion. zsh completion for exiftool ImageIngester. Windows and Mac OS X image workflow automator gpsPhoto. Geotag your images from a GPS (GPX) track log renrot. Perl utility to perform various processing tasks on images GPicSync. WindowsLinux utility to geocode photos from a GPX track log and create KML files FlickFleck. Tool to transfer images from memory card, rotate, rename, and organize by date Geotag. Open source Java-based geotagging application PhotoGrok. Java-based GUI front-end for ExifTool to display images organized by any EXIF tag XnView. View and convert graphic files Mapivi. Open-source and cross-platform picture manager ResourceSpace. Open source digital asset management system fixcorruptednef. Utility to fix Nikon D4D600D800D800E NEF images corrupted by Nikon Transfer 1 pyExifToolGUI. Python-based graphical frontend for ExifTool MDQC. AVPreserve tool for metadata quality control across large numbers of digital assets FastPhotoTagger. Add metadata to images (requires Java runtime engine) Digi-libris. Metadata centric software for the automatic organization of your own catalogue FreezeFrame. Photovideo library manager (requires Java 8) Jeffreys Geoencoding Plugin for Lightroom. Geoencode your photos from within Lightroom Metadata Wrangler. Strip selected metadata components from images as they are exported ExifMeta. Make all exif metadata available in Lightroom for lib filtering and smart collections FullMetaExport. Export JPEG images from Lightroom with full metadata LensTagger. Add EXIF information like aperture and focal length for manual lenses DeAspect: Remove aspect ratio information from DNG, CR2 and ORF images to restore full image PhotoStation-Upload-Lr-Plugin. Export photos from LR directly to a Synology PhotoStation C ExifTool. Performance-oriented C interface for the exiftool application (by Phil Harvey) Download sample AppleScript to extract tags into AppleScript record (thanks to Rob Lewis) Download example of a simple Visual C wrapper for exiftool (thanks Mark Borg and 406432979026124) Download C version of simple exiftool wrapper (thanks Willem Semmelink) Download Visual Basic 6.0 example script v1.01 for reading tags with exiftool (thanks Michael Wandel) Sample VB subroutine to extract a preview image (thanks Claus Beckmann) tagInfoSql. SQLite database of ExifTool tag repository, including Perl script (thanks Wernfried) ExifToolIO. NET wrapper for ExifTool, optimized for speed (using VB) ExifToolWrapper. NET wrapper for ExifTool (using C) MiniExiftool. Ruby library wrapper for ExifTool exiftoolr. Ruby wrapper for ExifTool pyexiftool. Python wrapper for ExifTool PyExifInfo. Another Python wrapper for ExifTool PHPExiftool. PHP wrapper for ExifTool (in development) ExifToolPHPStayOpen. ExifTool PHP fast processing script using - stayOpen and Gearman Moss. Collection of Java utilities which includes an exiftool interface im4java. Java interface to ImageMagick, ExifTool, and other image utilities Java ExifTool. Enhanced Java Integration for ExifTool J-ExifTool. Open-source, cross platform Java7 library to readwrite Exif tags in images exiftool-vendored. Blazing-fast, cross-platform Node. js access to ExifTool How to call ExifTool from Delphi. by Bogdan Hrastnik There is still much unknown information in the maker notes for many camera models. (To see this information, run exiftool with the - U option.) In this area, ExifTool is very much a collaborative effort, and development relies heavily on the input from camera owners to help decode new meta information. If you manage to figure out what any of it means, send me an e-mail (phil at owl. phy. queensu. ca) and Ill add your new discoveries to ExifTool . Many thanks to all who have helped so far. Thanks to everyone who has sent in bug reports, comments, or suggestions, and special thanks to the following people for their valuable input andor additions to the code: Malcolm Wotton for his help with the D30 Custom Functions David Anson for his help sorting out binary file problems on Windows Leon Booyens for his suggestions Dan Heller for his bug reports, detailed suggestions and guidance Wayne Smith for his help figuring out the Pentax maker notes Michael Rommel for his bug fixes and additions to the Canon maker notes Joseph Heled for help figuring out some of the Nikon D70 maker notes Joachim Loehr for adding the Casio type 2 maker notes Greg Troxel for his suggestions and for adding ExifTool to pkgsrc Thomas Walter for figuring out some Nikon tags Brian Ristuccia for more information about some Nikon tags Christian Koller for decoding the 20D custom functions Matt Madrid for his testing and feedback Tom Christiansen for his help decoding some Nikon tags Markku Haumlnninen for h elp decoding tags for the Olympus E-1 Frank Ledwon for decoding many new Olympus tags Robert Rottmerhusen for decoding many tricky Nikon lens data tags Michael Tiemann for decoding a number of new Canon tags Albert Bogner for his image samples, testing and useful suggestions Rainer Houmlnle for decoding a number of new Canon 5D tags Nilesh Patel for his help with the web page layout Jens Duttke for his suggestions, bug reports and help decoding new tags Dave Nicholson for decoding new tags in Pentax and Canon maker notes Bogdan Hrastnik for his feedback, decoding efforts, user support and ExifTool GUI Igal Milchtaich for decoding many Sony A100 tags Laurent Clevy for his work analyzing Canon RAW images Warren Hatch for decoding many Nikon tags Jos Roost for decoding many Sony tags for various models Iliah Borg and LibRaw for decoding many raw development tags This is free software you can redistribute it andor modify it under the same terms as Perl itself . ExifTool is free, but due to popular request I am providing a way for those who feel the need to send me some money. It is really not necessary, but thank you very much if you decide to make a contribution: If you have any comments, suggestions or questions, please post to the ExifTool Forum so other people may benefit from your experiences. (I check the forum at least as often as my email.) Otherwise, if you must contact me directly, my e-mail address is on the first line of the README file in the full distribution. Obrigado. - Phil Harvey

No comments:

Post a Comment