Sequencer


    Jan 20 2022 | 4:12 pm
    Hi there! I am trying to do an assignment for my class and I need to be able to use a sequencer to play back audio files. The same sequencer will play for the MIDI notes as well as the audio if that makes sense. Right now, the midi notes are working, but the audio instruments are not. The number box is playing it correctly, but the matrix itself won't trigger the playlist. Can someone help my please?

    • Jan 20 2022 | 5:02 pm
      Use [print] as your main debugging tool. What's coming out of matrixctl, what's coming out of your number and when?...
    • Jan 20 2022 | 6:46 pm
      Hi Jean!
      Only when I press the message box will the number print. And my logic was to use the message box to trigger the corresponding audio to print. Like, 0 1 0 0 0 0 0 0 corresponds to 2, making the snare play, or 1 0 0 0 0 0 0 0, corresponds to 1, making the bass drum play.
    • Jan 21 2022 | 3:24 pm
      Of course, that won't work... Why would the message box output anything? Make sure you learn what a message box is, and what it does. Check out the help file for the Message box. Check with your instructor. It's an extremely basic and useful object in Max. Then, you'll realize that of course your message box won't output anything, and won't "decode" the 0 1 0 0 0 0 0 0 into "2". There might be an object doing it, but for sure not a message box. One way could be to use a [unpack] object.