1. Check out our companion app, Forums for Android! Download from Google Play

play musical notes, how?

Discussion in 'Application Development' started by jhoward88, Oct 17, 2010.

  1. jhoward88

    jhoward88 New Member
    Thread Starter
    5

    Oct 17, 2010
    1
    0
    5
    I'm trying to find out how to play musical sounds by specifying the pitch and other qualities. This seems to be what a guitar app or keyboard app does, but what part of the sdk is being used? I see ways of playing an ogg or mp3, but this isn't what is needed for musical app.
     

    Advertisement

  2. Sam Voss

    Sam Voss Well-Known Member
    43

    Jun 25, 2010
    367
    44
    43
    Programmer, in school
    Wisconsin
    I'm not entirely sure, but on apps such as the piano, it seems easy enough that they probably just got the sound the first key makes, and onClick, just plays that sound, so for a custom one, I'm not entirely sure what you'd have to do, sorry. The only thing i can think of is doing just that, record the sound you want for each button. This is hard to help with if we're not sure what you're doing exactly
     

Share This Page

Loading...