visualizing sound....?

akimannakimann Member Posts: 62
edited November -1 in Working with GS (Mac)
Hi,

i would like to show a soundwave (sorry for my bad english) on the screen. While playing the soundfile, an indicator should move softly from left to right to show on which point from the soundfile the user is.
I have no idea how to make this. Is there anybody who can help?

Comments

  • mynameisacemynameisace Hull, UKMember Posts: 2,484
    You would need to graphically analyse the wave form and then work out the math for where the bar would be. Not such an easy task but doable for sure.

    Ace
  • simo103simo103 Member, PRO Posts: 1,331
    could you open the file in garageband and then grab screen shots of the wave form. Clean up those images and put in GS. Then create a playhead like image line and move it (or the waveforms under it)?

    I think garageband would give you an idea of teh timing needed to move the images?
  • xyloFUNxyloFUN Member Posts: 1,593
    simo103 said:
    could you open the file in garageband and then grab screen shots of the wave form. Clean up those images and put in GS ...

    While erecting an potemkin village can be fun for a while, I don't think Apple would approve artwork in a game that comes from one of their own apps? NOT!
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    To avoid the hassle of possible offending Apple for using their soundwave graphic, maybe use Audacity since it's open source? And you can just have the playhead running left to right on interpolate for however long the audio file is.
  • simo103simo103 Member, PRO Posts: 1,331
    xyloFUN said:I don't think Apple would approve artwork in a game that comes from one of their own apps? NOT!

    Interesting thought ... though garageband is for creating things to be published, like the music and podcasts etc so I would be surprised if they had an issue of the wave form image being used. I was suggesting that the rest of the screen be edited out so it would likely be almost impossible to determine the source but if so there are probably some other programs that would show the waveform and thus the same result could be achieved.
  • heathccheathcc Member Posts: 113
    Apple doesn't have ownership of the waveform. Just like Microsoft doesn't own the graphs in Excel or Adobe the visual representation of something in Illustrator.

    But I wouldn't do this because it sounds really hard. Unless it really needs to be THE waveform I'd make a fake one to play visually for the same length of time as the sound clip.
  • xyloFUNxyloFUN Member Posts: 1,593
    heathcc said:
    Apple doesn't have ownership of the waveform.

    We are not talking "waveform" but "screen shot". As in use a garageband screenshot for an commercial app.
  • simo103simo103 Member, PRO Posts: 1,331
    yeah .. I probably wasn't clear enough in my original suggestion .. what I meant was to take a screen shot of the wave form in Garageband and then use an image editor and crop everything but the waveform (ie: no garageband stuff just the wave). But just in case Audacity or whatever.
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    Actually, if you did crop it, you could probably use it since anything you create in Garageband is yours, and that would be a waveform of your audio. Where I think Apple has the problem is, if you included any of the GUI of Garageband in the screenshot.

    EDIT - Yay me for repeating what has already been said!
Sign In or Register to comment.