Forum Rule: Always post complete source code & details to reproduce any issue!
Tab Content
  • jkoffman's Avatar
    03-18-2020, 06:00 PM
    In my attempt to simplify what I'm doing, I haven't fully explained the issue. The better analogy would be that I'm making a phase reverse. So it's two sources, and two destinations. sometimes I want 1-1 and 2-2, and...
    6 replies | 161 view(s)
  • jkoffman's Avatar
    03-18-2020, 05:46 PM
    Interesting. I will do some experiments to see if I am allowed to have two connections that technically conflict, but aren't both active at the same time. That's my plan. I do have a bit extra time now.... ...
    6 replies | 161 view(s)
  • jkoffman's Avatar
    03-18-2020, 03:23 AM
    Hi Andy, thank you for the reply! I understand what you're doing on a basic level, but I'm not that experienced with c++ so I'll need to study it a bit further. In my case, I want to basically be able to select...
    6 replies | 161 view(s)
  • jkoffman's Avatar
    03-18-2020, 12:42 AM
    Hi all, Since my mixer object is a bit stalled for the moment, I'm looking to try out dynamically changeable connections to accomplish some of what I was going for. I know this is possible, I'm just not finding a ton...
    6 replies | 161 view(s)
  • jkoffman's Avatar
    03-16-2020, 10:45 PM
    Hi folks, Well, it's been a couple of days, and I'm still banging my head against the wall. I did a deep dive on the forum archives and did find a few things that helped (ie I can now put sound out the second output...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-14-2020, 03:13 PM
    I have reduced the code complexity to try to deal with the crackling issue. I've basically removed the second channel, and hard coded the amplification level to unity gain. Still the same crackling. I'm guessing it has...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-14-2020, 02:34 PM
    Hi folks, With an overabundance of sudden free time, I'm now working on this again. For those catching up I have started with the generic 4 in, 1 out mixer and tried to add a second channel to it. Here's the my...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 07:48 PM
    Thank you for the feedback. I've redone it, more closely modelled on the library mixer: void AudioMixer4x2::update(void) { audio_block_t *in, *intemp=NULL, *out1=NULL, *out2=NULL; unsigned int channel; int32_t...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 06:51 PM
    Alright, here's what I came up with: void AudioMixer4x2::update(void) { audio_block_t *in, *intemp=NULL, *out1=NULL, *out2=NULL; unsigned int channel; for (channel=0; channel < 4; channel++) { in =...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 04:37 PM
    Ah, so is this why the first part of the if (!out) doesn't need a release(), but the else has a release(in) to free up the block since it uses receiveReadOnly(), correct? In my case, since I'm reading the block and...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 06:55 AM
    Ok. So I guess maybe what I'm misunderstanding is the difference between receiveWritable() and receiveReadOnly(). It seems the basic difference is whether or not we're modifying the incoming data stream. For reference,...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 01:04 AM
    I think that might be what is tripping me up...I'm not as clever as those optimizations! What's confusing me the most at the moment is this: for (channel=0; channel < 4; channel++) { if (!out) { out =...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 12:40 AM
    Ok, so we're on the same page there. But if I called it again would it return the same block? Then I could make a second output channel by basically creating a second copy of the routine and running the routine again...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-07-2020, 12:33 AM
    I see the difference but don't understand why I _can't_ do that. I understand why it wouldn't work, I'm basically reading the same channel over and over (receiveWritable(0)). So this wouldn't work, but would it throw an...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-06-2020, 11:47 PM
    This is way above my head to solve, but could you receive that data and turn it around right back out to codec for output? If that works you at least know that the Teensy is reading the audio data and passing it back...
    3 replies | 135 view(s)
  • jkoffman's Avatar
    03-06-2020, 11:44 PM
    I'd like to try my hand at making a new audio block. I'd like to try to make a mixer object that has two outputs. I know that I could do this using two separate mixers as they currently are. I'd still like to try to see...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-06-2020, 05:10 PM
    jkoffman replied to a thread Teensy USB Name in Audio Projects
    Ah, gotcha. I haven't had much experience with that in the Arduino IDE. Thank you!
    4 replies | 234 view(s)
  • jkoffman's Avatar
    03-05-2020, 04:12 PM
    jkoffman replied to a thread Teensy USB Name in Audio Projects
    Ah interesting, thank you! I will investigate further! Thanks again! Update: In my examples menu I don't have that set that examples, but I did read the version on GitHub. This is entirely my inexperience here,...
    4 replies | 234 view(s)
  • jkoffman's Avatar
    03-04-2020, 07:32 PM
    Is this on your github? I’ll take a look. I am not using T4 at the moment, but once USB audio is done I don’t see a reason not to switch to it. The advantage (as I see it) is that I should be able to get two channels...
    26 replies | 738 view(s)
  • jkoffman's Avatar
    03-04-2020, 07:07 PM
    Ah, I thought there was a larger issue with using multiple interfaces. I didn’t realize it would be possible if I manually defined things. I will look into this, thank you!
    26 replies | 738 view(s)
  • jkoffman's Avatar
    03-04-2020, 06:54 PM
    Hi Frank! Thanks for the quick reply. I do know. I thought I read in the audio library that only one I2S object can be used at a time though. So it I were using one for the audio shields. I would not be able to use...
    26 replies | 738 view(s)
  • jkoffman's Avatar
    03-04-2020, 06:43 PM
    For me itís not a processing issue, itís a connection issue. I am hoping to make an interface that (among a few other functions) would connect to two separate computers for USB audio. My current thought is to use two...
    26 replies | 738 view(s)
  • jkoffman's Avatar
    03-04-2020, 02:34 AM
    I went on a bit of a hunt to try to figure out where the computer interface name that appears when you use USB Audio is defined...and I came up blank. There's no input_USB or output_USB, so I thought it might be in the...
    4 replies | 234 view(s)
  • jkoffman's Avatar
    03-04-2020, 02:22 AM
    Thinking about this further - any reason I couldn't make a custom mixer object of arbitrary size? I had a look at the mixer source code and it seems straightforward. So I wanted to make sure there wasn't some technical...
    20 replies | 641 view(s)
  • jkoffman's Avatar
    03-04-2020, 02:16 AM
    I believe at the moment USB audio isn't implemented. There might be more but that's just the one I've run up against.
    5 replies | 397 view(s)
  • jkoffman's Avatar
    03-04-2020, 02:12 AM
    Curious if you had a plan to do SPDIF in. I could use this as well, but the audio library doesn't natively have an input module for SPDIF. I believe the only native ways to do that connection digitally are I2S and TDM,...
    26 replies | 738 view(s)
  • jkoffman's Avatar
    02-07-2020, 03:58 AM
    I have several of all options, don't worry! I buy extras each order. The only problem is where I keep putting the ones I haven't used yet. Hm...
    124 replies | 4855 view(s)
No More Results
About jkoffman

Basic Information

Statistics


Total Posts
Total Posts
85
Posts Per Day
0.05
Last Post
Dynamic Audio Connections 03-18-2020 06:00 PM
General Information
Last Activity
Today 03:27 AM
Join Date
12-04-2015