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, embed multiple samples?

Discussion in 'Building With Reaktor' started by Skeedadle, Jan 3, 2014.

  1. Skeedadle

    Skeedadle New Member

    Messages:
    15
    I've created a whole bunch of mathematically generated single cycle waveforms and I want to embed them in an audio table so I can cycle through them, but just not sure how to do it.
    Any help would be much appreciated, thanks.
     
  2. magneson

    magneson Forum Member

    Messages:
    333
    There is as usual a few different ways to approach this. I'm not aware of a straightforward procedure for imorting multiple files to an audio table so a couple of suggestions from the top of my head would be:

    1. Single row offset (easy import, a bit more hassle with playback). If you know the exact length of your waveforms in samples, you can put them after eachother in a .wav and import them that way. Then you will have to determine which one to play by setting the start and end of the waveform in the playback clock/counter.

    2. One waveform per row (more hassle with importing, but easier to adjust playback clock/counter). This way, you use two audio tables. One source, one target. Load your sample in the source, then record it to the target. For the next sample, add one to the WY port. Repeat for each waveform. Then you can select the waveform by changing rows (you will still have to set playback length by the playback clock/counter, but all should then start at 0 (or was it 1?)).
     
  3. Skeedadle

    Skeedadle New Member

    Messages:
    15
    Thanks magneson
     
  4. Michael O'Hagan

    Michael O'Hagan NI Product Owner

    Messages:
    1,163
  5. Skeedadle

    Skeedadle New Member

    Messages:
    15
    Thanks Michael, just what I was looking for, I've already created my waveforms just wasn't sure how to embed them in a table, the 'wav osc' ensamble you linked is just what I was looking for. Thank you for saving me a world of pain.
    Your synth looks like a real sound designers dream.
     
  6. gentleclockdivider

    gentleclockdivider NI Product Owner

    Messages:
    744
    I have the same problem .
    I creat a long audiofile of 5120 samples long in an external editor ( consist of 10 * 512 samples )
    When loading into an audiotable ...I want to set the legth to 512 ..assuming I can sweep trough ...no dice , the portion is trimmed of
    Setting length to 5120 gives me the long table ...thus al 10 waveforms ..also not what I want
    So I don't know of a convenient way to create a long audiofile in an external editor , importing it in the audiotable and making divisions ( division legth = sample lenght of each sample ).
     
  7. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
  8. Jordan Turner

    Jordan Turner Active Member

    Messages:
    594
    Is it possible to keep wavetables from aliasing?
     
  9. salamanderanagram

    salamanderanagram NI Product Owner

    Messages:
    3,454
    i believe so, if you use a windowed sinc filter, and the original content is bandlimited in the first place.

    i never bothered to check it out but the process is outlined in the very useful digital sound generation:

    http://courses.cs.washington.edu/courses/cse490s/11au/Readings/Digital_Sound_Generation_1.pdf

    starting on page 9, section 1.4

    i believe i have an article on creating generic sinc filters up on the nireaktor.com site, if you search for the series on oversampling. applying it properly to a stored set of samples would take some work and is something i haven't tried though.

    if you wanted it to be an audio table, i guess the 'easiest' way would be to set the polyphony to the number of taps in the filter and have each voice process one data point.
     
    Last edited: Dec 18, 2014
  10. pentrite0

    pentrite0 NI Product Owner

    Messages:
    83
    • Like Like x 1
  11. dcoffin

    dcoffin NI Product Owner

    Messages:
    1,235
    Since these UL links are not working any more is there a way in general to find what's referred to with all such out-dated links? And in this case, Michael, can you update or provide the names for searching? Many thanks!
     
  12. Michael O'Hagan

    Michael O'Hagan NI Product Owner

    Messages:
    1,163
  13. dcoffin

    dcoffin NI Product Owner

    Messages:
    1,235
    Excellent, thanks; loving Hyro., btw:) downloaded everything from your search page.
     
  14. Michael O'Hagan

    Michael O'Hagan NI Product Owner

    Messages:
    1,163