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

Author Topic: Rodec Playground 2.0-beta-0 now online  (Read 469 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
Rodec Playground 2.0-beta-0 now online
« on: August 10, 2022, 05:10:57 PM »


  An apology.   I’d hoped to β-test rather sooner but I was called in for an NHS operation! 😳    Seriously …  🙂 But its nature has me still on my couch, coding on an iPad. Sadly I’ll miss FolkEast, and Whitby too

  Back to topic. The API is now mostly bug free 😉, and has been attached to a test page at https://chrisryall.net/rodecs/

  It’s termed a ‘playground’ because it offers interested parties a chance to digest the concept of Rodecs, which can describe any melodeon layout in a standardised way. The playground is self documenting including an [explain syntax] button and a list of the importable API methods. The output is the same layout expressed as a JSON object in the lower text box. Both boxes may be copied, but only the input may be edited or CTRL-V ‘pasted’. It is then a matter for simulation developers to make that JSON do … whatever they choose. But they’ll all have access to a  common library of layouts, not have to type them in, and eventually that library will be free of bugs too 👍

  I’ve attached a gamut of test layouts to the framework, its access button is bottom left.  Feel free to try them out. If you want to edit something suitable towards your own layout - go ahead. But keep a copy in your own text file. I’ve gone off the idea of saving within a browser as clearing its cashe, or several other mishaps can lose your work. Also, no way to transfer to another browser 🥴

   I’d like to offer special thanks to Lester and take up his offer to ‘break’ the API. There will be issues 🥴 `Meanwhile

 1 [normalise] is not yet implemented and will be a nice test. It’ll take eg a C/G layout with “transpose: 7” semitones => D/G,
    and actually do that. Result a melodeon in D/G tonality, ‘transpose: 0’. Which might replace the one in the library 👍

 2 The [explore …] button is disabled. A stub for me as I’m interested in an implementation to find chords and scales on any
    layout, and so will use the API’s RDCgetObjectsPushOrPullNotes() method to display push and pull views of chords separately.

 3 Other implementations might simply be “to play”, or a graphic generator for luthier diagrams, as in the melnet library.
    Rodecs abandon the old C, C’, C’’ C’’’ notation in favour of piano tuner’s, in which C4 is ‘middle’. Octave of zero indicates a bass
    A note name in lower case asks for a minor triad, as per usual. (Please note that 3rds are developer dependent). 
 
4. Anything else is limited … only by developer imagination. An implementation might be on the same site as its editor, but rodec
    notation is concise enough to pass via a URL query string (eg. see the address box above this page). A central resource could
    launch  an application …,anywhere on the web.

Time for a whiskey.  :|glug
« Last Edit: August 10, 2022, 07:01:45 PM by Chris Ryall »
Logged
  _       _    _      _ 

Rog

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2525
  • Repair and tuning in Hants
Re: Rodec Playground 2.0-beta-0 now online
« Reply #1 on: August 10, 2022, 06:04:57 PM »

When I open the Rodec Library and select GCF 3 row 12 bass, it gives me a 'this library is corrupted' error message.

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11153
  • Wirral UK
    • Chris Ryall
Re: Rodec Playground 2.0-beta-0 now online
« Reply #2 on: August 10, 2022, 06:50:40 PM »


 That’s because it IS corrupted! 👍 The testbed has uncovered that error 😀  We’re testing the playground and underlying Application Programming Interface just now, but ‘non-geeky’ melodeon players are welcome to simply ‘explore’.  I’ll correct my main copy and it’ll go right … next upload to Anahata’s server. Or you might just edit in the octaves and see it come right immediately 😉

Did you try the library filters? type eg [3-row] into one of them, press the [Apply…] button, and that’s all you see. It’ll handle quite big libraries! You can filter x2 in the test-bed (the API imposes no limit).

I have put rather less attention into the library layout Rodecs, so  some of them will inevitably have errors. Input wrt that is welcome too.

Thanks Roger.  ‘Roger and out’ 🙂
« Last Edit: August 10, 2022, 06:55:59 PM by Chris Ryall »
Logged
  _       _    _      _ 

Rog

  • Hero Member
  • *****
  • Offline Offline
  • Posts: 2525
  • Repair and tuning in Hants
Re: Rodec Playground 2.0-beta-0 now online
« Reply #3 on: August 10, 2022, 09:25:37 PM »

You are welcome. Although to be honest I have no idea what your s/w actually does, which doesn’t matter that much. I guess it’s for people who know what to do with it already…. (:)

Chris Ryall

  • "doc 3-row"
  • French Interpreter
  • Hero Member
  • *****
  • Offline Offline
  • Posts: 11153
  • Wirral UK
    • Chris Ryall
Re: Rodec Playground 2.0-beta-0 now online
« Reply #4 on: August 10, 2022, 10:14:51 PM »



True at present. But my aim is to offer get to rodec based library that can load into anyone’s Web simulation or app. And personally a web page that’ll find eg the Bb scale, modes Gm, F with a blue 7th, Cm dorian and the related scale C blues scale on a layout, or say ‘it’s not really there’

And the right end chords. To be honest my app will be more useful to 3 row players. And I do use the scales mentioned above on my accs/D/G, for song.

But others might simulate say a Bb/Eb layout. For play fun. Though my app would tell you that it has a ‘built-in’ D blues scale 😎
« Last Edit: August 10, 2022, 10:17:56 PM by Chris Ryall »
Logged
  _       _    _      _ 
Pages: [1]   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