Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7775633
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T17:40:57+00:00 2026-06-01T17:40:57+00:00

When synthesising sound using the SAMPLE_DATA event of the Sound class, the Flash documentation

  • 0

When synthesising sound using the SAMPLE_DATA event of the Sound class, the Flash documentation recommends writing out as many samples as possoible up to 8192. On my system the sound cuts out unless I write at least 4192 samples each event. That’s a full tenth of a second, which is going to be user-noticeable.

I may have the option of buffering things up ahead of time, but this is a major annoyance for my application. Is there any way of getting lower latency audio output?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T17:40:58+00:00Added an answer on June 1, 2026 at 5:40 pm

    Unfortunately, SAMPLE_DATA is the main means of synthesizing audio, and it has varying performance and latency between platforms. For the smallest latency, the best you can do is provide as few samples as possible (2048) in the SampleDataEvent.

    There is also Sound.loadPCMFromByteArray, which was added in Flash Player 11 and allows you to load samples directly into a normal Sound object. Although this wouldn’t be helpful for real-time, dynamic audio synthesis, it allows you to pre-generate the sound and play it back whenever you need it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I created a pong clone and I would like to add some sound effects
I've a NSMutableArray in AppDelegate I'm using property (nonatomic,retain) and synthesizing it again in
I've seen many examples of Python decorators that are: function style decorators (wrapping a
I'm looking for the most realistic way of playing sound of a rolling ball.
I have tried using the obvious method as outlined in the following example but
here is an absolute brain destroyer: NOTE: I am using XCode 4.2 with iOS
I was using GetDIBits to get bitmap data from a screen compatible device context
Are there any open source, open content projects that use recorded speech data to
This is a better understanding of a question I had earlier. I have the
Suppose I have this code... foo.h @interface Foo : NSObject { NSString *aString; //

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.