Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: alrj

Search: Search took 0.00 seconds.

  1. Replies
    64
    Views
    4,154

    I don't totally follow what you are saying I am...

    I don't totally follow what you are saying I am afraid Frank!
  2. Replies
    64
    Views
    4,154

    I am happy either way! If I can slave my teensy...

    I am happy either way! If I can slave my teensy to my RME at 48k then I will be on top of the world
  3. Replies
    64
    Views
    4,154

    Fair enough! that doesn't sound like a setup I am...

    Fair enough! that doesn't sound like a setup I am familiar with at all.
    From what Frank was saying it sounds like it would be fairly easy to sync a Teensy to that because you can just use spdif in...
  4. Replies
    64
    Views
    4,154

    Thats the one, BNC word clock seemed like a good...

    Thats the one, BNC word clock seemed like a good idea, It is a common way to sync clocks among interfaces in a studio situation.

    Unless I have got behind with the times, most studio audio...
  5. Replies
    64
    Views
    4,154

    Thanks Frank! I think that is something for...

    Thanks Frank! I think that is something for another day, or perhaps something you might be up for Deleted User. I am going to push the rest of this project forwards a bit!
  6. Replies
    64
    Views
    4,154

    If you look at the images I have posted above...

    If you look at the images I have posted above from my RME interface you can see that it is locking to the clock in the ADAT stream. it even says "Lock" or "Sync" as part of the status.

    We want to...
  7. Replies
    64
    Views
    4,154

    Yup I realised that afterwards and ran the test...

    Yup I realised that afterwards and ran the test again without the sync to the ADAT on, as expected it didn't phase cancel but it really isn't far off.

    Do you know how we might send mclk to the...
  8. Replies
    64
    Views
    4,154

    Agreed that would be ideal

    Agreed that would be ideal
  9. Replies
    64
    Views
    4,154

    There is jitter for sure, you can hear a slight...

    There is jitter for sure, you can hear a slight loss of definition on the top end. I am sure this can be cured with a word clock, Deleted User do you know how to implement this?

    Thanks again for...
  10. Replies
    64
    Views
    4,154

    Sorted it! I added... } else if (rate...

    Sorted it!

    I added...


    } else if (rate == 48000) {
    b2m = B2M_48000;

    to play_sd_wav.cpp
  11. Replies
    64
    Views
    4,154

    totally agree Deleted User that is why I said "it...

    totally agree Deleted User that is why I said "it would be really great to get the Teensy to run as a word clock slave" then my RME can be the master and send a word clock signal to the Teensy for...
  12. Replies
    64
    Views
    4,154

    Is there a way to set the sample rate per sketch?...

    Is there a way to set the sample rate per sketch? rather than edit AudioStream.h
  13. Replies
    64
    Views
    4,154

    int fs =2 * AUDIO_SAMPLE_RATE_EXACT; works!...

    int fs =2 * AUDIO_SAMPLE_RATE_EXACT; works! ideal.
    #define AUDIO_SAMPLE_RATE_EXACT 48000.0f in AudioStream.h also works!

    20167

    What a result : )
  14. Replies
    64
    Views
    4,154

    Thanks, AudioOutputADAT::setI2SFreq(88200); is...

    Thanks, AudioOutputADAT::setI2SFreq(88200); is actually meant to be commented out in the code above, I have updated it so that it is. (it works either way)


    int fs = 88200; // Set this to double...
  15. Replies
    64
    Views
    4,154

    It's only working at 44.1k at the moment! I am...

    It's only working at 44.1k at the moment! I am yet to get 48k working, I would really like to. Maybe you can help? Here is the code working at 44.1k...



    //NOTE: THIS CODE WILL NO LONGER WORK ON...
  16. Replies
    64
    Views
    4,154

    Hi Paul, I would be up for that. Probably a link...

    Hi Paul, I would be up for that. Probably a link to my forum profile here would be best if people need help with it. Before we do that though lets see if I can fix the code so that it works for T3...
  17. Replies
    64
    Views
    4,154

    Will this not break the code for Teensy 3.X...

    Will this not break the code for Teensy 3.X people? I removed "void AudioOutputADAT::setI2SFreq(int freq)" from output_adat.cpp as it was stopping the code from compiling (I should have fixed it...
  18. Replies
    64
    Views
    4,154

    what is the purpose of I2S1_TCR4 and I2S1_RCR4 ?...

    what is the purpose of I2S1_TCR4 and I2S1_RCR4 ? If I know that I can probably work out if they should be equal to I2S_TCR4_FRSZ(3) or I2S_TCR4_FRSZ(7)
  19. Replies
    64
    Views
    4,154

    I am literally bouncing off the walls right now! ...

    I am literally bouncing off the walls right now!

    You are welcome. I cant wait to put it to use. having this kind of quality output on such a small platform is a massive game changer for live...
  20. Replies
    64
    Views
    4,154

    That has fixed that problem completely! now...

    That has fixed that problem completely! now working without any modification to startup.c

    what should I do about the code below?


    // configure transmitter
    I2S1_TMR = 0;
    I2S1_TCR1 =...
  21. Replies
    64
    Views
    4,154

    Thanks so much for the help with this gents. I...

    Thanks so much for the help with this gents. I genuinely can't believe it's working!

    two questions...

    how can I get it working without the modification to startup.c

    and also in this code.......
  22. Replies
    64
    Views
    4,154

    Ohhhhhhhhh yeahhhhhhhhhhhhhh itt worksssssssss...

    Ohhhhhhhhh yeahhhhhhhhhhhhhh itt worksssssssss nooooo wayyy ahaaaaa
  23. Replies
    64
    Views
    4,154

    I have just spotted this post! Ta Frank. I will...

    I have just spotted this post! Ta Frank. I will try this now and see if it is the missing bit of the puzzle..
  24. Replies
    64
    Views
    4,154

    So close!! It actually sounds a lot more...

    So close!! It actually sounds a lot more distorted in real life than it does on this video...

    https://photos.app.goo.gl/Lsd2ANZD1W6X3Wcr6

    The ADAT link on my RME keeps flashing between lock and...
  25. Replies
    64
    Views
    4,154

    with the ADAT_DrumSamplePlayer I am now getting 5...

    with the ADAT_DrumSamplePlayer I am now getting 5 channels of very distorted audio. I should be getting 7 but its a result for sure!

    In the orig code you just highlighted to me it says:
    ...
  26. Replies
    64
    Views
    4,154

    Oh my days.. thanks for that vjmuzik. I now have...

    Oh my days.. thanks for that vjmuzik. I now have something that resembles audio! wow. it is still very roboty though. I must have copied across some other mistakes as well : /

    is there anything...
  27. Replies
    64
    Views
    4,154

    Sound advice I have deffo put enough time into it...

    Sound advice I have deffo put enough time into it for one day. Learnt a lot though!
  28. Replies
    64
    Views
    4,154

    Thanks Frank! I have added the line as suggested...

    Thanks Frank! I have added the line as suggested and I now get a texture/crackle less like noise and more like its trying to be a sound. Here is the code as it is as the moment:


    /* ADAT for...
  29. Replies
    64
    Views
    4,154

    Ta for the reply, I just had a look in i2s output...

    Ta for the reply, I just had a look in i2s output as suggested and also output_spdif but I cant see the point where the cache-handling is happening. Would you mind showing me where this is happening...
  30. Replies
    64
    Views
    4,154

    The bit of code I needed was actually in the orig...

    The bit of code I needed was actually in the orig output_adat.cpp..

    I2S1_TCR4 = I2S_TCR4_FRSZ(7) should set I2S1_TCR4 to 8 words per frame. Sadly I still get just the noise on the first two...
  31. Replies
    64
    Views
    4,154

    ADAT white noise on Teensy 4.0

    Hello all..

    I have realised that the spdif out works with T4 so I have been comparing output_spdif.cpp to output_adat.cpp and making changes trying to get it working. I have persuaded it to...
Results 1 to 31 of 31