Forum Replies Created
-
AuthorPosts
-
chromebook15Customer
Congratulations!!! wohoo… the race before christmas :D
chromebook15Customersupercool!!! :D
chromebook15CustomerI promised long time ago some tutorials behind the concept and a suitable UI:
they refer to the ‘helper’ app that is used with the 3d app, nevertheless, the same concept is used for the chordaedron app.
I plan to integrate the javascript part to the verge platform.chromebook15CustomerGUI summer update for http://chordaedron.com/lim.html
mobile touch finger-friendly.chromebook15Customersome internal site-builder scripts/helper templates like that of cpanel don’t behave as they should in their “custom Html”, I solved the issue by uploading the HTML (js) file on the server and redirecting the link on the published site to that uploaded file on the server. I guess that this is the way someone ought to make a site in the first place, and not use shortcuts.
chromebook15CustomerI will :) and ill post the solution. its some sort of nesting problem that behaves differently on the cpanel site-builder and the chord images dont show up, I like this challenge. Now I am devouring the book you suggested on javascript, and rewriting the whole mess in a much better way. Any chance you could recommend books on C++ and python? I`m hoping in the near future to make something useful.
chromebook15Customerthe unfinished sentences:
” are messed up and each <te> is parented to the previous <te> and not directly to… < LI >and
how could i adapt the code to make sure they are nested each to LI
?
My bad did not realize these work inside the forum.
I suspect jquery or something along these lines of code might be at fault:
Line 275:
$(function() {$(‘te’).on(‘click’, function(){
var $this = $(this);
var offset = $this.offset();
var bb = $(‘img’);
var aa = bb.parents().filter(‘[name=”pian”]’).children();
var cc = bb.parents().filter(‘[name=”chit”]’).children();
$this.attr(‘style’,’background-color:lightgray’);if ($this.text().length > 2) {
var step0 = allcnames.indexOf($(this).text());
aa.attr({
src: “http://chordaedron.com/gallery/” + srcArp[step0] + “.png”,
etc
or
at line 579:myList += open li + ‘<te>’ + i0 + ” ” + h0 + ‘</te>’ + “,” + ‘<te>’ +
sampleFunction(c0,(n1 – n0),c1,n0)
+ ‘</te>’ + “,” + ‘<te>’ + i1 + ” ” + h1 + ‘</te>’ + closed li;
} else {
myList += open li + ‘<te>’ + i0 + ” ” + h0 + ‘</te>’ + “,” + ‘<te>’ +
sampleFunction(c0,((12 + n1) – n0),c1,n0)//
+ ‘</te>’ + “,” + ‘<te>’ + i1 + ” ” + h1 + ‘</te>’ + closed li;chromebook15CustomerI think i might have bypassed the resource protection by redirecting the “src” files to my site directly as opposed to the previous cpanel link. But the problem persists.
The script displays chord names and if clicked two modal popover windows appear above and below the css separators <te> </te> showing the chord for guitar and piano as an image.
On online compilers, it behaves as expected, all divisions triggering images correctly.
On my site, however, the popovers are being reordered (nested) css-wise and only trigger images at each last evaluation.
on the right part on the first screenshot, the <te> are all children of li.
http://tpcg.io/U8OUH6 should now work
on the left they are messed up and each <te> is parented to the previous <te> and not directly to
http://chordaedron.com/Tutorial/
paste on the fields the following for test:
D# add11,A# M7/5+,G m7,C 7/5+,D# M7/5-,G madd9,A# M79,F add11
and the output should be as in the first screenshot.
the strange thing is that on the compiler everything is ok, but the same script copy-pasted on the site works only partially.
how could i adapt the code to make sure they are nested each to the function that makes the separators and passes them starts at line 346
function sampleFunction(c, b, a, t) {
and at line 493 textReplace(arr.join(),”,”,”</te>,<te>”) makes the divisions.
like in the last screenshot.
I hope its not too confusing2019-05-30 at 11:38 am in reply to: JavaScript for Kids: A Playful Introduction to Programming #15108chromebook15Customerexcellent just what i needed.
thanxchromebook15Customerso,then how can i attach those png files to the site so that they can be manipulated? do i have to upload the images in some other way?
how do i make the resource publicly available and modifyable?
within the site i cannot set the permissions to “modify” only read.chromebook15Customerchromebook15CustomerAdded the limited entropy to be also HTML-only, color-coded and copy-paste-friendly and can be used with the app`s Import/Export floppy. AND chord buttons for piano/guitar with images finally fixed that damn bug. soon video tuts
http://chordaedron.com/lim.htmlchromebook15Customergreat :) can i delete the uncompressed gltf and bin?
chromebook15Customersave icon added.
chromebook15Customerill work on an update, in the meantime a partial solution is to delete all the unwanted chords with the top-right “x” button and screenshot the zoomed-in suggestions. :( only works with dice until you reset or switch modes.
External apps, DAWs, and composition softwares have options of chord recognition from audio, or a way of browsing, adding chords and saving them.
a quickfix on the matter for the app will have to be text, something small to make the program still loadable. sheet/midi will take a while
thanx for the feedback.
Now to make a certain selection playable again in the app, the process is laborious, but it works if after resetting (trash bin) you delete every single chord that you don’t like, leaving only your favorite ones (still on delete mode) and then the dice.
A button “add to favorite chords” would make this less time-consuming, but will take time to implement. -
AuthorPosts