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 - wish list time  (Read 4389 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 - wish list time
« on: August 26, 2014, 09:27:25 AM »

Melodeon Explorer (a web page) was coded two years back, as a facility for people with multi row boxes or extended basses to tap in their layout, or edit pre-set standards.

It can already highlight how chords and scales might lie on the instrument, and as such "understands" the various minors, modes, and their associated harmonies. I have found it most useful in finding chords that lie "other direction" and several "crossed" left hand ones. I used it to plan my C#DG, though that didn't stop me ordering its Eb/Gb bass upside down (easily fixed) ;)

Sound was later added in, but suffered from poor level of development of HTML5. That has now become Web standard; browser support is certainly much better.   Time to recode, and much of that will be from scratch. eg I want to integrate showing say a G dorian minor scale with all its associated right end chords, and make ME truly indifferent to base diatonic row key

Further ideas, wish lists etc are invited. Clive has already asked for plain text output of "rodec" keyboard descriptors. I'm also minded to make the facility properly midi compatible (ABC might be a step too far)  But what else?
« Last Edit: August 26, 2014, 09:32:50 AM by Chris Ryall »
Logged
  _       _    _      _ 

Clive Williams

  • Administrator
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 3936
    • Home Page
Re: Melodeon Explorer - wish list time
« Reply #1 on: August 26, 2014, 09:42:44 AM »

Clive has already asked for plain text output of "rodec" keyboard descriptors.

Oooooh..... yes please. Can I also beg for the successful return of transpose?

One other dark, dark thought. Could we also feed it an ABC file, and it show the possible fingerings for that tune? We'd have to have some mechanism of either choosing or showing both if there's 2 possible notes for a given sequence (perhaps it could choose according to active chord - 'this is inside a F#m chord, so we have to do this note on the push'), but if it could output melodeon tab, that would be *fantastic*.

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #2 on: August 26, 2014, 10:01:51 AM »

That has possibilities. ABC is not "about" chords, and I'd regard their inclusion as "an arrangement". Indeed, isn't chord/melody balancing what a lot of melodonism is about? We debate it tirelessly on beginner threads!

But a lookahead algorithm that found built in chord arpeggios in an ABC; mapped out cross fingering "as far as it could" in a dynamic way on both directions? Defo worthy of consideration. Ta. But please don't expect full tab "how to play". Too many human/artistic factors I think :|glug
Logged
  _       _    _      _ 

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Melodeon Explorer - wish list time
« Reply #3 on: August 26, 2014, 07:29:46 PM »

Chris, I have often looked at your melodeon explorer and am in great awe. I don't have the knowledge to program or write code (other than basic ABC) like that.

However, whilst I recognise that your Explorer is great for you and your style of playing based so much on harmonic structure, I find it less useful myself principally because of the way in which it is split into two separate diagrams, one for the push and one for the pull.

For me, as a rhythmic sort of player, it would be much more useful to see a single diagram with the buttons split to indicate notes available on push and pull, a bit like the melnet keyboard layouts e.g. here.

Why? For me, playing the melodeon is a mixture of pushes and pulls which I need to 'visualise' as a single entity, not two separate instruments, one on the push, t'other on pull. Supposing I want to play (say) a tune in A major or B minor. It would be helpful for me (or my students) to see a single push/pull keyboard layout which highlights the notes of the scale in question and would show immediately where a single button needs to be both pushed and then pulled (or the other way around) to play adjacent notes of the scale; such a diagram would instantly show where the bellows 'waggles' need to take place and would help formulate a set of finger/bellows patterns for any particular scale. That's not easily apparent from your present system.

That's what I would find useful, and if you thought that something like that could be achieved, then fantastic!
But - it's your baby of course and I might well be asking too much. But you did ask for comments and suggestions...
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

John MacKenzie (Cugiok)

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2360
  • Fettling... Learning to reed and right.
Re: Melodeon Explorer - wish list time
« Reply #4 on: August 26, 2014, 08:00:37 PM »

Bass chords?
Logged
There is no beginning to my talent :)



: Hohner Club Modell 1. Bb/Eb, de-clubbed : Early Hohner Pressed Wood A/D : 1930's Varnished wood G/C:  Hohner Erika C/F: Bandoneon tuned D/G Pressed wood: Koch F/Bb; G/C Pre Corso

derekc

  • Good talker
  • **
  • Offline Offline
  • Posts: 55
Re: Melodeon Explorer - wish list time
« Reply #5 on: August 26, 2014, 08:34:38 PM »

Hi Chris - this is really useful, especially for an Anglo - any chance please of a default G/D Anglo layout? Thanks.
Logged

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #6 on: August 26, 2014, 10:21:26 PM »

C/G anglo is already there in two layouts, and if I abandon "keys" completely (everything is relative) then setting the "base" to G instead of C would sort the various anglo (and melodeon) tunings in a trice. Clive has already referred to the broken transpose button. Sorry it fell off on in a version 1.nn recode. Then I spent much of last year under a surgeon (or rather him under me) ;)

The issue with these things is actually "voicing" as various luthiers make idiosyncratic decisions in this - especially wrt the octave of the left and melodeon chords. Provided you don't want any sound output peculiar to your particular maker, it's very doable (already)

But how many standard layouts should there be? It quickly get very cluttered! I'm looking more to HTML5's much easier facility to store data blocks on your own computer. You could then edit/store your layout and voicing and have it reload automatically. I'm afraid those "cookie" things really weren't up to the task.

Push pull issues … could be sorted by combining the two mappings into a single diagram. But as
i have pointed out before, is about finding chords and free flowing scales. That's also why there eg is no true D7 chord in standard DG layout. D fundamental and C (7th) are in opposite directions. So such matters would always be a fudge.

Personally I'm more interested in part scales; that you can run E to C in both dorian and aolian modes simply by cross fingering on pull. But then melodeonism demands that you switch to push for your D unless you invest in a gleighton or helper row.

Are those G/A B/C D/E G/F# B/A D/C etc really of much use to people in planning tunes or scales? i've always seen them basically as the plan for a maker sticking his reed plates in. Any other use is … well I've found them pretty hard work over the years. Dunno about you, but my bellows are only in one mode at any particular moment ;) However the two are "mathematically" the same thing so just a matter of a bit of code. But it means four representations. Separate keyboards, combined push/pull, the rodec (which is "voiced") and the graphics. Covering both push and pull in the same graphic will IMHO look pretty messy.
Logged
  _       _    _      _ 

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Melodeon Explorer - wish list time
« Reply #7 on: August 27, 2014, 12:15:23 AM »

Are those G/A B/C D/E G/F# B/A D/C etc really of much use to people in planning tunes or scales?...
As shown by you in this form, possibly not, other than to obviously highlight a row of adjacent buttons on the G-row and another on the D-row. But I think it becomes more useful when trying to see alternative cross-row patterns where you need a mixture of on-the-row push/pull and cross-row on the push and cross-row on the pull. It helps you plan bellows changes and better air management. A single diagram with split buttons also helps identify buttons/bellows changes for non-home row scales - for example A major, C major, A minor, B minor, etc on a D/G box.

As I've hinted at earlier, maybe I'm trying to fit your Explorer into a role which you don't envisage; that's fine, it's your idea and ultimately your decision what you do with it.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #8 on: August 27, 2014, 08:49:44 AM »

On the row phrase highlighting with directionality will be a challenge to do with any clarity  but you've got to empty those bellows some time, and a "bit of tune" is the best way ;)

As ever, a sleepover on the issue has popped some ideas in my head, but i'll need to play with the new vecter graphics now "standard" on t' Internet  :D

Any more ideas? It had occurred to me that as the internal harmony model is self contained, and the graphics model "linear" it'll also do guitar chords (tuning of your choice) … but let's not go there
Logged
  _       _    _      _ 

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #9 on: September 05, 2014, 06:36:30 PM »

Been experimenting. 

Chord structures, and melodeons(!) are now 'objects' which might allow some code re-usability. HTML5 vector graphics are not very usable as you cannot control redraw. 'canvas' does work OK but is also still a bit buggy in some browsers.  I think that is the way to go as it should be fast and efficient, and have worked around the bugs (it works here ;))

  http://chrisryall.net/me2/test.htm

If volunteers might try this page to check it looks usable on their kit it would help keep me out of anything not generally usable. In due course you'll be able to click 'buttons' and see what 'interval' they are in the present key (eg minor 3rd) and make various 'chords' and 'scales' glow up in the brighter button style. Also to setup your own kit. ME1 can do this already but the new HTML makes saving to your own computer trivial

All comments will be useful, but please 'update' your favourite browser - they change all the time! Thanks, Chris

Logged
  _       _    _      _ 

John MacKenzie (Cugiok)

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2360
  • Fettling... Learning to reed and right.
Re: Melodeon Explorer - wish list time
« Reply #10 on: September 05, 2014, 06:48:16 PM »

Melodeon Explorer Test Bed

This is a test of concept and of clarity: representing a melodeon on HTML5's <canvas> element
Please pass comment wrt clarity, practicality and usability to Chris Ryall, melodeon.net

Known issues

MSIE ignores the font if it is declared "bolder"
some browsers need a "refresh" to draw the buttons (I'm investigating)
Chrome fails to drew button images at all (Google: "acknowledged bug")
Some browser text centering leaves much to be desired, though still legible

I get this text plus 3 rows of buttons above it, all with the same note sequence. In Orangey red 1 and 3, and yellow, middle row.  On Google Chrome
Logged
There is no beginning to my talent :)



: Hohner Club Modell 1. Bb/Eb, de-clubbed : Early Hohner Pressed Wood A/D : 1930's Varnished wood G/C:  Hohner Erika C/F: Bandoneon tuned D/G Pressed wood: Koch F/Bb; G/C Pre Corso

robotmay

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 820
Re: Melodeon Explorer - wish list time
« Reply #11 on: September 05, 2014, 06:54:11 PM »

Shows up fine for me in latest Firefox on Ubuntu!

There's a few handy JS libraries around for doing canvas work which might be worth a look if you're doing a lot of it, though I haven't used any of them in the past year so I'm not sure how they compare to the standard APIs now:

Logged

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Melodeon Explorer - wish list time
« Reply #12 on: September 05, 2014, 11:37:44 PM »

Looks fine to me on Safari 5.1.10 and Firefox 31.0 on Mac OS 10.6.8.
I like the larger layout - nice clear button graphics and colours.
The text within the buttons is properly centred in Firefox; less so in Safari where C# and F# nudge up against the LH inside of the black outline perimeter. But that's just a very minor cosmetic issue.
Overall, very good indeed so far. I like it!
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #13 on: September 06, 2014, 05:58:10 AM »

Thanks chaps. The buttons are smaller and tighter, and now software generated. Clarity is  fundamental and I needed reassurance from other people's screen experience.

Instruction to 'center' the text note icon is interpreted differently(!) by the four main browsers .. one of the classic joys of web software :-\ I'd abandoned vector graphics for similar reasons; too many work-arounds involved.  I plan to code according to the W3C standard and let Microsoft and co catch up when they get round to it. But it seems all is at least legible and I could shrink the font for Safari. Thanks for the library tip: had found raphael, but ME's draw requirements don't need that much power (or code overhead). I hope to apply KISS principles this time.

A chord and scale engine is nearly there and should generate clickable eg [I,ii,iii,IV..] full chord lists for all modes/all keys; suggest useful 'out' scales when in chord mode (not quite as easy). 

Melodeon object is still mainly in my head, as is attachment of sampled notes to its buttons (when are now effectively just blobs of cyber-paint on a 'canvas'). It won't play tunes, but should be up to arpeggios, and scale demos. As its note values are now midi .. who knows?

If anyone has time, do please look again a v1 http://squeezebox.chrisryall.net/  Steve's critique on how it did not do what he needed was very useful, need more of such at this early stage  :|glug  6am already ... to work!
Logged
  _       _    _      _ 

nigelr

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 526
Re: Melodeon Explorer - wish list time
« Reply #14 on: September 06, 2014, 07:17:44 AM »

Melodeon object is still mainly in my head, as is attachment of sampled notes to its buttons (when are now effectively just blobs of cyber-paint on a 'canvas').
Hi Chris.  I'm not sure how you're coding the back end of this, but have you considered introducing a "Row" object into your model as well?  Your Melodeon object then has a collection of Row objects that then in turn have a collection of Button objects - in this way you may get flexibility in the future to model 1, 2 or 3 rows.  You could then inherit from Row to create TrebleRow and BassRow objects as well?  Again, I'm not sure how you're approaching this but I hope this is of interest.

Cheers

Nigel
(C# / VB developer by day)
Logged
DB Oakwood Super 2 (D/G), Club II (D/G Will Allen layout), Erika (Bb/Eb) and an HA114 in C

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #15 on: September 20, 2014, 05:59:44 PM »

Hello again :Ph

[technical stuff]    Apologies to Nigel, I seem to have missed his suggestion ::)  Decided against a row 'object' as both rows, and indeed "rows of rows" are intrinsically ordered sets of buttons, as such more efficiently modeled by JS arrays? And JS inheritance is a clunky IMHO, but other aspects .. rock 8)   Both the graphics methods of HTML5 turned out awkward. <SVG> fails to update properly in  several browsers (ie when you do an 'edit') and detecting a button click on <canvas> .. well,   it ain't easy. So I've gone for good old-fashioned text  :o though css3 makes that pretty sexy  ;)  [/technical stuff]

   testbed:  http://chrisryall.net/me2/testbed.htm  (favourite browser 'update' recommended, please) )

Here's the result - in MOCK UP - although a fair bit of connect up code is in train. I've set it up "conceptually" as if iw were looking for voicings of the simple  C major triad on a Club (as par this site). The editor has  moved to melnet standard notation  (:) The explore concept is to highlight all the notes concerned (here C,E,G), and show where they lie on the keyboards. Chords and scales are "the same" in this. I'm experimenting with also lighting up chord buttons "with 3rds out" as this helps find "crossed" chords that work against a given scale.

The text is [techy]macro generated[/techy], so if you click through to say a D7 chord it'll offer you a stack of scales that'll run against that dominant, and also related chords such as D triad, D dim, D Alt or even Ab7. Yes, a lot of that's in your face jazz. (Enharmonic notes adapt automatically to the last one typed in). 

Known issues are 1. variable font size in the various browsers, fairly easily addressed, though strategy is to work to user's favoured text size. 2. Microsoft MSIE is (as ever?) not very standards compliant. I couldn't make it do in-button edits, and last time I tried to AJAX small bits of data (ie layouts) off my site MSIE blocked me.  It also can only be made to play sampled notes by using MS favoured formats: yet more workarounds for a browser I feel is fairly useless.

Please have a look but don't expect edits, sound to work yet. I'm looking for a steer (or otherwise) on 'look and feel'. New ideas particularly welcome! Clive's request for transposing will be easy as the 'buttons' now work with midi numbers. I won't give text it's own pane, he can just click/paste into the editable scratch pane and take it from there.

Steve's wish for highlighting in reed-waxer-in layout? .. well that's no harder than splitting the chords, but I still find it hard to think of a utility wrt scales. eg exploring for G major on a D/G will light up 90% of buttons, push and pull, on both rows. For chords? Well, they are intrinsically push, or pull anyway ::) Concertinas .. still some way off, though a tweak to the now "background" rodec descriptors should make a loadable D/G Linota etc possible eventually

Please do comment and don't be too dainty about it. ME needs usability critique in particular. If it fails you, please let me know about your kit. eg I am developing on a 3 year old 2.8GHz Windows system, using Firefox. Am about to look at it on an iPad .. now :P [ed] text too cramped … but it worked! :D
« Last Edit: September 21, 2014, 06:59:15 AM by Chris Ryall »
Logged
  _       _    _      _ 

squeezy

  • Quick starter (now lagging behind)
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1317
  • Hohner Cornelia (mixte D/G/o&s)
    • www.johnspiers.co.uk
Re: Melodeon Explorer - wish list time
« Reply #16 on: September 21, 2014, 05:43:56 PM »

I have always thought this was a wonderful concept when putting together layout ideas ... although I am a push-puller I think about layouts very much with an eye towards right hand chords and which direction they end up being in.

I remember trying it out when I first saw it mentioned here ... and I'm afraid I found it far too technical to get to grips with - and ended up reverting to pencil and paper and looking for chord shapes in my head.  I'm not sure why I found it so hard - I am normally quite technically minded and can even code myself a little. 

I've just tried it out in 3 separate browsers again - and after 15 minutes I cannot enter any layout text in the editor (following the rules) without it turning blue - saying the code is untested and not showing up in the layout. (I'm using the latest Safari, Chrome and Firefox on mac.)  Even changing just one note (say an F# to a G) will show up as an error like this.

So I think I'll just have to consign myself to the fact that I'm not cut out to use it!  Or maybe I've just missed something blindingly obvious.

However on the subject of displaying it on a single layout rather than one for push and one for pull.  On my home-made steam-powered diagrams with a pencil and paper I do put both directions on a single keyboard diagram ... and I find that the judicious use of colours can end up displaying both directions in a far less confusing manner.
Logged
Squeezy

Sometimes wrong, sometimes right ... but always certain!

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11154
  • Wirral UK
    • Chris Ryall
Re: Melodeon Explorer - wish list time
« Reply #17 on: September 22, 2014, 09:56:01 AM »

Ive got a problem with sticky blueness in edit mode too, am on to it and have thought of a solution.

I don't think "exploring" with buttons as D/E F#/G A/B D/C# (which I'd call "waxing in) format will be a problem at all. My own feeling is that 1. for chords half the symbols are simply noise … chords are intrinsically either push or pull

2. In finding scales I think it will be even more confusing, most notes in the base diatonic scales are both ways, all those would light up. In a way its related to finding useful note runs on halftone boxes. I'm having trouble thinking how to map that to any sort of screen representation. i'd be really interested in how people do it on paper?

So that's an extra pane please, to explore in "waxing in" format, should be easy enough and an interesting exploration about how folk imagine their melodeons. Please keep ideas coming, I've tried to keep the "clockwork" very flexible, so most things should be possible, and I'm frankly most interested in "concept" feedback at this stage. 10am already … time to attack that sticky blue bug :Ph
Logged
  _       _    _      _ 

Steve_freereeder

  • Content Manager
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 7511
  • MAD is inevitable. Keep Calm and Carry On
    • Lizzie Dripping
Re: Melodeon Explorer - wish list time
« Reply #18 on: September 22, 2014, 12:36:23 PM »

However on the subject of displaying it on a single layout rather than one for push and one for pull.  On my home-made steam-powered diagrams with a pencil and paper I do put both directions on a single keyboard diagram ... and I find that the judicious use of colours can end up displaying both directions in a far less confusing manner.
Yes - I like this approach.

Chris - I think the main thing I 'dislike' (said in the nicest possible way  ;) ) about your two separate layout diagrams for push and pull, is that I, for one, think of the instrument as a single entity and it is jarring for me to shift the focus of my vision and refer to a double layout like two separate instruments.

It's far more important to me (and my students) to be able to see instantly that (for example) the pull A is on the same button as the push G in the lower octave but on adjacent buttons in the higher octave. That's harder to do when the push diagram is separated from the pull diagram.

That's why I find Squeezy's single diagram layout with split buttons for push and pull the most logical for me. It's nothing to do with 'waxing in' but very much to do with visualisation, perception and focus.
Logged
Steve
Sheffield, UK.
www.lizziedripping.org.uk

summerstars

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 301
    • UK Surnames Genealogy Contact Site
Re: Melodeon Explorer - wish list time
« Reply #19 on: September 22, 2014, 03:14:51 PM »

As a relative beginner I too visualise my melodeons as buttons each with two notes; I certainly don't think of it as two halves, one for the pull and the other for the push therefore any visualisation of a layout should show each button halved with a note in each half.

I also prefer the method used in squeezy's charts halving the buttons horizontally - it seems to make it easier to differentiate push/pull than the alternative vertical halving
Logged
Dino Binci D/G, Sandpiper 3v D/G, Sandpiper C/F, Hohner Bb/Eb, Pariselle 1 Row in D, Streb
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