Melodeon.net Forums

Please login or register.

Login with username, password and session length
Advanced search  

News:

Welcome to the new melodeon.net forum

Pages: 1 [2]   Go Down

Author Topic: Would consider adding D/G tablature if it can be done deterministically  (Read 7497 times)

0 Members and 1 Guest are viewing this topic.

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF

One possible solution would be to adopt a Darwinian approach.

The software would make a simple 'on the row'  tab. From this starting point successive mutations could be generated. The new versions should be tested against a set of pre defined rules - harmony, ergonomics, fingering, note combinations, chordal progressions etc. each test should be given a numeric value as it's outcome. The higher the running total the more likely the mutation would be to succeed. Each generation builds on the successful aspects  of it's ancestors.

This organic approach matches the way that one would develop an song or tune arrangement in the real world.

i have seen this approach used to develop python 'Wordle' puzzle solvers and also in this counterpoint software:

https://github.com/ntoll/foox
Logged
Semper idem, sed non eodem modo

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11153
  • Wirral UK
    • Chris Ryall


   Nice idea, Mike 👍

   🤔 does the machine judge the outcome? Or does it seek feedback from a user who might be more naive than you

   The difference from wordle is that wordle has 1 right answer. Music phrases don’t? 
« Last Edit: July 11, 2023, 02:48:42 PM by Chris Ryall »
Logged
  _       _    _      _ 

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF

The foox cli tool is very effective. Download from github and run using python.

This presentation reveals some of the background to the project:

https://ntoll.org/static/presentations/foox/index.html

Running the software using the same input (Cantus Firmus) multiple times will produce many different results. Each one true to the harmonic rules of counterpoint, but often with very different tonal shifts.

Implementing 'Genetic Algorithms' is simple. I have played around with the basic structure using Python, but I guess other languages would work too.
Logged
Semper idem, sed non eodem modo

PeterBRC

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 101

I can’t understand a word of this !!  but I wish I could !
Logged
Hohner Erica Swiss DG -  Castagnari  DG-Hohner 1040 C

Peadar

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2039


   Nice idea, Mike 👍

   🤔 does the machine judge the outcome? Or does it seek feedback from a user who might be more naive than you

   The difference from wordle is that wordle has 1 right answer. Music phrases don’t?


I am not sure if there is any point in producing DG tabs for (I presume) Irish Traditional Dance Music. I queried some time ago why someone who wants to play Irish (Dance) Music in "C" sessions didn't just play a C/C# box on the outer row. I learned that it is the fashion in Irish Diaspora Music to copy the style of a favourite big name player to the extent that playerrs want half step boxes that match their heroes set up.  In that context tabs make sense.

But for a hundred plus years the purpose of most melodeon tab systems has been to guide the begginer's fingers as an aid to finding their way round the instrument at the same time learning to read staff notation. This is as true of Ed Rennie's system as it was of Peter Wyper's . The only tab systems I know of that don't seem to have been designed for this purpose are those of Forbes and Hohner, both of which seem to have had the primary object of selling more Hohner's.

Or do I just misunderstand completely?
Logged

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions

Well, based on the appreciative responses I've received from beginner B/C and C#/D box players, clearly there is a point to making these available.

By having both the tablature and the notes for the tunes, hopefully this might help bootstrap them into reading notation and start to associate common patterns in the tab with the patterns in the notation.

My half-step box solution isn't meant to be all things to all players, it's primarily an aid to help bootstrap newer players who might find tab useful.

For the rest who are complaining that my half-step solution isn't infinitely flexible, print out the tab to a vector PDF using the browser's print function (so you get true vector glyphs, not a bitmap PDF as would be generated by my jsPDF-based exporter) and edit the resulting PDF in Adobe Acrobat to make whatever changes you like.

It's absolutely possible, even easy to do.  I'll put up a demo video in the next few days showing how.

Or print it on dead trees and use correction fluid and a quill pen. :-)

« Last Edit: July 11, 2023, 09:40:16 PM by Michael Eskin »
Logged

Mike Hirst

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1433
  • Black Dot B/C, Bastardo C#/D, Corona II GCF

I can’t understand a word of this !!  but I wish I could !

I'm not sure that I fully understood what I was trying to articulate 'til I wrote my earlier post.

Google 'genetic algorithms' and you will find many useful results.

This Wikipedia entry is a useful starting point:

https://en.wikipedia.org/wiki/Genetic_algorithm

The more I read the more I am convinced that this approach is something I have been struggling towards for some time with my heuristic code musical experiments.

Michael: this is certainly not a criticism of your project, which I have already made clear that I greatly admire. Rather it is an acknowledgement that where music and code colide there will always be room for improvement through addressing commonalities across parallel projects.
« Last Edit: July 11, 2023, 10:53:28 PM by Mike Hirst »
Logged
Semper idem, sed non eodem modo

Stiamh

  • Old grey C#/D pest
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3611
    • Packie Manus Byrne

For the rest who are complaining that my half-step solution isn't infinitely flexible...

I take it you mean me. First point: like Mike Hirst, I am very impressed by what you have achieved with your endeavour. Second, I don't care for tablature and would not use it in teaching.

But you asked about the possibilities of producing useful D/G tablature. The reason I brought up what I see as a serious shortcoming in your half-step solution (hardly a plea for "infinite flexibility") was to suggest that, if it was not easily fixable, then trying to work out a system for D/G would be an order of magnitude more difficult. Which other people's posts seem to have since convinced you is the case. That's all.

Michael Eskin

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 547
    • AppCordions

Stiamh, not just you, others have expressed similar concerns about the limitations to me on Facebook as well. And, to be clear, I agree with you, if there was any way to make it simple to express specific fingerings that could work with abcjs, I’d absolutely implement it, but no solution has come to mind yet. I’m still mulling over the possibilities.

I don't believe in teaching from tab myself either, but clearly, some newer players appreciate it as a way to reduce the initial friction taking on the instrument, particularly if they don't read notation.

I just posted a thread showing how to edit the transcriptions after-the-fact to easily adjust any fingerings. I hope that procedure may be useful to someone. I also don’t believe that one tool has to do everything possible. This is one of those cases where my tool in combination with Adobe Acrobat can be a very powerful thing. My tool does most of the work and then you handle some details in Acrobat.
« Last Edit: July 12, 2023, 07:46:39 AM by Michael Eskin »
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé

One possible solution would be to adopt a Darwinian approach...
Which immediately set me thinking 'Genetic Algorithms'. Stupidly, I hadn't thought of that, even though I wrote a simple GA program myself about 20 years ago. I suspect though, that any approach which iterates round successive solutions evolved using GAs would be slooooow?
...I don't care for tablature and would not use it in teaching...
I completely understand this, but I know my own limitations. As a 'latecomer' to music who's never going to be a competent sight-reader, I do find it useful. Unfortunately, some folks do use it for teaching, but make a complete dog's breakfast of it. I could point up a 'system' (for concertina, based on ABC) used by at least one set of on-line lessons, and some associated software in which the authors have clearly mis-understood ABC; and even within the context of their 'understanding' have made a complete (and misleading) mess of the whole thing. Caveat emptor!
« Last Edit: July 12, 2023, 06:06:34 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203

I could point up a 'system' (for concertina, based on ABC) used by at least one set of on-line lessons, and some associated software in which the authors have clearly mis-understood ABC

It's possible they were using the Irish system of ABC, which also uses letters of the alphabet but differs in a number of ways from Chris Walshaw's ABC, although at first glance it looks similar.

https://www.leslieanneharrison.com/irish-flute-tips-blog-original/2021/8/3/18-how-to-read-abc-notation-in-irish-traditional-music#:~:text=ABC%20notation%20uses%20the%20letters,used%20on%20thesession.org).

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé

Warning: Strictly speaking, this is off-topic...
Quote from: Howard Jones link=topic=2947Irish sys7.msg349763#msg349763 date=1689276318
It's possible they were using the Irish system of ABC, which also uses letters of the alphabet but differs in a number of ways from Chris Walshaw's ABC, although at first glance it looks similar.
The url you cite isn't either of the ones I had in mind, but after reading it, I guess that it may have served as the 'inspiration' for one or other of the two I mentioned. It seems to me to have a rather odd approach to notating higher octave notes. I've looked at thousands of ABC scripts, in many genres over the last few years, and never seen anything remotely like this before.

Here's an example of the output from a program which claims to add ABC note names to an ABC script, and which appears to use the 'Irish system of ABC'. It's full of errors which seem to arise because of a mixture of using the 'Irish system of ABC' and then getting the code wrong. To me, it's simply 'wrong', and potentially very confusing for anyone who stumbles on this without any context.

Edit: I should have done this at the start - the second example shows the same tune with ABC note names added using a program which seems to do a slightly better job...
« Last Edit: July 14, 2023, 09:11:47 AM by Roger Hare »
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Howard Jones

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1203

I know very little about "Irish ABC", except that it exists and I believe is widely used in Irish traditional music. It has been around for a considerable time, and unlike "Walshaw ABC" it wasn't developed with computers in mind, and I suspect that many players had their own variants. There probably isn't the consistency that you find with Walshaw ABC, which has a recognised standard which developers can work to. 

This is perhaps similar to the way there are at least two well-known tablature systems for melodeon (and no doubt many more personal versions) and many more for anglo concertina.  Some of these can appear very similar, and this can lead to confusion. I get the impression from occasional comments on The Session (which uses Walshaw ABC) that Irish musicians are sometimes confused that the scripts don't match the systems they are used to.

All the ABC scripts I have come across online have been in Walshaw ABC. Traditional Irish ABC was paper-based for personal use and face to face taaching, and I doubt much found its way online until teachers began to use the internet as a teaching resource.

What is wrong with the examples you posted? The first one is a mess because the note names are not aligned with the notes on the staff, but that's a programming issue. The names themselves look OK, although not Walshaw-compliant. The second one seems better.  However I may have missed something.

Whilst I can't rule out the possibility that the author of the scripts you are referring to has misunderstood ABC, I suspect it is more likely that they are using a variant of Irish ABC, quite possibly their own or that of their own teacher.

CAB

  • Mass Debater
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1147
    • Somerset Russets Village Band

I know very little about "Irish ABC", except that it exists and I believe is widely used in Irish traditional music. It has been around for a considerable time, and unlike "Walshaw ABC" it wasn't developed with computers in mind, and I suspect that many players had their own variants. There probably isn't the consistency that you find with Walshaw ABC, which has a recognised standard which developers can work to. 

Exactly right.  Steer clear of Irish ABC unless you need to communicate with Irish players who use it.  Irish teachers use it widely but individuals seem to have their own ways of using it.  I first came across it over 20 years ago but still avoid it whenever possible.  I attach an example of a tune in standard notation and Irish ABC.  This comes from The Online Academy of Irish Music, who use a fairly consistent version.  Some of their tutors post tunes in standard notation, Walshaw ABC and this (which they call "easy abc", confusingly enough).
Logged
Pas de lieu Rhone que nous

tirpous

  • Hero Member
  • *****
  • Online Online
  • Posts: 1403

I first came across 'Irish ABC' while attending Seosamh Mac Gabhann Summer School on-line classes a couple of years ago.  Most teachers provided scores in that format. (videos of the classes, with scores in the comments, are still available at https://www.facebook.com/smgsummerschool)

I've since come to realize it is indeed a standard thing in ITM circles.  In my experience it is a simple and straightforward system that works well for its intended use (see picture of a flute class for an example).  Nothing wrong or odd with it, unless you expect it to be the same as the 'Standard ABC', which has its own oddities. 
Logged

Roger Hare

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 949
  • Urmston, Lancashire, U.K. éééé

...Some of their tutors post tunes in standard notation, Walshaw ABC and this (which they call "easy abc", confusingly enough).
So, they call it easy abc, eh?

OK, I surrender - if I had a white flag, I'd be waving it right now...
Logged
My ABC tune collections can be found here (GoogleDrive) & here (Dropbox).

For more about Manchester Morris, The Beech Band Folk Club or anything else,  please use the private messaging facility.

Rick_vdS

  • New Starter
  • Offline Offline
  • Posts: 1
Re: Would consider adding D/G tablature if it can be done deterministically
« Reply #36 on: January 19, 2024, 01:52:51 PM »

I have been working on a online tool myself to create tablature from ABC notation. As a beginner player I have been using it myself for a few months now. It has reached a state where it might be useful to others as well. I play a G/C and C/F box, but it works for D/G as well.

The tool derives the push pull direction from the chords. If a chord can be played in both directions, add > to the end of the chord to force push direction and < to force pull direction. In the same way a . or : can be added after the chord to force melody notes to be played on the outer or inner row respectively.

Give it a try here https://diatotab.com
Logged
Pages: 1 [2]   Go Up
 


Melodeon.net - (c) Theo Gibb; Clive Williams 2010. The access and use of this website and forum featuring these terms and conditions constitutes your acceptance of these terms and conditions.
SimplePortal 2.3.5 © 2008-2012, SimplePortal