Announcement

Collapse
No announcement yet.

Looping a sound byte?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Looping a sound byte?

    I have a sound byte that lasts for some change over 13 seconds and I want to keep looping it. Not that it matters but it's crickets. I grew up on a farm in Kansas and I find the sound very relaxing.

    Anyway, I have tried MCISENDSTRING in all kinds of ways but there's always a short delay, snick, tick or thud between the time one loop ends and the next one begins.

    Any thoughts on how to make the transition smooth and free of defects?
    There are no atheists in a fox hole or the morning of a math test.
    If my flag offends you, I'll help you pack.

  • #2
    You can use an audio editor and make sure that the waveform start and stop at 0/no noise, with a gentle enough fade-in & fade-out.
    The free Audacity can surely do the job.

    Bye!
    -- The universe tends toward maximum irony. Don't push it.

    File Extension Seeker - Metasearch engine for file extensions / file types
    Online TrID file identifier | TrIDLib - Identify thousands of file formats

    Comment


    • #3
      Goldwave is also a nice sound editor. Not free, but you can try it for free.
      The boy just ain't right.

      Comment


      • #4
        Mel,
        Doesn't the PLAYSOUND api do that?
        http://msdn2.microsoft.com/en-us/lib...79(VS.85).aspx

        Set the SND_LOOP flag and the same .wav file will repeat.

        Paul.

        Comment


        • #5
          Originally posted by Paul Dixon View Post
          ...Doesn't the PLAYSOUND api do that...
          Weeeelllllll, I've never used playsound. I'll let'cha know what happens.

          Added: Come to find out, I have played with it, but didn't remember when I typed the above words. Ooops!!
          There are no atheists in a fox hole or the morning of a math test.
          If my flag offends you, I'll help you pack.

          Comment

          Working...
          X