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. Thread: WaveplayerEx

    by wcalvert
    Replies
    112
    Views
    5,499

    If you do write a new one, please consider...

    If you do write a new one, please consider musically useful API features like play direction (forward, reverse), auto-looping or one-shot playback, playback start point, playback endpoint, and...
  2. Could you try powering the receiving T4.1 from...

    Could you try powering the receiving T4.1 from its own 5V supply? In other words, only D+, D-, and Gnd should be connected between host and receiver.

    The reason I suggest this is I don't know the...
  3. Replies
    24
    Views
    2,583

    You might take a look here for some inspiration,...

    You might take a look here for some inspiration, not sure if it's tested but on first glance looks okay: https://github.com/MarkzP/AudioEffectDynamics
  4. Could be a power problem, maybe try the delay...

    Could be a power problem, maybe try the delay before usbHost.begin()?
  5. Interesting. My receiver was actually a T3.6...

    Interesting.

    My receiver was actually a T3.6 because that's what I had handy.

    I will try to scrounge up a T4 to use as the receiver, but gotta work now.
  6. Are you sure the USB cable plugged into the...

    Are you sure the USB cable plugged into the client T4.1 is a data+power USB cable? I don't mean the 4 pin host cable, I mean the device cable.

    On 2 different occasions I've had power-only cables...
  7. I'm using platformio, so my setting is...

    I'm using platformio, so my setting is "build_flags = -DUSB_MIDI_SERIAL". I suppose you're using the arduino IDE, so I can't tell you where/what to select there. However, if it's not selected...
  8. Host code: #include #include...

    Host code:


    #include <Arduino.h>
    #include "USBHost_t36.h"

    USBHost usbHost;
    MIDIDevice usbHostMidi(usbHost);
    elapsedMillis wait;
  9. Very difficult to follow your post regarding...

    Very difficult to follow your post regarding who's doing the sending and who's doing the receiving, but it appears you missed usbMIDI.read(); inside the loop() of the code snippet. It may also be...
  10. Replies
    8
    Views
    618

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

    So are you asking how to measure a tiny voltage? Or something else?
  11. 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.
  12. Replies
    8
    Views
    618

    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.
  13. Replies
    8
    Views
    618

    What do you mean by "ride"?

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

    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...
  15. Replies
    5
    Views
    638

    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?
  16. Replies
    24
    Views
    2,421

    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.
  17. Replies
    16
    Views
    6,507

    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...
  18. 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.
  19. 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?...
  20. Replies
    531
    Views
    89,907

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

    It sounds like you're making a Daisy-style board... very intriguing.
  21. Replies
    531
    Views
    89,907

    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...
  22. Replies
    531
    Views
    89,907

    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 :)
  23. Replies
    531
    Views
    89,907

    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...
  24. Replies
    531
    Views
    89,907

    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.
  25. Replies
    531
    Views
    89,907

    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. :)
  26. Replies
    17
    Views
    2,317

    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...
  27. Replies
    1
    Views
    350

    Sounds awesome, great job!

    Sounds awesome, great job!
  28. Replies
    3
    Views
    531

    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...
  29. Aha, thank you Paul.

    Aha, thank you Paul.
  30. 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.
  31. Replies
    531
    Views
    89,907

    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...
  32. Thread: Please help

    by wcalvert
    Replies
    1
    Views
    384

    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.
  33. Replies
    42
    Views
    10,662

    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.
    ...
  34. Replies
    1
    Views
    503

    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...
  35. 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...
  36. Replies
    5
    Views
    642

    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...
  37. Replies
    5
    Views
    1,205

    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...
  38. Replies
    5
    Views
    1,205

    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...
  39. Replies
    2
    Views
    574

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

    Please don't modify safety critical stuff on your car.
  40. Replies
    9
    Views
    1,047

    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...
  41. 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...
  42. 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.
  43. Replies
    1
    Views
    427

    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...
  44. 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...
  45. 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.
  46. 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...
  47. Replies
    9
    Views
    1,047

    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,...
  48. 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.
  49. 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...
  50. Replies
    82
    Views
    21,690

    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.
Results 1 to 50 of 248
Page 1 of 5 1 2 3 4