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: Melodeon Explorer  (Read 4467 times)

0 Members and 1 Guest are viewing this topic.

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Melodeon Explorer
« on: June 28, 2021, 12:28:57 PM »

ANNOUNCE that the  Melodeon Explorer (aka “Chord Finder) app is being recoded,  partly because using the D/E F#/G … description used in the Melnet library is in terms of absolute notes, attached to zinc plates. ie it’s for melodeon makers and fettlers. Transposing layouts and tidying up the consequence stayed on my too hard list.

But mainly to take advantage of the fantastic features of EC6 javascript, and CSS3 style sheets. They even insert the ‘/‘ automatically in layout view. My design objectives are

1 totally relative simulation model based on the “start” key of outer main row
   Apply “G” or “D” to that and everything transposes. Trick also works on eg D/D# kit!

2 Three views : “as per Melnet” for those that like it, and on screen edits
                      push, pull only, essential for chords, useful for x-row scales

3 Playable (I already have note samples over 5 octaves 👍. A test revealed that
    that a web browser can “play” both chords and arpeggios from these

4 Ability to “invert” a chord or scale across the whole layout (both ends!)

5 An advice section suggesting chord extends, whether blues scale works, “out”
   chords from parallel scales. Yes that’s jazz stuff  :neigh:

6 Set the tonic for a scale or chord, or change note of the START button at will

7 Save a “tweaked” layout to own PC or tablet easily

8 Retention of the “Ryanair” button (a Clive request)

From Martin Matthew  :|bl

Hey Chris, here's hoping you are well.  Any chance you could add the "extra spaces" to Melodeon Explorer for the full-on 33/12 C/F club set up

Mainly covered by [7]? I want a library of all major button layouts and Club is one of those. 🤔 Is Bb/Eb, or C/F more common? Don’t want to clutter the library too much
« Last Edit: June 28, 2021, 04:50:05 PM by Chris Ryall »
Logged
  _       _    _      _ 

Michael Driscoll

  • Regular debater
  • ***
  • Offline Offline
  • Posts: 145
Re: Melodeon Explorer
« Reply #1 on: June 28, 2021, 12:39:05 PM »

I don't really understand all of that. Is this a useful App. that has been the subject of discussion before? I couldn't find this on the search box.
Logged

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Melodeon Explorer
« Reply #2 on: June 28, 2021, 02:51:43 PM »

Hi Chris,

I've batted around the idea working on some similar software - ticking some of your goals there (but probably moving away from some of what a lot of what melodeon explorer was made for originally). I'm not a web dev though, and having had plenty of work throughout lockdown, it's mostly stayed on the back burner - spending more time at the computer hasn't exactly excited me, heh.

Specifically though, one of my goals was fast, simple, layout transposition, and the results being sharable & importable via plaintext in some way. I also wanted to generating a lester-style vector based layout, and include a solfege system to allow greater & faster understanding, in both directions.

All the web stuff & CSS is pretty outside of my knowledge, but, the solutions & approaches for transposing etc I already have figured out. Are you yourself doing this development? Are you interested in working with anyone else or open sourcing the project in some way?
Logged

Matthew B

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 894
Re: Melodeon Explorer
« Reply #3 on: June 28, 2021, 03:12:36 PM »

Mainly covered by [7]? I want a library of all major button layouts and Club is one of those. 🤔 Is Bb/Eb, or C/F more common? Don’t want to clutter the library too much

First of all, thanks for building the tool.  It's really useful, and I appreciate your efforts.  Last things first: C/F is by far the most common Club tuning in my experience. 

The Club option on the current Melodeon Explorer covers a lot of the possibilities.  It differs from the "traditional" Club layout in two respects.  Modern 30 key Club boxes have seven buttons on the helper row, rather than the six on your current diagram.  There is typically an additional high octave C#/Eb on the knee end.  Also, the highest button on the C row is a G/C (rather than the G/D on Melodeon Explorer). 

The "full-sized" 33 key instruments, have ten buttons on the "helper" row.  The two "extra" buttons on the chin end are F#/Ab followed by D/Eb.  On the knee end the "extra" button is an additional D/Eb.  This puts the sequence of accidentals and reversals F#/Ab, D/Eb, Eb/C# in roughly the same order over three octaves. 

The first button on the outer (C) row on the 33 key instrument is switched to a low C/D to extend the scale a bit lower. This is possible as the low F#/Ab has been moved up to the helper row. 

The left hand has additional bass notes Eb/E and Ab/B, paired with additional chords F7/C7 and C7/G7. 

 
Logged
Charter Member Presumpscot and Fore River Accordion Club

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #4 on: June 28, 2021, 03:22:09 PM »

Confirm that layout is now essentially “vectored”, albeit only a 1 dimensional vector. Transpose will be trivial 👍

So will solfege. My folksy version already had that. I just add a 2nd lookup table for the vector.  The issue there is space on the screen, sol# takes up twice the space of G# or Ab.  CSS3 should handle that. You can make any screen element any size, colour, even add that ‘/‘ for Sol#/La# automatically. To show only one of those notes, I just suppress dispay of the other. SO much easier 🙂

yes, all code will be Creative Commons. 
Logged
  _       _    _      _ 

Anahata

  • This mind intentionally left blank
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 6767
  • Oakwood D/G, C/F Club, 1-rows in C,D,G
    • Treewind Music
Re: Melodeon Explorer
« Reply #5 on: June 28, 2021, 03:40:48 PM »

I don't really understand all of that. Is this a useful App. that has been the subject of discussion before? I couldn't find this on the search box.

Chris didn't supply a link. See https://squeezebox.chrisryall.net/
(it has been mentioned on MelNet before, but I wouldn't expect people to remember where it was)
Logged
Слава Україні !
Music recording and web hosting: www.treewind.co.uk
Mary Humphreys and Anahata: www.maryanahata.co.uk
Ceilidh band: www.barleycoteband.co.uk

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Melodeon Explorer
« Reply #6 on: June 28, 2021, 04:24:52 PM »

I meant https://en.wikipedia.org/wiki/Vector_graphics Chris, so, people can also save & share eg svg files, instead of jpegs or pngs, and can keep/print a fixed/physical copy or what the interface is displaying. I got about this far: https://codepen.io/chromatophore/pen/OJMOKoa - all the http and css are placeholder really, basically the last thing I remember working on was the bass/chord area and how to adequately define it, after having figured out how I'd approach spelling the notes. It was very much a work in progress (and goes quite wrong if you resize the window), and my next hurdle was the going to be the UI and deciding on getting data into and out of the system in plain text.

Well, in any case, I guess I misunderstood your opening line there - I thought you were saying that transposing entire layouts was a challenge you were still not intending so solve with this update. I presume you're treating the notes as numbers this time, and have picked a way to translate these back to what will make sense for the layout (I decided on standardised, but customisable, spellings of notes was the way to go, at least that way we can have double sharps/flats as needed without having to guess at something which will be obvious to the end user).

Also, the Creative Commons licenses are not really intended for use with software. Regardless of which, I was really asking more, are you intending to seek and accept assistance from other software making people and intending to maintain the project on, for example, github or sourceforge, etc, where you might accept feedback and pull requests/patches etc. I'm asking about collaboration.
Logged

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #7 on: June 28, 2021, 04:46:23 PM »

I just do the graphics in CSS. Put a border around the G# and round the corners into a button shape. For G#/Bb I use plain old text, even that is editable in HTML(“5”)! But basically I’m moving away from the 2010 “Rodec” description of melodeon rows. Into a rich library of button arrangements. No typing in. Just raise or lower +/- semitones, at will.

I’d not imagined Matthew’s 7/10/11, but can default to that. Deleting buttons is less complicated than adding.

Plenty of time … I retired off the GMC register in January, and a surgical disaster has me stuck on this couch, dieting for an op 200 miles away, hopefully December.

Still wrestling with the new const/let convention in js, but it’s sound, and a good idea. I’ll set up a beta version later this month. We’ll take it from there, though further ideas encouraged.

Thanks for the encouragement, all. Matthew, could you please pm me that layout, or a link to it. TIA (I can process that en sofa, if not yet … en solfage) 😉

Gina, as the layout view is plain text anyway, share is easy. Just copy/paste it wherever. As computers all have so much memory nowadays it’ll copy a user’s conversation into a “log” ditto copy/pasteable as plain text.  Yes to open source. I’m commenting before I write code, to help with that 🙂

@ 2-row owners - this is mainly for 2½+ row kit. But the facility will find all chords for you, and might help to explore the harmonic minor of your outer row.  It’s also mainly “about” cross rowing style of play

Oh, I forgot … HTML’s new web memory makes saving idiosyncratic layout to your local ‘disk’ easy too. (I found ‘cookies’ a bit over complicated 🥴). It’ll pop up as first item in the “library”
« Last Edit: June 28, 2021, 05:00:10 PM by Chris Ryall »
Logged
  _       _    _      _ 

Eshed

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 447
Re: Melodeon Explorer
« Reply #8 on: June 28, 2021, 09:28:43 PM »

Hi Chris,

I've batted around the idea working on some similar software...
All the web stuff & CSS is pretty outside of my knowledge
Describes me precisely!
I toyed with the idea of making some open source melodeon.js, but a few looks at how to do layout demoralised me, so chapeau to you Chris!
Logged
Do you have a Hohner from 1934-1945 with a serial number on?
Send me a private message or comment on the German Accordion Problem spreadsheet to improve the statistics of the project and get an estimate of the production date of the box if it is not known.

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #9 on: July 11, 2021, 02:12:50 PM »

Layout coding consultation: (non geeks: please ignore) 😉 objectives, and path  were:-

1 separate pitch and layout information  (ME 1.0 mixed these)

2 use melnet’s 3rd, 4th start concept. let’s face it, thats how WE describe layouts. No-one else will use M.E 2.1? 😉

3 Avoid JSON or XML representation of the model. It’s hard to read and folk may want to swap layouts here?

4  Using D/E for a plate=button descriptor is OUT. It mixes tonality and structure.  00/02 as semitone intervals is … fine for start button. And very attractive. But what about octave up? Button 2? The bass end?

5  integers drive you mad! If E is “2” or “02” then it’s 14 further up. And -10 in octave°

6 I even tried hex. Worse! It’s full of ABC’s … another confusion trap!

The code can map any of these, and in the end I’ve gone for a mixed notation in nn/mm “melnet friendly” format. Each “nn” is a tuple [octave,note] with octaves numbered 0 for start button, 2,3,4 going up and “-“ short for -1 for notes lower than start button. The note part is semitones from start note. We get 00/02 as first button outer row. I find that intuitive. Inner row “start” is 05/07 👍 on a halftone B/C (or D/D#) it’d be 01/03.  3-row also look tidy and read easily. Ditto accs … Eb/F might be end row or helper row, but still appears  as 01/03 relative to start=D

Those pesky 11 intervals? 0-9 are easy. I could extend to 10,11 but then you get plates coded 011/20 (C#/D). I prefer T=ten H=11 which allows a diatonic scale of

   00 02  04 05 07 09 0H 10  (0T 10 would be mixolydian, b7h note)

Does that work for others? Alternative is 00 02  04 05 07 09 011 10 ?

The other bit of the tuple is octave. This notates basses, and notes to head end of “start” as

   (chord)  -0/-7 (=D/A)  (chord)  -5/-0          on 8 bass left end (in any key)
   (chord)  -9/-2 (=D/A)  (chord)  -T/-T    <= or -10/-10 ? 🥴

@Clive we’re back to that voicing issue. But in my experience makers voice bass with lowest available notes? And again, having all basses as “-N” is nice, clear, readable?

The chord tonics would be

  17/10   10/15
  19/12   1T/1T  (or 110/110) … but chords are another issue!   
« Last Edit: July 11, 2021, 02:38:27 PM by Chris Ryall »
Logged
  _       _    _      _ 

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #10 on: July 11, 2021, 02:24:23 PM »

As things progress - one could either type a layout, or more likely copy/paste from here? … into ME’s scratchpad. Press [load] and it would simulate 🙂  Within that … maybe flip Eb/F to F/Eb,  and see what that did to your B7 chord 🥴

Edit1:  Would a 12 semitone notation of 0,1,2,3,4,5,6,7,8,9,T,Δ be more intuitive? Any other ideas?

Edit2 better ? 0123456789ØΔ (Theta, Delta) echoing diminished and Maj7 notation?

pseudo code for eg 4th start would look like this (note tonality / layout separated)

Code: [Select]
name :  Anahata 2-row 4th start D/G
start : D
left:
07/02 -0/-7 00/07 -5/-0
04/09 -9/-2 05/05 -Ø/-Ø
right:
     03/05   -7/-Ø  00/04  05/07  09/0Ø  10/12  15/14  19/17  2/1Ø 25/22  29/24
 06/08   -5/-7  -7/-Δ  00/02  04/05  07/09  10/0Δ  14/12  17/15 20/19  24/1Δ  27/15

Note:  ØΔ interval symbols would always lie on main rows : eg (start=D) C=Ø, C#=Δ. They would almost never need typing in when modifying a layout. 🙂 Another miracle of the diatonic scale?

A glichton button would coded 10/10. Dutch inversion as 12/10

This is internal,  at worst for layout posting here. On screen editing is normal ‘notes’, with facility to [export layout]
« Last Edit: July 12, 2021, 03:54:28 AM by Chris Ryall »
Logged
  _       _    _      _ 

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Melodeon Explorer
« Reply #11 on: July 12, 2021, 04:23:53 PM »

My approach was to define the starting pitch, eg G4, and in code, consider that as a number relative to C0 = 0, and any/all note 'numbers' being considered from there would be relative to C0 = 0, internally at least. As almost every single melodeon layout is based on some kind of repeating pattern, which a few variances layered on top, I defined the start pitch, the button that anchors the pattern, and then only really individual 'odd' buttons top of it.

I did not find integers to drive me mad particularly, but I too did not care to deal with them by eye, particularly, outside of the 0-12 range. Consider though that in a very plain human readable way, the only information you need to define the melody side of a D/G G scale layout is:

(edit forgot to include button count, lol)

Row 1, 11 buttons
D4 button 4
Pattern [ [0,4,7], [2,5,9,11] ]
(1,1) = (Bb4/G#4)
(1,2) = (G3/A3)

Row 2, 10 buttons
G4 button 4
Pattern [ [0,4,7], [2,5,9,11] ]
(2,1) = (Eb5/F5)
(2,2) = (B3/C4)

And I'm sure you can bake that down to very little actual exchangeable data very quickly, particularly if you include a few 'standard' patterns in the code. If people can get a URL to share their layout with others, they likely won't need to paste anything in plain text, and if they want to keep it, they'll probably save an image of it. However, if they do:

Consider that while you describe your numbers there as reading easily, the relationship of buttons between the rows does not, in my opinion, read easily. The only solution that I think would read easily are the is the eg A3-G4 notes, which naturally is the point of generating the layout. I wouldn't worry too much about it, and honestly I would consider taking the punt and just doing having it generate that fixed width text with Bb4/C#5, if the layout being fully recoverable from the text is important to you. You already surely need to support the definition of the 3 character wide '-10' for any layouts that include a low octave note on the same row? And probably have to have an interpreter for 'D#4" being the 'start' button of a row, and, must be able to convert numbers back to A-G notes in some way.

edit to add, just saying, what you're describing is wanting to have your cake and eat it - I don't think there's a middle ground that isn't esoteric as all get out, so, pick one or the other, I'd say. Is this text for the program's benefit, or for the human - do whatever best serves that thing's needs.
« Last Edit: July 12, 2021, 05:00:25 PM by Gena Crisman »
Logged

Eshed

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 447
Re: Melodeon Explorer
« Reply #12 on: July 12, 2021, 06:45:14 PM »

A small point - I would try to stay within the confines of ASCII and keyboard available symbols. I'd much prefer 10, 11 etc. over thetas and deltas.
Logged
Do you have a Hohner from 1934-1945 with a serial number on?
Send me a private message or comment on the German Accordion Problem spreadsheet to improve the statistics of the project and get an estimate of the production date of the box if it is not known.

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #13 on: July 12, 2021, 08:48:19 PM »

A small point - I would try to stay within the confines of ASCII and keyboard available symbols. I'd much prefer 10, 11 etc. over thetas and deltas.

1. digits 0 to 9 are not enough to code the *12* semitones in each octave
    One either wraps back to the 0 in a decimal way, losing the pattern Gina
     pointed out. Or extends to 0,1,2,3,4,5,6,7,8,9,😎,🥴 whatever. The actual
     symbols are arbitrary, but I wanted to use something “intuitive” After
    experiment ø and Δ felt OK to me (already in use to describe the ½-dim
    and Maj7 chords, both of which have 7th in them.

    PC’s are utterly tireless. No reason why both these and T,H be accepted
    in a button descriptor. So that’s a 👍

2  ASCII? Well, that’s … 1970s. I used it for terminals for my degree project
    1978. I’ve been typing and coding in UTF-8 for about 20 years, incuding
    thus reply. I tap in française, Bjørn, and strange ¿spanish? stuff all on my
    tablet keyboard, at near normal speed.

    But this won’t be an issue. Most layouts will load from a library similar to
    Melnet’s, and be “tweaked”. It was a pleasant surprise to me that those
    awkward 7ths all lie on the main 2 rows 😀. The row end accs, and
    most helper row stuff are in the easy typeable 0-9s. 

    Very few people will tap in layouts anyway. At present design stage the button
    editor can raise (or lower) reed pitch at a click. eg D=>Eb => E. Or back down!

    So this is for anyone programming, either the background interface, or “coding”
    an unusual keyboard like my C#/D/G, François Heim’s Dutch inversion, or some
    crazy whole-tone apart scheme. Those do exist!

    So that’s a commitment to both T,H and ø,Δ working to code C,C# on D/G kit,
    that’s F,F# on your G/C and so on. It’s important to realise that most melodeons
    play the same, but in different keys. All is relative to the “start” button on main row

edit: if I alias  T,H with ø,Δ, then 10,11 can be made to work too 🤔 but it’ll be a bit ugly
 
« Last Edit: July 12, 2021, 08:52:47 PM by Chris Ryall »
Logged
  _       _    _      _ 

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Melodeon Explorer
« Reply #14 on: July 12, 2021, 09:16:43 PM »

Well, remember that:

start : D4
 06/08   -5/-7  -7/-Δ  00/02  04/05  07/09  10/0Δ  14/12  17/15 20/19  24/1Δ  27/15

and:

start : D4
Bb4/G#4 G3/A3 A3/C#4 D4/E4 F#4/G4 A4/B4 D5/C#5 F#5/E5 A5/G5 D6/B5 F#6/C#6

as far as the computer should be concerned, it should to be quite trivial to move between these, no? Is it not in fact vital for presenting the final layout, and, working out & displaying chords?

1 separate pitch and layout information  (ME 1.0 mixed these)

4  Using D/E for a plate=button descriptor is OUT. It mixes tonality and structure.

I can not really see the benefit that the former solution offers over the latter to... either the human or a computer, really. The only information it feels like you were missing before was 'start : D4'. If you know that the row is considered to be a D row, then surely with an array of human readable notes, you would know all of these numbers and symbols? What is the advantage, in your eyes? Is it not quite trivial to separate the two?
Logged

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #15 on: July 12, 2021, 09:28:17 PM »

My approach was to define the starting pitch, eg G4, and in code, consider that as a number relative to C0 = 0, and any/all note 'numbers' being considered from there would be relative to C0 = 0, internally at least.

I walked straight into the “absolute” trap in version 1. Basically it’s utterly readable, a straight crib from Melnt’s layouts. Except that those are not “layouts”! They are waxing in diagrams for makers and fettlers.

An analogy might be HTML code used for all web pages including this one, and the  style that might, or might not be overlain onto it. Back to melodeons, my C♯DG
and F♯GC boxes have the same ‘“layout”. The tonalities (start=D, start=G) are overlain onto that by the maker.

I take your point about the diatonic pattern, shared with mouth organs? But what about a Club Gleichton, the Dutch inversion, or Grenoble’s C,♯5 inner row?

Transposition is a pig if one codes absolute notes. Whereas a computer can map (Anahata 4th start, D) into a screen representation in milliseconds. And in any key!

I also want to ‘throw” chord intervals, and a tonic at a simulation and see “what works, what doesn’t” That’d be triads in folk mode, 4-chords for those who like harmonic minor or klezmer stuff, and melodic minor modes for the truly cool. Also bebop and Blues scales. My kit can cover about 10. F♯  Bâ™­ and E are the fluent ones. Aâ™­ well night impossible on either 🥴 

@Eshed - I’m typing these ♫ musical symbols in on iPad too! 😉
Logged
  _       _    _      _ 

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #16 on: July 12, 2021, 09:45:46 PM »

Gena has extended her argument thile I typed in. Yes, it has much merit, in a group used to “wax in” layouts. I can only offer that https://chrisryall.net/chords/ … felt like a dead end. I would be very interested in your prototype, if it’s online? ME2.1 is still to buggy to go there

Here’s copy pasted “scratchpad” chord diagrams from my present breadboard. Would it be useful? I had not realised how much of the chord was there on push! 

Code: [Select]
Pull Emin9
       â—Œ    F♯    â—Œ   â—Œ    â—Œ    F♯   â—Œ    â—Œ    â—Œ
â—Œ    â—Œ    E    G    B    â—Œ    E    G    B    â—Œ    E

Push Emin9
  â—Œ    â—Œ    G    B    â—Œ    G    B    â—Œ    G    B
â—Œ    â—Œ    â—Œ   F♯   â—Œ    â—Œ    F♯   â—Œ    â—Œ    F♯   â—Œ

The objective is to find any chord (or scale, they’re the same thing) any key, invert at will.

‘Play’ that as a chord or arpeggio.  Any layout, any tonality. It might even suggest functional harmony. Another idea is to 'score' a layout for playing in off piste scales. As we've all discovered - some lie under the fingers just fine. Whereas the melodeon 'fights' other ones? However in a purchase - we commit to restraints that (I at least) didn't appreciate in my earlier days  :(

To be clear - users will only see clickable (and tapable) buttons on screen. Shot attached
« Last Edit: July 12, 2021, 09:57:59 PM by Chris Ryall »
Logged
  _       _    _      _ 

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #17 on: July 12, 2021, 10:49:16 PM »

@Ashad - here’s what an [octave/decimal] coding looks like using decimals. But on screen you’d see the shot above. Layout text is only for storing or exchanging stuff. eg If you switch from Chrome to Firefox browser any save layouts will disappear.  They all save their “cookies”, now called local  storage in different ways!

@Gena the Eâ™­ row’s  .0/..  .5/..  .9/..  extends across the numbered octaves, as in your method. The difference is that I prefer to anchor to the [start] button (which means something to my index finger), rather than to any particular frequency. [Start] always codes as “00/02”  Octave° tonic and octave°2nd interval. Bâ™­/C on your screen and editable there.

Code: [Select]
name :  Anahata 2-row Bâ™­/Eâ™­      **  Bâ™­=10, B =11 text encoding, in this case **
start : Bâ™­
left:
       07/02 -0/-7 00/07 -5/-0
       04/09 -9/-2 05/05 -10/-10
right: 03/05   -7/-10  00/04  05/07  09/010  10/12  15/14  19/17  20/110 25/22  29/24
       06/08   -5/-7  -7/-11  00/02  04/05  07/09  10/011  14/12  17/15 20/19  24/111  27/15

I’ve moved the rows a bit. I’ll make no difference. And also different key. You’ll see rows in B♭/E♭ now. Think of this as a “recipe”
« Last Edit: July 12, 2021, 11:25:16 PM by Chris Ryall »
Logged
  _       _    _      _ 

Gena Crisman

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1108
  • 🇬🇧
Re: Melodeon Explorer
« Reply #18 on: July 12, 2021, 11:44:29 PM »

Transposition is a pig if one codes absolute notes.

Why would that be?

If you can convert D4 + 09 to B4... what would stop you from converting B4 to D4 + 09? Like if you know it's a row based on D4, that seems pretty easy? Even if you don't know, you can pick C0, B4 is +59. OK let's transpose it 5 semitones up, ok now it's 64, and that's E5.

Like the main challenge in my mind of going through numbers is: is 63 D# or Eb? Pretty sure you may have that same problem with your described approach.

But what about a Club Gleichton, the Dutch inversion, or Grenoble’s C,♯5 inner row?

Figure them out the same way you opt to do accidentals, I imagine.

edit - so, wait, is part of your motivation that Bb major as Bb4 D5 F5, straddles over a C octave step up, and that 00 04 07 is, to you, a better way to convey it as it deals more with 'same octave as the row's tonic'? Is that what you mean when you say the layouts with C4 etc are for those 'waxing in reeds'? Does that apply when you think about, let's say, forming a G minor chord on that same layout? Like does 09 10 14 jump out at you as easily?

As noted https://codepen.io/chromatophore/pen/OJMOKoa was my prototype but I was more looking more at getting the layout drawing done in svg than I was text I/O, so it's all very dictionary-y
« Last Edit: July 13, 2021, 03:30:26 AM by Gena Crisman »
Logged

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer
« Reply #19 on: July 13, 2021, 09:25:22 AM »

There's been some confusion as to "order" here.  I originally posted "00/02" intended to mean [octave0,semitone0/octave0,semitone2], which is in essence a heiarchical coding concept.

Gina, also I see Clive, (in his "chords" article) describe reeds in piano notation, where [start] note on a G row might be "G4/A4".  As the latter seems to be pretty common in the forum. I'd better go that way  :Ph

I still don't like mixing layout and tonality in what I call a 'rodec'. However, as Gina suggest, if a description method is rigourous and internally consistent, mapping  to a different tonality is not all that difficult. The new EC6 javascript can do that for a whole row in a single line of code!

The objective remains  readability so let's pick a standard tonality and then use the piano notaion.

Which main row though? D/G is ... a bit peculiar to Britain?

G/C is I believe  most common Internationally, and I'm no 'little Englander'! I'd suggest a convention to using C as the 'standard' row, C4/D4 becomes the important [start] button, again respecting Melnet usage. That also minimises #/b's on  main rows to a single F#. (meanwhile throwing all codes into #/b's  on a semitone companion layout)!

[start] now resides on on the inner diatonic row of a "4th interval apart"  layout.  The scheme is very readable  caters 'intutively' for B/C and C/C♯, even George's B/C/C♯ kit. And can be mostly typed using one finger  ;)

In 'getting into' a layout you'd first seek out it's C4/D4 button, on the right end. 

Here's what that  might look like as a Rodec, with the [start button] *highlighted* 

Code: [Select]
name :  Anahata 2-row 4th start
start : G  /* transposing C=>G, and G=>D in the simulation */
left:
    D3/A3    G1/D1   G3/D3   C1/G1
    B3/E3    E1/A1   05/05   F1/F1
right:
    Ab4/Bb4  E4/F4  G3/B3  *C4/D4*  E4/F4   G4/A4   C5/B4   E5/D5   G5/F5   C6/A5   E6/B5   
    Eb4/Db4  C3/D3  D3/F#3  G3/A4   B4/C4   D4/E4   G5/F#4  B5/A5   D5/C5   G6/E5   B5/F#5   D6/A6

This layout would be transposed up to an inner row [start] of G4/A4 before display. That too .. works well as G/C seems to be the 'sweet spot' for real, ie metal reeds.  G/C medodeons don't have a 'squeaky end'?  All simulation build transpositions could default to "upwards".b Another welcome simplification.

There's no perfect solution in this as each decision throws up a problem elsewhere. But might something like this .. annoy the fewest people?
« Last Edit: July 13, 2021, 09:30:06 AM by Chris Ryall »
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