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] 3 4   Go Down

Author Topic: Melodeon Explorer: a Web chord/scale finder for squeezeboxes  (Read 15833 times)

0 Members and 1 Guest are viewing this topic.

Chris Ryall

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

Understood, and got it working.

The next question may be just the limit of my musical knowledge showing but in the pentatonic section selecting blues scale in F# with DG layout gives six notes not five.  F# A B C C# E

That is intended. The 'Official' Blues scale is pentatonic minor with a 4# added = 6 notes.  I've put it in there because real 'Blues' is played to a great extent on the 5 main notes, but the artificial (but nevertheless pretty standard) scale has all six.  There are actually other passing notes used*  Try toggling from minor5 to Blues and back. The C should come and go ...

In reality blues could also be myxolydian, dorian, or lydian, (Mike H has told us that in Louisiana - they use pure pentatonic minor)  Then there's all the jazzier stuff - melodic modes etc etc  :|glug

*Tous foutu .. improvise sur la gamme Blues
 Blues foutu? Joue la chromatique
French proberb  ;)
« Last Edit: December 02, 2012, 03:27:40 PM by Chris Ryall »
Logged
  _       _    _      _ 

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard

Chris, this is brilliant work. Simple interface, attractive graphics, powerful tool for exploration. Thanks all the hard work and for sharing it.

FYI, I notice that the Apply button can change the layout text a couple of ways:
  • The enharmonic spelling of a note can change (D# becomes Eb, G# becomes Ab, but F# does not become Gb),
  • The number of spaces between the = and first character of the label increases by one with each button click
  • Two new lines are inserted below the label.
This may be by design but I thought I'd mention it.

To duplicate what I saw,

1) Input:

push> >> @  G  @  C  @  F 
>>>>> >> @  E  @  A  @  Bb
>> D# C  F  A  C  F  A  C  F  A 
> F# G  C  E  G  C  E  G  C  E  G 
C# D  G  B  D  G  B  D  G  B  D  G
= Castagnari-GCF-Benny
pull> >> @  D  @  G  @  C 
>>>>> >> @  A  @  D  @  Bb
>> C# E  G  Bb D  E  G  Bb D  E 
> G# B  D  F  A  B  D  F  A  B  D 
D# F# A  C  E  F#  A  C  E  F#  A  C

2) Click Apply

3) The input becomes:

push> >> @  G  @  C  @  F 
>>>>> >> @  E  @  A  @  Bb
>> Eb C  F  A  C  F  A  C  F  A 
> F# G  C  E  G  C  E  G  C  E  G 
C# D  G  B  D  G  B  D  G  B  D  G 
=  Castagnari-GCF-Benny


pull> >> @  D  @  G  @  C 
>>>>> >> @  A  @  D  @  Bb
>> C# E  G  Bb D  E  G  Bb D  E 
> Ab B  D  F  A  B  D  F  A  B  D 
Eb F# A  C  E  F# A  C  E  F# A  C 
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Chris Ryall

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

Great - keep the bugs and layouts coming please. I don't guarantee all the latter will be buttonned but can put them in the .txt library  (:)

I'm presently leaving the web version well alone as I've "taught it French" allowing Solfage input and buttons (there's a BIG French/Low Countries interest in this sort of thing). I don't need to tell any fellow programming geeks on the forum the chain opf little bugs that has set off! Please bear with me, but another weekend'll probably sort it. Chris

Logged
  _       _    _      _ 

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard

I don't need to tell any fellow programming geeks on the forum the chain opf little bugs that has set off!

We (diplomatically) refer to those as design decisions to be reevaluated in light of changing user requirements even when we made the changes to the requirements. Have fun stalking.
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Strigulino

  • The Night Owl
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 933
  • @strigulino on Twitter
    • Strig on YouTube

Still doesn't work on IE at work but does work on my phone.  I shall try to remember to do layouts for my boxes so you can add them if you want to.

Just had a quick look - I see there is not a 2.5 row C/F (I have a Liliput declubbed, so I should be able to give you a Liliput clubbed and declubbed when I get a mo) which has low notes rather than accidentals - is the D/G version low notes or accidentals?
Logged
~~~~~~~~~~~
The Strig

"World-famous poker player. Give her a good poker and she'll play any tune you like." - The Goon Show
Pets:  Two cats, one husband, a D/G Hohner Morgane, a C/F Liliput, a dark and mysterious anglo concertina, a Streb, a Giordy...

Chris Ryall

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

Yes please - I want Club systems in there. Please could you post here as simple text cc'd from the box and I'll make a pre-set

Sorry about MSIA - what version may I ask?
Logged
  _       _    _      _ 

Strigulino

  • The Night Owl
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 933
  • @strigulino on Twitter
    • Strig on YouTube

Version 7.0.5730.13.

"This error (HTTP 406 Not Acceptable) means that Internet Explorer was able to receive information from the website you visited, but the information was not in a format that Internet Explorer can display."

I can see all the gubbins if I do View Source though.
Logged
~~~~~~~~~~~
The Strig

"World-famous poker player. Give her a good poker and she'll play any tune you like." - The Goon Show
Pets:  Two cats, one husband, a D/G Hohner Morgane, a C/F Liliput, a dark and mysterious anglo concertina, a Streb, a Giordy...

Chris Ryall

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

Er -I'm on version 9. I think 7 came out something over 6 years ago when there was a browser  attack involving use of the Javascript string.replace() method. But (from what I can glean) HTTP 406 Not Acceptable errors usually emanate from a mediaeval (we're talking Internet chronology) firewall.

I can assure you - it's all hand coded and Kosher. My own (2009) firewall is entirely happy. As is MSIE9. As is Firefox, and Safari. So I think any weakness might have been fixed. Try the 'update' button. I suspect 'view source' won't get you very far  ::)
« Last Edit: December 04, 2012, 10:35:26 PM by Chris Ryall »
Logged
  _       _    _      _ 

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard

Also works on Chrome Version 23.0.1271.95 m.
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Strigulino

  • The Night Owl
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 933
  • @strigulino on Twitter
    • Strig on YouTube

My work having a clockwork, steampunk firewall?   I can believe it.  :D
Logged
~~~~~~~~~~~
The Strig

"World-famous poker player. Give her a good poker and she'll play any tune you like." - The Goon Show
Pets:  Two cats, one husband, a D/G Hohner Morgane, a C/F Liliput, a dark and mysterious anglo concertina, a Streb, a Giordy...

Chris Ryall

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

Actually it should be raise with IT as it is now an inappropriate barrier. Having said - my hospital's net nanny manages to bar me from some .NHS.UK sites  ???  To say nothing of the nurse in Devon who received only [profane email deleted] when I had the temerity to us the word b1tch, as a verb. To say nothing of the trouble it caused our .. shall I say "female upper anterior thorax" surgeons a few years ago ..  :|glug
Logged
  _       _    _      _ 

Strigulino

  • The Night Owl
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 933
  • @strigulino on Twitter
    • Strig on YouTube

I used to work for a sexual health clinic.  The staff there had no end of trouble with emails.

We're supposed to be getting upgrades soon.  I think they've realised that using such elderly systems is probably not sufficiently secure...
Logged
~~~~~~~~~~~
The Strig

"World-famous poker player. Give her a good poker and she'll play any tune you like." - The Goon Show
Pets:  Two cats, one husband, a D/G Hohner Morgane, a C/F Liliput, a dark and mysterious anglo concertina, a Streb, a Giordy...

Chris Ryall

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

New major version 2.0 uploaded

  • Fully event driven
  • Understands and displays  Do Ré Mi
  • Controls changed to proper buttons
  • Recoded in UTF-8 to allow proper F♯ Bâ™­ display (for Theo) 
  • A few more pre-sets
:Ph Please keep bugs/wishes coming - http://squeezebox.chrisryall.net/

Fixes done
1. The [/o] is an SMF bug wrt the [ o ] unordered list facility
2. up/down sorted - thanks Brian
3. Write the new enharmonic spelling to Buttons as the user toggles
    enharmonics, thereby documenting the user's most recent spelling.
    This was supposed to happen - a little bug  :|bl
4. Provide a way to print a portable document (pdf or Google
   Doc perhaps) showing the formatted button layout.
   Have asked Lester for info on how his Google layouts work

.. keep 'em coming
« Last Edit: December 09, 2012, 10:40:29 AM by Chris Ryall »
Logged
  _       _    _      _ 

Lester

  • MADman
  • Mods and volunteers
  • Hero Member
  • ***
  • Offline Offline
  • Posts: 9327
  • Hohners'R'me
    • Lester's Melodeon Emporium and Tune-a-Rama

[/o] ?

brianread

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 1012
    • Slow and Steady Session in West Lancashire/Greater Manchester; Dance club in Rainford

The "tool tips on the "up" and "down" are reversed (up says down, etc).
Logged
Brian Read
D/G Oakwood (new model), D/G, C /F, Bb/Eb and E/A Liliputs,
A STREB!!,
2.5 D/G Self made Emmanuel Pariselle, D/G Pokerwork,
and Wolverton Advanced G/D Anglo Concertina and C/G  1937 Wheatstone.
all played "lefty" with mostly an extra air button, except the Concertinas which I play the conventional way round.

docEdock

  • Respected Sage
  • ****
  • Offline Offline
  • Posts: 390
  • Hohners, Gaillards, Castagnaris
    • LoafingAboard

Chris,

I believe you have created a new standard for documenting buttonboard layout -- the term keyboard is so PA that we clearly need a different descriptor. Your Generic Chord and Scale Finder (GCSF) input file reminds me of ABC for musical scores. It is compact, font independent, easy to read at a glance, yet powerfully encodes all sorts of relationships.  GCSF translates the input file to a formatted layout in much the same way that some ABC editors produce a musical score.

To nurture this emerging standard, should you wish to venture along that path, consider
  • Title the input file to indicate its role. Buttons comes to mind but I'm sure there are better suggestions. Asking someone to post a box's Buttons might become as common as asking for a tune's ABC. I'll use that title below to see how it feels.
  • Use Buttons enharmonic spelling on the Apply click event to set the enharmonic toggles.
  • Avoid overwriting Buttons characters and inserting spaces and new lines on the Apply click event, thereby maintaining a compact Buttons that is congruent with the user's input.
  • Write the new enharmonic spelling to Buttons as the user toggles enharmonics, thereby updating Buttons with the user's most recent choice.
  • Provide a way to print a portable document (pdf or Google Doc perhaps) showing the formatted button layout.
  • Document the Button standard as a stand alone, in addition to embedding it in tool tips and labels.
Again, this is first rate imagineering. Bravo! Let me stand while I clap.
Doc
p.s. Generic Chord and Scale Finder is a bit of a mouthful from a marketing point of view. How about a catchy name contest for your app. May I submit Progression as an entry?
« Last Edit: December 09, 2012, 10:38:28 AM by docEdock »
Logged
How difficult can it be?
http://loafingaboard.blogspot.com/

Chris Ryall

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

Thanks  :|bl

  .. the floor is open for a "catchy name"  :|glug
Logged
  _       _    _      _ 

sharpie55

  • Member
  • *
  • Offline Offline
  • Posts: 5

Hi Chris,

I've just tried out your website and it looks really useful (not to say impressive). However, on my PCs the "Remember this layout" button doesn't work, it tells me I need cookies enabled when they are. I've tried four different browsers (Firefox, IE, Chrome and Opera), two PCs and three operating systems (XP, W7 and Ubuntu) with the same result. Any ideas?

The layout I've entered is :-

push> > @  A  @  D  @  G 
>>>>> > @  F♯ @  B  @  C 
>
>>>>> >>>> Aâ™­ F  C  Aâ™­
> F  B  D  G  B  D  G  B  D  G  B 
Aâ™­ F♯ A  D  F♯ A  D  F♯ A  D  F♯ A 

=   Saltarelle Connemara II D/G Factory Tuning                       


pull> > @  G  @  A  @  D 
>>>>> > @  F  @  E  @  C 
>
>>>>> >>>> Bâ™­ Eâ™­ F  Eâ™­
> Eâ™­ D  F♯ A  C  E  F♯ A  C  E  F♯
Bâ™­ A  C♯ E  G  B  C♯ E  G  B  C♯ E 

Also, should it change some sharps to flats?  I entered G# on the half row and it was changed to to Ab? I like my sharps (it's in the name).

Many thanks,

Sharpie
Logged

Chris Ryall

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

Cookies are on the 'to do' list I'm afraid.  Partly they are awkward to use and have IMHO bizarre coding. Also the way they import  will it seems clash with the '=' I've use as a token - and no doubt create bugs.  :-\  I've never used them, or I'd have avoided that one

Sharp's/flats are NOT controlled by the input.  I decided the buttons by the notes should do that - ihat t's a 'user' matter' 

I could take the one used in the box - but what if it has a mixture etc etc?  Can of worms ... The box is actually  completely permissive',accepting Aâ™­, G♯,Laâ™­,Sol♯, Ab Lab,G# or Sol# as input for the note you want. It will even accept the same in lower case! Once you click outside the box it it auto-corrects, according to the current 'buttons' settings.  In the future I'd hope to 'remember' these as a cookie. And I MIGHT also allow a comment parameters line .. to force the buttons into preferred state .. eg

Code: [Select]
push> > @  A  @  D  @  G 
>>>>> > @  F♯ @  B  @  C 
>
>>>>> >>>> Aâ™­ F  C  Aâ™­
> F  B  D  G  B  D  G  B  D  G  B 
Aâ™­ F♯ A  D  F♯ A  D  F♯ A  D  F♯ A

FORCE ABC A♯C♯D♯ F♯G♯G♯

Easy enough- what do people think?  Guess it wouldn't affect most of us?

Not sure how many of the thousands of 'standards' will actually get in - its 'library' page annoyingly bugged layout in MSIE and is presently taken out - but you colud simply save this as a text file on own kit - or Theo might allow something here if it takes off.  Or you can copy/paste from here (intentionally).  I could implement the more idiosyncratic ones as a pull down (guess that includes mine)  ;)

Problem is pleasing all the people all of the time.  I'm presently trying out sound - not underwritten until HTML5 deploys in 2014 - but the present beta version on Firefox seems to do what is expected of it :D  Won't get much done next weekend as I'll be on a jolly to Iceland. (BTW: do we have any accordeonistas over there)?

As the page is text driven, it and knows nothing about the innards of melodeons.  I'm therefore keen for comment from concertina players too. Could someone please consider starting a thread on concertina.net - I particularly want some 'English', Linota-37 and perhaps duet layouts.  I  have a signon on 'the other place' but can't 'start' a thread on it.  :|glug
« Last Edit: December 10, 2012, 11:57:32 PM by Chris Ryall »
Logged
  _       _    _      _ 

Matthew B

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 894

Great tool Chris, many thanks.
Logged
Charter Member Presumpscot and Fore River Accordion Club
Pages: 1 [2] 3 4   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