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 8786887
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T21:44:54+00:00 2026-06-13T21:44:54+00:00

I have a sound generation program that currently has an enumerated type filled with

  • 0

I have a sound generation program that currently has an enumerated type filled with pitches, starting at A0, a pitch of 27.5 Hz. Every time I loop throw the chromatic scale of all of the included pitches, up to G#5, the sound clicks in between the shifts, no matter what time the pitch lasts for. The code I’m using as a model is https://stackoverflow.com/a/2065693/1777648, and the sound wave byte array is generated in the same way, but I don’t know how to fix the clicking. I have a feeling it might be because the end of one pitch wave doesn’t connect to the beginning of the next.

  • 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-13T21:44:55+00:00Added an answer on June 13, 2026 at 9:44 pm

    your assumption is correct. if you want no clicks, you have to make sure that the sine wave was generated so that only complete periods are written inside the byte array. otherwise you will cut the wave, which will lead to clicking noises.

    for the implementation: you could have a variable “nextPitch”, which will become the current pitch as soon as a full period was written.

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

Sidebar

Related Questions

I have app in which i have recorded sound files i want that i
For the needs of my game I need to have 2D sound. That means,
I have a main swf which has sound on/off buttons. It has many SWF's
I have an application that starts playing a sound when user touches the uiview
I have a problem with playing video in mediaplayer. I have a sound but
Its a complicated senario for me. I have a sound management singleton with an
Right now I have a single sound playing from one action, button press, accelerometer,
Im a newb. I have a audio sound playing as soon as the new
I have to make below NSDictionary {aps:{sound:default, alert:{body:From Franklin Av To Grand Army Plaza03:56:30
I have an array of raw sound data samples, and I'm trying to make

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.