1. IMPORTANT:
    We launched a new online community and this space is now closed. This community will be available as a read-only resources until further notice.
    JOIN US HERE

Audio Table

Discussion in 'REAKTOR' started by rossthered, Mar 14, 2007.

Thread Status:
Not open for further replies.
  1. rossthered

    rossthered New Member

    Messages:
    17
    Dear All,

    I want to create a synth where it is possible to draw a wave shape and have it played by a MIDI trigger.

    I thought the Audio Table may be able to help me do this?

    If yes, how can I go about this?

    Are there any examples?

    Thanks.
     
  2. Dovdimus Prime

    Dovdimus Prime NI Product Owner

    Messages:
    126
    Here is a very simple solution. I have gone into the audio table's properties and given it 100 for both X and Y, then drawn a waveform.

    I have used a ramp oscillator because I know you're supposed to. I don't know why you don't use a sawtooth for this purpose (it certainly works). I also don't know why the ramp oscillator doesn't have a trigger input. I guess you have to control the volume using an envelope.
     

    Attached Files:

  3. rossthered

    rossthered New Member

    Messages:
    17
    Hi,

    I have the above set up.

    I would love to know how to control it so that if I draw in a sine wave then it gives me a similar output as a sine wave.
     
  4. tommitytom

    tommitytom Forum Member

    Messages:
    62
    The ramp oscillator kind of does have a trigger input - the Snc input resets the oscillator when it receives a value > 0. This can't be done with a normal Sawtooth oscillator.
    You can do this with the above setup - make sure the range of the Audio Table is set to go from -1 to 1, draw waveform, then play a note on your keyboard.
     
  5. rossthered

    rossthered New Member

    Messages:
    17
    The Amplitude seems to effect the read position on the x-axis - this seems to jump around - is there a way of controlling this so that it goes from 0 to 1 and then 0 to 1 looping?
     
  6. tommitytom

    tommitytom Forum Member

    Messages:
    62
    Remember the audio table has 100 values on the x axis in the above example, and the 100 going in to the amplitude of the ramp oscillator means that it will go from 0..100 and loop. Also, what may look like the read header moving all over the place - it is moving from left to right, it's just that it's moving so fast you don't see it move properly!
     
  7. CList

    CList Moderator

    Messages:
    3,299
    The above structure will do that, but there are two problems;

    1. Your sine wave will be quantized into 100 steps (or however many steps the audio table has) - this tends to make all waveforms that you draw sound "decimated" - which is the typical sound of wavetable synths like the waldorf Microwave.

    2. It's very hard to draw a sine wave that's truly a sine wave. If you draw something just a little bit off, you'll get highfrequency overtones.

    Make sure your audio table is set to "interpolate X" in the first page of properties - this will help with problem #1.

    - CList
     
  8. kid_sputnik

    kid_sputnik NI Product Owner

    Messages:
    3,552
    you use a ramp osc over a sawtooth because an audiotable can be indexed in 0...1 mode, and a ramp sends out a 0..1 ramp, whereas a sawtooth sends out a -1...1 ramp, so you have to do some work to turn in unipolar.
     
  9. ZooTooK

    ZooTooK NI Product Owner

    Messages:
    1,751
    There are quit few ensembles in the user library doing exactly this... can't remember any names.... but do serach typing "draw wave" in the search box. At least a few fits the bill... Have a see how they've done it....
     
  10. rossthered

    rossthered New Member

    Messages:
    17
    Thanks everyone! :)
     
Thread Status:
Not open for further replies.