Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

How can I make two melodies run together in Qbasic 7.1?

1. How can I get two melodies to run together at the same time. i.e. bass and melody.



AND



2. I can make a line of words appear with each line of music, but how can i make each word light up as the note that goes with that word is played?

Thanks.


Comments

  • I`m not sure how to answer your first question but, if you want to highlight words try this:



    text$(1) = `This `

    text$(2) = `is `

    text$(3) = `a `

    text$(4) = `sentence.`

    highlight = 1 `which word to highlight

    locate row,column `where you want to print

    for x = 1 to 4

    color 7 `white

    if x = highlight then color 14 `yellow

    print text$(x);

    next x

    print



    does this help?




  • : 1. How can I get two melodies to run together at the same time. i.e. bass and melody.

    :

    : AND

    :

    : 2. I can make a line of words appear with each line of music, but how can i make each word light up as the note that goes with that word is played?

    : Thanks.

    :



    Sorry, but the PC (CP) speaker does only have one channel... Try this:

    DO

    SOUND 1000, .1

    SOUND 2000, .1

    LOOP UNTIL YOURHAPPY% = NOT 0

    I don't know any other thing... Try using SB!


Sign In or Register to comment.