johnrazor's Recent Forum Activity

  • I'd like to ask you for a favour.

    Would you mind loading that piano app from yesterday again?

    I added a plugin to give me google analytics and the new upload had no sound so I removed the plugin, re-compiled and uploaded once more.

    Still no sound and on the W8 machine, all hell brakes lose. I can see other layers when I click or tap the screen. Basically, horrible experience.

    Can you verify this please?

    http://littlecomposers.com:8080/apps/html5/html5-piano/ k

    Just to make sure you are not loading yesterday's cache, I've made the background black so when you resize the browser window, you SHOULD SEE a black top/bottom or side strip. This is the most recent upload then.

    Thanks,

    V <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Sure thing-- I checked on my W8 machine and it works fine. I do see the updated borders. I don't see other layers when I click or anything, it seems to be working just fine. Cheers man and good luck. Let me know if ya need anything.

  • Excellent, glad to hear you're making progress. Feel free to give me a shout if you run into issues in the future. The most important thing about troubleshooting anything (computers, cars, microwaves, girlfriends) is to isolate the variables as much as possible, and only make one change at a time-- it'll make your life much easier. Anyway, glad to help. Cheers!

  • johnrazor

    Just like yesterday, the driver is not valid for this computer ....

    ACER cut corners and modified the driver which is understandable. The computer was dirt cheap.

    Anyway, I am heading back to C2 and try to mess with the background settings. MAYBE i did something stupid there?

    Just to clarify-- if you go to your project settings and change your preview browser to Node-Webkit, it still flickers?

  • The Frozen Synapse soundtrack is pretty lovely to code to.

    Oh yeah, that is a great soundtrack, most definitely.

  • John,

    that is the WEIRD part!

    I can preview the same app (that flickers when previewed from within C2 > preview) once it is on the net and it displays fine.

    But locally, on that machine, every capx I load flickers.

    At first I figured that it is the latest beta and ignored it but now I know that it is on my end.

    There isn't really anything installed other than C2 because I do all of the development on the Laptop which also runs C2 under Win7 and all the gfx work on the iMac, my baby which always works.

    Just so you know ... I am used to that.

    EVERY TIME in my life, when I work on something that matters, something that becomes a product, the hardware around me fails colossally. That's why I bought the iMac in the first place. <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    I know how that goes-- most definitely. I always try to remind myself that technology is just a tool to make things easier, although it rarely seems to work that way anymore.. Heh. Anyway, you might try the updated driver, which you can download here:

    https://downloadcenter.intel.com/Detail ... rodId=3720

  • johnrazor

    holy moly, you are on to something here.

    Yesterday, as you know, I had somewhat of a setback because of two issues.

    The Visual Studio one is now fixed and was my fault because I downloaded Visual Studio Express 2013 for Windows Desktop (I don't know what "that" is for but the "for Desktop" is not able to open our stuff.

    The second issue is still ongoing.

    I have a high-end MSI laptop with I use for mechanical engineering apps like SolidWorks.

    To make W8.1 games, I bought an inexpensive ACER Aspire. It has 6GIG of RAM and a Intel 4600 GFX chip.

    That GFX chip is customized which means that I can't just download an updated driver from Intel.

    To make things worse, ACER doesn't have an updated driver available.

    The reason why this is important is because I can't test my C2 games on that machine.

    Every time I press the mouse or touch the screen, it flickers.

    Some capx files I have downloaded from this forum flicker right upon opening the app in a browser.

    I would like to send "a" version of my piano app to Microsoft and then update it on a bi-weekly basis.

    The play-back function would lift this app up several notches and is a "must add" feature for sure.

    Let's think about this and in the meantime, I will try to tweak the app and sometime this evening, send it to Microsoft.

    Let's hope it works on their end and they approve it.

    Glad to help! As far as the flickering goes, have you tried different preview browsers? If it flickers in all browsers, there's definitely something weird going on. I'm wondering if it does that in Node-Webkit. Also, does it flicker any other time (like when you're just browsing the internet)?

  • Hey johnrazor,

    and thanks for all the pointers.

    Out of all the suggestions you've made, the save/load a melody interests me a lot but, I still need to learn how to do that.

    I didn't even know that MIDI data could be created yet alone saved? Have to dig a little deeper.

    About my signature ... as you know, stating something In definite terms has become a dangerous game. I think that if a child starts with making compositions and puts a little effort into it, she/he can advance a lot and maybe come up with a unique composition that grows wings.

    Unfortunately, I can't promise that that will happen so I chose "could" become famous.

    My sig is just there. No expectations really. If someone wants to check out the website then it's a quick link to do so but I will see if something pops into mind when the time is right.

    If you come across a tut that deals with saving a melody, I'd be very interested to read it.

    Thanks,

    V

    I think you could do it with the following objects:

    WebStorage, Timer, and Array.

    Just roughly working it out in my head, I would have the Array represent the time, which would loop back to the beginning every X number of seconds.

    When a key is pressed, depending on the current value of Timer and the position of the Array, you could record that value into the array (F# 1.5 second mark, F at 2.5 second mark, E at 3.0 second mark).

    Not sure if that makes sense or not-- let me know if you'd like more detail. Free time permitting, I might be able to throw together a demo for ya.

    Cheers!

    John

  • This is on Chrome for Vista, by the way (not my computer ). I don't see a build version anywhere. One thing I wasn't sure if I should mention or not-- your forum signature reads sort of like a spam e-mail, you might take away the 'could become famous' part, as I think people would be more inclined to check it out. Just my two cents. Cheers!

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Hey, that's really cool. A couple of ideas for your consideration:

    Keymapping, so that you can set your musical keys to a keyboard/gamepad key of your choosing.

    Saving/loading short melodies. Sometimes I'm away from my music equipment and get an idea for a melody. Would be awesome if you could save tunes. Not necessarily the audio itself-- more like MIDI data.

    Cheers man, good work!

  • Well I was thinking, at first, of ID3 tags, although those are MP3 specific (or at least not applicable to WAV or OGG files).

    I just read your two posts you linked, and I understand what you're saying now. Let me kick this around in my head and do a bit more reading and I'll see if I can come up with any ideas. Cheers.

  • [quote:l8urm5o2]1. User launches application, which has no audio imported.

    2. Audio is pulled down from a server somewhere, and is not static (names and attributes of audio could be different every time)

    3. Audio is played back when triggered by user.

    es. As far as I know, there is no good way (or maybe even any way) to create a program that can load audio externally, whether it be from an online server, a local hard drive disk, or whathaveyou.

    For instance, I asked this a while ago, and got nothin':

    And this, too:

    Not one reply, even after hopefully bumping them.

    What I would like to do is create a game that can load external audio like Audiosurf can (using a plugin like the File Chooser), pre-analyse said audio before playing it and not during, and then create the game level/layout/etc.

    It seems that the current state of Construct 2 does not offer these features like, say, Unity and Unreal can. I should probably be switching to either of those engines, and not use C2, but I really do enjoy working in this engine, and hence I'd like to actually develop with it.

    /end wall of text

    It seems like this could be possible with metadata--- maybe something like this:

    Upload audio file to server. Server analyzes audio file and creates XML file based on analysis. User launches application/website, selects audio file, and level is procedurally generated based on the XML metadata file. Something like that?

  • johnrazor I have often heard FMOD mentioned when I was researching Audiosurf/Beat Hazard type games. Could one use FMOD for these? If so, I would be extremely interested. The only other step would be getting a C2 plugin that finally allows us to create games that can import music at runtine.

    Just reading through the thread again, and I don't think I understand what you mean when you say importing at runtime-- you mean like this?

    1. User launches application, which has no audio imported.

    2. Audio is pulled down from a server somewhere, and is not static (names and attributes of audio could be different every time)

    3. Audio is played back when triggered by user.

    I feel like I'm missing the big picture, here, which is embarassing since I've spent a fair bit of time tinkering in C2. :/

    Cheers!

johnrazor's avatar

johnrazor

Member since 1 Mar, 2014

None one is following johnrazor yet!

Connect with johnrazor

Trophy Case

  • 10-Year Club
  • Email Verified

Progress

11/44
How to earn trophies