John Cutter's Recent Forum Activity

  • My application requires a vocal recorder. I looked at some of the code but didn't have a microphone to test it. I wound up buying a microphone that has really good stereo (it's almost binaural). Unfortunately, the audio recorder built into Construct is only mono!

    Does anyone know if this is a limitation of Construct? Or is it an HTML5/browser limitation?

  • Haha. No, I'm not making a story book app. :-) I just came up with that as an example since it seemed easier to explain.

    I'm actually trying to control a TENS machine using Bluetooth, and I want to sync signals from the machine with a long audio file that is playing.

    Thanks for the reply anyway! I appreciate it!

  • Thanks, WackyToaster! I don't often get replies to my questions here so I appreciate the response. :-)

    I'm saving the timestamps in a dictionary object and then comparing them against the current time every tick. (That's the idea anyway, haven't tried it yet.)

    I hadn't found the Audio.CurrentTime or Audio.PlaybackTime(Tag) properties yet, but those sound like they should work much better. Thanks!!

  • One thing that I have considered is adding high pitched sounds at certain points in my audio recording. Maybe sounds that are too high for human hearing?

    Would I be able to detect those high pitched "pings" using the audio analyzer?

  • WHAT I'M TRYING TO DO:

    I want to record my voice, and while I'm recording, press number keys on my keyboard at specific times.

    Then I want to play back the audio recording, and have code trigger at the specified times.

    For example, I might record a story that includes me saying: "Then Sally turned the corner and she saw a large bear! It raised up!" At the appropriate time I would press "1" on the keyboard. (This uses Date.now to tell me that "1" was pressed at 6.364 seconds.)

    When someone PLAYS my "story" I will play/stream my audio file and start checking the timestamps. At 6.364 seconds that first timestamp would trigger, and the "1" would tell me to play an animation where the bear raises up.

    CONCERNS

    Some of my stories could last 15 or more minutes and I'm concerned that there could be lag or other issues that make the audio get out of sync with the timestamps.

    Is there a better approach that I should be using?

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post

  • You do not have permission to view this post