Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-20 Thread Jakub Pavlík
Hi br. Innocent, I'm sorry for the lack of user-friendliness. To use gabc_quanta.rb either execute it by invoking the ruby interpreter with path to the script as first argument ruby gabc_quanta.rb ... (arguments for gabc_quanta.rb following) or add shebang (see below) as it's first line and make

Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-15 Thread Innocent Smith
Here's the output from gabc_quanta.rb: InnocensMacBook:office misericordia$ gabc_quanta.rb an--a_bimatu_et_infra--dominican--id_6436.gabc /usr/local/bin/gabc_quanta.rb: line 4: require: command not found /usr/local/bin/gabc_quanta.rb: line 6: class: command not found /usr/local/bin/gabc_quanta.rb:

Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-15 Thread Innocent Smith
Hi Jakub, Thanks for your work on this. I've tried installing lygre and it is now in my bin. I also put a downloaded version of gabc_quanta.rb in my bin. I can't seem to get either to work. When I try grely.rb FILE.gabc, it produces output within the terminal rather than a separate file. gabc_quan

Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-14 Thread Jakub Pavlík
I have released a new version of lygre with a less adventurous installation procedure. Now a single "gem install lygre" should do the charm. Jakub 2016-12-12 21:59 GMT+01:00 Jakub Pavlík : > Hello, > > I have written such a script https://gist.github.com/igneus/ > 7098ce45ee4cbae0c5324ff91df7e3c

Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-12 Thread Jakub Pavlík
Hello, I have written such a script https://gist.github.com/igneus/7098ce45ee4cbae0c5324ff91df7e3c1 based on a gabc parser included in one of my older tools. But in order to enjoy it, it is necessary to install ruby (this should be no big deal) and my lygre gem (this is the scary part): the clumsy

Re: [Gregorio-users] Quantitative Analysis of GABC scores

2016-12-12 Thread Benjamin Bloomfield
I could help with this if no one else is interested. It doesn't sound like it should be too difficult to count the number of syllables and the number of notes in a GABC file. I could write a webpage to do it, or if you'd prefer a command line script, that would work as well. *Ben Bloomfield* On

[Gregorio-users] Quantitative Analysis of GABC scores

2016-12-09 Thread Innocent Smith
Hello, I am wondering if anyone has made/would be willing to make a tool to do quantitative analysis of GABC scores. One question I'm interested in is the ratio of notes to syllables in different scores. To do this, I suppose you would have to find a way to strip away non-note information from the