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

Search:

Type: Posts; User: wcalvert

Page 1 of 5 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    8
    Views
    141

    So are you asking how to measure a tiny voltage?...

    So are you asking how to measure a tiny voltage? Or something else?
  2. I believe you missed myusb.Task() inside your...

    I believe you missed myusb.Task() inside your loop() in the "host" code. Also if you could wrap your source code in code tags next time, it would be a lot easier to read.
  3. Replies
    8
    Views
    141

    Weird, yeah don't add a DC offset to any speaker....

    Weird, yeah don't add a DC offset to any speaker. That's a bad idea.
  4. Replies
    8
    Views
    141

    What do you mean by "ride"?

    What do you mean by "ride"?
  5. Replies
    5
    Views
    219

    If you share your code on github or something, it...

    If you share your code on github or something, it would be a lot easier to offer suggestions. Although, the Linnstrument is really expensive so it might be hard to find people who actually have one...
  6. Replies
    5
    Views
    219

    What a cool idea, great job. Never seen the...

    What a cool idea, great job. Never seen the Linnstrument until now.

    When you say you're looking for help/collaborators, what kind of help do you need?
  7. Replies
    12
    Views
    736

    That was for my envelope code, which has nothing...

    That was for my envelope code, which has nothing to do with john-mike's code.
  8. Replies
    16
    Views
    5,326

    Apologies for bumping this old thread, but here...

    Apologies for bumping this old thread, but here is another granular pitch shifter implementation: https://github.com/pichenettes/eurorack/blob/master/clouds/dsp/fx/pitch_shifter.h

    It blends or...
  9. Thanks a ton, I will give this chip a try :) It's...

    Thanks a ton, I will give this chip a try :) It's the cheapest way I've seen thus far to get this many channels.
  10. Hey there, sorry to revive your old thread, I was...

    Hey there, sorry to revive your old thread, I was just curious about your DAC setup. Are you using the PCM1681, did it work straight away in I2S mode? Could you share any more code/info about it?...
  11. Replies
    471
    Views
    50,643

    It sounds like you're making a Daisy-style...

    It sounds like you're making a Daisy-style board... very intriguing.
  12. Replies
    471
    Views
    50,643

    The T4 MM would go into my custom hardware. I...

    The T4 MM would go into my custom hardware. I want to be able to position the USB host and device connectors and uSD connector wherever I want, and use whichever connector style I want. That can be...
  13. Replies
    471
    Views
    50,643

    True, I had forgotten about the supply strain on...

    True, I had forgotten about the supply strain on the bootloader chips. I suppose there's still hope :)
  14. Replies
    471
    Views
    50,643

    I didn't anticipate the T4 MicroMod to actually...

    I didn't anticipate the T4 MicroMod to actually be manufactured by sparkfun. The radio silence since the git commits and blog posts in October could indicate one or both parties lost interest, or...
  15. Replies
    471
    Views
    50,643

    Do you anticipate certain issues due to the...

    Do you anticipate certain issues due to the density? My eyes are still good enough to solder it.
  16. Replies
    471
    Views
    50,643

    I really like the idea of a T4 MicroMod and hope...

    I really like the idea of a T4 MicroMod and hope that it sees the light of day. :)
  17. Replies
    17
    Views
    1,548

    Here's how I adapted the Mutable Instruments...

    Here's how I adapted the Mutable Instruments envelopes to work with the Audio library: https://gist.github.com/wcalvert/2a5b5f1c9d0d4066cab27fa6ac526a60

    I started with Pichinette's python code to...
  18. Replies
    1
    Views
    172

    Sounds awesome, great job!

    Sounds awesome, great job!
  19. Replies
    3
    Views
    208

    The Audio library is heavily dependent upon the...

    The Audio library is heavily dependent upon the specific microcontrollers that are used in the different 3.x and 4.x boards, and doesn't support any 8 bit chips.

    The Mozzi project does support 8...
  20. Aha, thank you Paul.

    Aha, thank you Paul.
  21. Could anyone explain the 0 ohm jumper and the...

    Could anyone explain the 0 ohm jumper and the address jumpers on the updated 4.x CS42448 PCB? Without a schematic I'm not sure of their intended usage.
  22. Replies
    471
    Views
    50,643

    The first requirement is that an RTOS would need...

    The first requirement is that an RTOS would need to be ported/supported fort the 1170 and (possibly?) integrated into Paul's Arduino implementation. Then you would be able to create tasks and assign...
  23. Thread: Please help

    by wcalvert
    Replies
    1
    Views
    251

    I think your question is too vague for anyone to...

    I think your question is too vague for anyone to really help you.

    If you let us know what device you want to connect to the T4, there might already be a library out there that can help you.
  24. Replies
    42
    Views
    5,927

    Regarding the failure to upload to T4, I just...

    Regarding the failure to upload to T4, I just wanted to share the following.

    It is not a bug report and I'm not expecting anyone to do anything about it. It should be treated as anecdotal only.
    ...
  25. Replies
    1
    Views
    354

    You can share the same I2C bus as long as the...

    You can share the same I2C bus as long as the devices have different addresses.

    Mouse example code here: https://www.pjrc.com/teensy/td_mouse.html

    If you don't have the datasheets for the I2C...
  26. My guess is you're reading/writing out of bounds...

    My guess is you're reading/writing out of bounds on one of the several arrays that you've got. One recommendation is to #define the array length so you can be sure any code which accesses the array...
  27. Replies
    5
    Views
    405

    When using the analog pins with the Audio...

    When using the analog pins with the Audio library, the Audio library code pretty much takes full control of the analog hardware, so calling analogReference() probably does not do anything. Your code...
  28. DAC8565 support in the Audio library would be...

    DAC8565 support in the Audio library would be cool. I suspect the reason the original author didn't go that route is latency. Each block in your audio chain will add about 3 milliseconds to the...
  29. O&C runs its own special firmware that doesn't...

    O&C runs its own special firmware that doesn't use the Audio library, so it has no USB to Audio abilities .. unless there is a firmware fork that I don't know about.

    Anyway, let's pretend there is...
  30. Replies
    2
    Views
    400

    Please don't modify safety critical stuff on your...

    Please don't modify safety critical stuff on your car.
  31. Replies
    9
    Views
    701

    Right, it's not the case. The '&' means "address...

    Right, it's not the case. The '&' means "address of". So for the following line of code:

    AudioPlaySdWav *players[NUM_PLAYERS] = {&playWav1, &playWav2, &playWav3, &playWav4, &playWav5};

    In...
  32. Hmm, so is the crossfading started by a user...

    Hmm, so is the crossfading started by a user pressing a button or something? What should happen if the user presses the button too rapidly for the crossfading to complete on whatever is currently...
  33. I'm sorry, I think I should have read your code...

    I'm sorry, I think I should have read your code more closely. I was misunderstanding how you were intending to use your class instances. I think your approach is fine for multiple instances.
  34. Replies
    1
    Views
    302

    Every time you call phase(), the phase...

    Every time you call phase(), the phase accumulator gets reset. See here, line 53: https://github.com/PaulStoffregen/Audio/blob/master/synth_sine.h

    My best guess without testing your code is: your...
  35. Basically you would need to have different class...

    Basically you would need to have different class definitions, how else would your class be able to work with other patchCords, mixers, and filters? If you use pointers for members, you can reuse the...
  36. If you only need one instance of...

    If you only need one instance of AudioFilteredMixer per project, that approach will work fine. If you need multiple instances, you'll probably want to switch over to using pointers for your members.
  37. IMHO you need to first identify exactly what your...

    IMHO you need to first identify exactly what your goals are, and I can see two possibilities: 1: you are trying to make a wrapper class to encapsulate existing functionality of the mixer and filter...
  38. Replies
    9
    Views
    701

    You can do something like this if you want the...

    You can do something like this if you want the logic to be a little more compact and easier to maintain.

    #define NUM_PLAYERS 5
    PlaySdWav *players[NUM_PLAYERS] = { &playWav1, &playWav2, &playWav3,...
  39. It might compile and work correctly, but it's...

    It might compile and work correctly, but it's going to make a very poor piano due to lack of multiple voices and/or oscillators, no envelope generator, filter, etc.
  40. Almost none of the Audio library will compile for...

    Almost none of the Audio library will compile for the LC. It would be wiser to choose a 3.x or 4.0 if you actually want to synthesize sounds. You'll need to connect analog output from a DAC or codec...
  41. Replies
    82
    Views
    12,973

    22kHz sample rate means the maximum frequency...

    22kHz sample rate means the maximum frequency that can be reconstructed is 11kHz. Google for Nyquist sampling theorem or Nyquist rate for more info.
  42. Replies
    9
    Views
    701

    If you'd like to have multiple simultaneous wavs...

    If you'd like to have multiple simultaneous wavs playing, you'll need multiple playSdWav objects. Then each time the button is pressed, you'll loop through all of your playSdWav objects, and use the...
  43. Replies
    2
    Views
    380

    You can use TDM to get many channels of input and...

    You can use TDM to get many channels of input and output. Here is Paul's original blog post about it:...
  44. Replies
    4
    Views
    407

    Each audio object by default uses the processor's...

    Each audio object by default uses the processor's internal RAM. The audio objects have to be specially hand-coded to take advantage of external SRAM. The large external SRAM would allow for longer...
  45. Replies
    4
    Views
    407

    From the notes in the GUI tool: "Memory for...

    From the notes in the GUI tool:

    "Memory for the delayed signal is take from the memory pool allocated by AudioMemory(). Each block allows about 2.9 milliseconds of delay, so AudioMemory should be...
  46. Replies
    3
    Views
    369

    Your synth has one voice, and you are checking if...

    Your synth has one voice, and you are checking if the envelope is active before letting another note play with this bit of code:

    if (envelope1.isActive() == false)

    If you remove the condition...
  47. Here is another thread on the front page which...

    Here is another thread on the front page which answers a lot of what you're asking: https://forum.pjrc.com/threads/59212-Audio-Router-Module
  48. Replies
    3
    Views
    369

    Well, I don't know what you mean by latency...

    Well, I don't know what you mean by latency problem, but I think you might have a logic problem in your code.


    ...
    mixer1.gain(2, (float)knob3/1024.);
    ...
    float sustain = (float(knob3)/1024.);...
  49. Replies
    28
    Views
    1,867

    It's more memory efficient to receive the first...

    It's more memory efficient to receive the first input block as writable so you can reuse it as the output block. That way you don't need to allocate an additional output block.
  50. Replies
    28
    Views
    1,867

    The first time through the loop iteration, the...

    The first time through the loop iteration, the output block hasn't been allocated yet. It checks for the allocation of the output block with the (!out) condition, allocates the output block using...
Results 1 to 50 of 239
Page 1 of 5 1 2 3 4