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 tables for recording

Discussion in 'REAKTOR' started by leo.aldrey, Apr 23, 2007.

Thread Status:
Not open for further replies.
  1. leo.aldrey

    leo.aldrey New Member

    Messages:
    13
    Hi, I'm trying to use an audio table to record and read several audio parts as rows of the matrix.

    I design a "sample pointer" that works as a counter, and moves along the row, at the frequency determined by the sampling rate of the audio card. I used the audio table X-units in "index" mode. Rx and Wx are conected to the counter or "sample pointer". I don´t know why I'm not able to record in this way. In the beat slicer instrument, they use X-units in ms, and create a Time counter to move along the samples. They also use a polyphonic line to read along the audio table. Can I move along Rx with a monophonic line?

    If someone can instruct me about the use of audio tables to record and read, I would really appreciate.


    Thanks a lot

    Leonardo Aldrey
     
  2. sowari

    sowari Moderator Moderator

    Messages:
    27,759
  3. leo.aldrey

    leo.aldrey New Member

    Messages:
    13
    Thanks a lot... I will do that....
     
  4. kid_sputnik

    kid_sputnik NI Product Owner

    Messages:
    3,552
    i wouldnt use the ms mode of the audiotable if you want to do realtime recording. instead, make a sample copunter in core if possible, since you can use integers and easily get the sample rate (you can get the SR in primary using the System Info module, btw).
     
  5. kid_sputnik

    kid_sputnik NI Product Owner

    Messages:
    3,552
    also, with audiotables, the W input must be > 0 for recording to take place. and, finally, for tables > 1 for Y values, make sure that the YO is set to the same as the WY/RY to see the recorded audio.
     
  6. leo.aldrey

    leo.aldrey New Member

    Messages:
    13
    Hi Kid_spuntik... thanks for the help.

    I already have the counter, and it seems to behave correctly, since I have a numeric readout in the panel, and I see it counting properly. I created this counter in an event core cell, using the SR.C bus. I also checked that W=1 when i want to record, and YO=WY=RY. Also the properties of the table are the same as the ones in the live sampler.

    I see that WX and RX are audio inputs in the audio table. Therefore, I don´t know if there are any sincronization aspects, between the changes in my counter and some sampling done internally in the audio table.

    The only difference I see between my counter and the livesampler is that the event generator that I use for the counter is the SR.C in an event core cell. Is there something wrong with this technique?

    Thanks a lot for your help....
     
  7. leo.aldrey

    leo.aldrey New Member

    Messages:
    13
    The problem is in the pointer that I use. If I replace my counters (that are built in an audio core cell) for some counter in the primary level, the system works. The problem is that all the logic of my program relies on these counters (one for writing and one for reading) so I'm interested in finding a solution that is not to replace the hole logic designed before. I used numeric readouts to check in the panel that the counters are working properly, and they seem to be exactly the same as the ones I built in the primary level. If anyone knows any undesire effect of the audio tables or another thing that could be messing my system I would appreciate...

    Thanks....

    Leo
     
  8. kid_sputnik

    kid_sputnik NI Product Owner

    Messages:
    3,552
    SR.C does NOT work in an event corecell!
     
  9. kid_sputnik

    kid_sputnik NI Product Owner

    Messages:
    3,552
    what you CAN do, if you want the counter to have an event-based clock, is use either the system info module, which has the current control rate, or use an AtoE perm to make your own control rate. for the system info CR out, remember that it sends out the control rate value, AT THE control rate! so, what i do is make a CR.R input to the cell with that value, and a CR.R input with the value stepfiltered.
     
Thread Status:
Not open for further replies.