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

Search:

Type: Posts; User: neurofun

Page 1 of 4 1 2 3 4

Search: Search took 0.00 seconds.

  1. Replies
    10
    Views
    84

    That J8 comment is irrelevant in your case...

    That J8 comment is irrelevant in your case because it refers to a different display than the one you have.
  2. Replies
    15
    Views
    151

    @jonr Yes indeed, those points are connected...

    @jonr
    Yes indeed, those points are connected through pin6.

    Now if I move that ground plane via 1mil(0.0254mm) up, it then passes DRC.
    I suspect there might be some difference between Kicad...
  3. Replies
    15
    Views
    151

    There is a "show/hide board ratsnest" button in...

    There is a "show/hide board ratsnest" button in the left toolbar.
    The bottom left statusbar clearly shows "unrouted 1".
    Performing a Design Rule Check will also reveal unconnected items.

    18423...
  4. Replies
    20
    Views
    463

    I was slightly confused when the teensy didn't...

    I was slightly confused when the teensy didn't show up as a usb serial device and the Serial.print() still worked.
    It all makes sense now. Thanks for the clarification.
  5. Replies
    15
    Views
    151

    The culprit? 18418 Lower the clearance...

    The culprit?

    18418

    Lower the clearance value in the Copper Zone Properties.
    Nothing that can't be fixed with a piece of wire and some solder fumes.

    Don't know if it is intentional or not...
  6. Replies
    20
    Views
    463

    Follow up: USB Type: "MIDI" seems to act like...

    Follow up:
    USB Type: "MIDI" seems to act like "Serial + MIDI" since Serial.print() still shows up in serial monitor.
  7. Replies
    61
    Views
    474

    Just put the code for changing the oscillator...

    Just put the code for changing the oscillator waveform in loop(), just as you did for the filter frequency.
  8. Replies
    20
    Views
    463

    MacOS 10.13.6 USB Type: "MIDI" Works in both...

    MacOS 10.13.6

    USB Type: "MIDI"
    Works in both directions, IN/OUT.

    USB Type: "Serial + MIDI"
    Does not compile....
  9. Replies
    13
    Views
    188

    You can choose your ADC_REFERENCE to be...

    You can choose your ADC_REFERENCE to be REF_3V3(default), REF_1V2 or REF_EXT.


    Gain formula for inverting opamp is
    Gain = Rfeedback/Rin = Vout/Vin

    Gain Vin = 1.2V(Vout range)/10V(Vin range) =...
  10. Replies
    13
    Views
    188

    As Wibbing mentioned you need to use a rail to...

    As Wibbing mentioned you need to use a rail to rail opamp supplied with 3.3V otherwise you might damage your teensy.
    Since eurorack modules are usually powered by -12V, 12V, all inputs should be...
  11. Replies
    14
    Views
    121

    Are you sure about that? I was under...

    Are you sure about that?
    I was under impression(looking at the code but i might be wrong) that unity gain is handled as a special case in both the mixer and the amp, but that zero gain is only...
  12. Replies
    14
    Views
    121

    @daspuru In order to have an audio object with...

    @daspuru
    In order to have an audio object with an input to stop processing you need to stop the audiostream going to it's input.
    There are 2 ways to achieve this:

    use AudioConnection::disconnect...
  13. Replies
    3
    Views
    84

    Assuming the coolant tmp returned by the CAN bus...

    Assuming the coolant tmp returned by the CAN bus can be < 60deg or > 120deg but you want the stepper only to move between 60deg and 120deg and that the temp reading is linear.

    I took the liberty...
  14. Replies
    3
    Views
    58

    Thanks for the tip. Works like a charm.

    Thanks for the tip. Works like a charm.
  15. Replies
    9
    Views
    185

    I never thought about the need for "a couple of...

    I never thought about the need for "a couple of hundreds" of connections.

    I totally agree!
    Please post your findings, I'll be glad to help testing.
  16. Replies
    9
    Views
    185

    There is no need to modify connect() in...

    There is no need to modify connect() in Audiostream if you do the following:

    Instantiate all possible AudioConnections needed in the project(in the global scope, as usual). Multiple sources to one...
  17. Replies
    8
    Views
    151

    You need to explicitly set the text background...

    You need to explicitly set the text background color. If not, printing text will behave as you described(transparent background).



    tft.setTextColor(ILI9341_WHITE); //white text with transparent...
  18. Pretty sure the Rev D schematic is wrong. Pin 7 &...

    Pretty sure the Rev D schematic is wrong. Pin 7 & 8 should be swapped.
  19. Replies
    4,361
    Views
    483,126

    The SPI pin definitions in effect_delay_ext.cpp...

    The SPI pin definitions in effect_delay_ext.cpp don't matter when using a T4 since it has no alternate pins for SPI. Thus the pin numbers are hard coded as seen in the T4 portion of SPI.cpp.

    ...
  20. I did not try your code but if you want to use...

    I did not try your code but if you want to use the print statement to send floats you need to be aware that by default it will only send 2 digits after the decimal point.
    If you want more decimal...
  21. Replies
    4,361
    Views
    483,126

    Because the SPI0 clock signal (SCK) for the T40...

    Because the SPI0 clock signal (SCK) for the T40 is on pin13 and for the T36 it is on pin14. And that signal is needed to access the external memory chip.
  22. Replies
    26
    Views
    731

    @DD4WH, you're welcome. Glad those pictures...

    @DD4WH, you're welcome. Glad those pictures helped you push your limits.
  23. Physical contact does not mean electrical...

    Physical contact does not mean electrical contact. There might be some glue residue from the paper tape at the extremities of the resistor legs.
  24. @rusty113 I could be wrong but looking at your...

    @rusty113
    I could be wrong but looking at your first picture it seems your didn't solder the wires to the resistors. If so, how do you expect it to work?
  25. Replies
    11
    Views
    131

    oops, misunderstood the question. correction:...

    oops, misunderstood the question.

    correction:

    // Button Toggle In Code

    #include <Bounce.h>

    const int channel = 1;
    bool toggleState = false;
  26. Replies
    11
    Views
    131

    What about this? // Button Toggle In Code ...

    What about this?

    // Button Toggle In Code

    #include <Bounce.h>

    const int channel = 1;

    Bounce button0 = Bounce(0, 10);
  27. @DD4WH Antratek has revD audio shields in stock....

    @DD4WH
    Antratek has revD audio shields in stock. They ship from the Netherlands if I'm not mistaken.
    https://www.antratek.com/teensy4-audio-board
  28. Replies
    30
    Views
    1,484

    Apparently there is an incompatibility between...

    Apparently there is an incompatibility between SdFat version 2.0.0beta5 and the Audio lib which itself uses the SD lib.(Arduino 10.8.10 Teensyduino 1.48)
    Following simplified example does not...
  29. I just successfully ran the SdCardTest sketch on...

    I just successfully ran the SdCardTest sketch on the sd adapter of a rev.C audioshield connected to a T4.0 with the modified spi pin definitions.

    Did you check the connections of pins 10, 11, 12,...
  30. The spi pin definitions in above code are for...

    The spi pin definitions in above code are for T3.x and audioshield revC.
    see: https://www.pjrc.com/store/teensy3_audio.html
    Try this


    #define SDCARD_CS_PIN 10
    #define SDCARD_MOSI_PIN 11...
  31. Replies
    8
    Views
    339

    Correction: Sample rate for T4.0 = 44100Hz...

    Correction:
    Sample rate for T4.0 = 44100Hz
    Sample rate for T3.x = 44117.64706Hz

    Just figured this out while having a look at AudioStream.h
  32. Replies
    15
    Views
    343

    First you have to declare a pointer to the object...

    First you have to declare a pointer to the object you want in your struct and then you need to instantiate that object.
    Members of the objects inside the struct can then be accessed with ->

    Here...
  33. Replies
    15
    Views
    343

    According to the datasheet for the Sharp sensor,...

    According to the datasheet for the Sharp sensor,
    typical supply current is 33mA
    max supply current is 50mA

    Assuming you only want to power 8 sensors and 1 T3.2 then
    total supply current = 8 x...
  34. Replies
    15
    Views
    343

    And in this case it is easy to extend the...

    And in this case it is easy to extend the structure to contain velocity, midi channel and even different threshold values for every sensor.

    struct Sensor{
    const uint8_t pin; //analog sensor...
  35. Replies
    15
    Views
    343

    Here is a way to loop the code, it compiles but...

    Here is a way to loop the code, it compiles but did not test.

    int thresh;

    struct Sensor{
    const uint8_t pin; //analog sensor pin nr
    uint8_t note; //sensor midi note
    bool noteIsOn;...
  36. Replies
    8
    Views
    339

    At the bottom of this page,...

    At the bottom of this page,
    https://www.pjrc.com/teensy/td_libs_AudioNewObjects.html
  37. Have a look at the IntervalTimer lib....

    Have a look at the IntervalTimer lib.
    https://www.pjrc.com/teensy/td_timing_IntervalTimer.html

    If I'm not mistaken, TimerOne and TimerThree are for avr microcontrollers.
  38. Replies
    8
    Views
    339

    Just a wild guess since I never used the...

    Just a wild guess since I never used the AudioPlayQueue object.

    Sample rate mismatch between input(50000Hz) and output(44117.64706Hz)?

    The outputQueue is filled faster than it is played. When...
  39. Replies
    2
    Views
    150

    Pin 9 is used by the audio shield for the BLCK...

    Pin 9 is used by the audio shield for the BLCK signal. Try another pin not used by the audioshield like 16 or so.
    see: https://www.pjrc.com/store/teensy3_audio.html
  40. @acbc According to the tutorial you picked the...

    @acbc
    According to the tutorial you picked the wrong object in the Design Tool.
    wavetable instead of waveform.
  41. Please post your complete code, otherwise it...

    Please post your complete code, otherwise it rather hard to help without guessing.

    guess: you might have declared your oscillator with a different name than "waveform1".
  42. Replies
    24
    Views
    695

    Except that the mantissa is unsigned, see data...

    Except that the mantissa is unsigned, see data type T5 in the manual.

    float thevalue(uint16_t highword, uint16_t lowword){
    int8_t expo = highword>>8;
    uint32_t mant =...
  43. Could not replicate the problem with your code on...

    Could not replicate the problem with your code on a teensy4 with the sgtl5000 audioshield.

    What happens if you add this to your setup()?
    filter1.frequency(500);
    filter1.octaveControl(1);

    ...
  44. Replies
    4
    Views
    249

    No problem, good you found the solution yourself.

    No problem, good you found the solution yourself.
  45. Replies
    24
    Views
    695

    Funny enough, your solution would have worked...

    Funny enough, your solution would have worked only if there was something like an unsigned float type in C.

    correction: bits # 23...00 Binary Unsigned value (24 bit)

    Thanks for clearing up...
  46. Replies
    4
    Views
    249

    This is one way to do it: //example for phase...

    This is one way to do it:

    //example for phase modulation

    #include <Audio.h>

    // GUItool: begin automatically generated code
    // AudioSynthWaveform waveform[0]; //xy=277,194
    //...
  47. Replies
    24
    Views
    695

    Yes Hmm, the first line doesn't make sense....

    Yes

    Hmm, the first line doesn't make sense. word1 should be 64768.

    Maybe some kind of obfuscation?
  48. Replies
    24
    Views
    695

    Just for the sake of correctness. There is no...

    Just for the sake of correctness.
    There is no such thing as a 16bit byte. A byte is 8bits. We are talking about words which are 2 bytes long.

    If you calculate the 2's complement of word1 and...
  49. paragraph 9.1.5 I don't want to sound rude...

    paragraph 9.1.5


    I don't want to sound rude but the answers to all those questions can be found in the datasheet linked in the third post by luni.

    Anyways, I dug up the schematic and some...
  50. No ground wire needed. Just 2 wires. All RS485...

    No ground wire needed. Just 2 wires.

    All RS485 nodes are wired in parallel. As for the wire, I used ordinary hook up wire.

    Yes, you basically run the 2 wires from node to node.

    Both...
Results 1 to 50 of 164
Page 1 of 4 1 2 3 4