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

Search:

Type: Posts; User: johanbilen

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Hi, I made this small PCB, takes up a little bit...

    Hi, I made this small PCB, takes up a little bit more space but more flexible than soldering the two boards together.
    24817
    24818
  2. Replies
    3
    Views
    160

    Ok, now it's working, this is my solution to mix...

    Ok, now it's working, this is my solution to mix between the dry signal (controlled by the DC signal) and the amplitude modulated signal (the LFO):
    24773
    I would like to change the thread title to...
  3. Replies
    3
    Views
    160

    Yes, I want to modulate the amplitude of my audio...

    Yes, I want to modulate the amplitude of my audio signal.
    I've tried the Multiply Object, having the audio connected to Signal Input 0 and a AudioSynthWaveform acting as a LFO connected to Signal...
  4. Replies
    3
    Views
    160

    Modulation a audio signal

    Hi, the AudioSynthWaveformModulated has a frequency input for modulation the frequency, the AudioFilterStateVariable has a frequency control input for modulating cutoff frequency.
    But how do I...
  5. Measured AudioProcessorUsage and...

    Measured AudioProcessorUsage and AudioProcessorUsageMax as per your suggestion. It turned out to be 100 so I made the audio memory 120 and now it works perfect, thanks!
  6. I tried to increase the audio memory to 60 but no...

    I tried to increase the audio memory to 60 but no positive effect unfortunately.
  7. Beep in audio when compiling with Serial+MIDI+Audio

    Hi,
    when I compile my sketch with "Serial + MIDI + Audio" I get a beep cutting of the audio from the headphone jack.
    (The beep sounds like a squarewave at 440hz or something you get when using a...
  8. Replies
    4
    Views
    350

    Hi, I needed higher resolution than 8-bit to...

    Hi, I needed higher resolution than 8-bit to avoid stepping of the filter and oscillator frequencies, and also the possibility of sending four channels of data in parallel, so I choose hardware...
  9. Replies
    5
    Views
    210

    Thanks mlu, so I guess this would work when...

    Thanks mlu,
    so I guess this would work when bending up/down more than one note (bendRange being for example 1 to 12 notes)?

    Voice1Frequency=8.175*powf(1.059463,57+((pitchbend/8192.0)*bendRange))...
  10. Replies
    4
    Views
    350

    Hi, I also wanted a rack of modular synths, but...

    Hi,
    I also wanted a rack of modular synths, but as you found that it was too expensive.
    When starting to produce my own modules I first tried to make my modules communicate via controlled voltage...
  11. Replies
    5
    Views
    210

    Help with pitch bend formula

    I would like some suggestions of a formula regarding pitch bend.

    Voice 1 plays MIDI note 57 (A3,220Hz).
    Voice 2 plays MIDI note 67 (G4,392Hz).
    Voice 3 plays MIDI note 72 (C5,523Hz).

    For...
  12. Replies
    1
    Views
    197

    How does AudioSynthWaveformDc work?

    Hi, since there is no envelope to control waveform frequency modulation or filter frequency modulation I tried to use the "DC" output.

    When I press the MIDI keys I want the Serial monitor to show...
  13. KurtE, just to clarify, if I don't use the memory...

    KurtE, just to clarify, if I don't use the memory och SD on the Audio shield I could use pin 7 as MOSI for the TFT, since Pin 11 is MCLK? I do not have to use pin 28? Is the MOSI pin not required to...
  14. Thanks KurtE, so what about pin 28? Could I use...

    Thanks KurtE, so what about pin 28?
    Could I use that pin as TFT Mosi?
  15. Great, I also have a Audio shield which use Pin...

    Great, I also have a Audio shield which use Pin 11.
    Will the Audio shield conflict with the TFT?

    If so, I noticed that Pin 28 also is MOSI0. If I want to use all four Serials, a TFT and the Audio...
  16. Teensy 3.5 pin 7 (RX3) conflict with SDI on ILI9341

    I want to use pin 7 for RX3 but also use a TFT ILI9341.
    Pin 7 is supposed to connect to SDI on the TFT.
    The T4.1 uses pin 11 for SDI.
    Is it possible to have pin 11 act as SDI on T3.5?
  17. Can I use Serial3 on T3.5 with an audio shield?

    Hi, is it possible to use Serial3 on T3.5 with an audio shield?
    It's connected to "Data Storage (SPI) from Teensy to SD/MEM" according to the schematics.
    I don't plan on using the memory card slot...
  18. The best solution would as suggested be to...

    The best solution would as suggested be to desolder the cap or use another Serial, but I ended up cutting pin 15 going into the header on top of the T4.1.
    Thanks
    Johan
  19. Disable volume thumbwheel on Audio Adaptor Rev. D

    Hi, the audio adaptor on top of my T4.1 interferes with the RX of Serial3 (pin15).
    Serial3 reads random numbers with intermittent zeros.
    The audio adaptor is the culprit because if I remove it the...
  20. Replies
    14
    Views
    815

    Thanks Paul, FranK B and defragster for your...

    Thanks Paul, FranK B and defragster for your patience and help.

    I indeed posted pseudo code to illustrate my point, my sketches are about 5000 lines each so I did not know of a way to explain the...
  21. Replies
    14
    Views
    815

    I have four T3.5 modules sending and receiving...

    I have four T3.5 modules sending and receiving data between each other without any issues, on the right UARTs. This only happens when I try to send data between the T3.5s and a T4.1.
  22. Replies
    14
    Views
    815

    // this is the T3.5 #define Teensy_UART1 Serial5...

    // this is the T3.5
    #define Teensy_UART1 Serial5
    void setup(){
    }
    void loop(){
    for(int counter=0;counter<127;counter++){
    Teensy_UART1.write(counter);
    }
    }
  23. Replies
    14
    Views
    815

    UARTS get mixed up on Teensy 4.1

    Hi,

    I'm using the following UARTs on a Teensy 4.1:
    #define Teensy_UART1 Serial1
    #define Teensy_UART2 Serial8
    #define Teensy_UART3 Serial3
    #define Teensy_UART4 Serial7

    From another Teensy...
  24. Thanks to you guys for your patience in...

    Thanks to you guys for your patience in explaining this, I now get that I have to add the "arduino.h" to the .cpp-file of my sample as well as PROGMEM in order to put my samples into Flash memory.
  25. I have not included Arduino.h, I will try that,...

    I have not included Arduino.h, I will try that, thanks. However, I still cannot understand how 8Mbyte Flash is insufficient when the Flash in T3.5 was enough to load my samples?
  26. Unfortunately I get this message:...

    Unfortunately I get this message:
    C:\Users\johan\AppData\Local\Temp\arduino_build_903646\sketch\src\samples\bpb606bd04.cpp:6:1: error: 'PROGMEM' does not name a type
    PROGMEM const unsigned int...
  27. // Audio data converted from WAV file by...

    // Audio data converted from WAV file by wav2sketch

    #include "bpb606bd04.h"

    // Converted from bpb606bd04.wav, using 44100 Hz, u-law encoding
    const unsigned int bpb606bd04[10561] = {...
  28. The "not enough memory" issue disappears when I...

    The "not enough memory" issue disappears when I disable this code:



    // ACTIONS PERFORMED WHEN GATE 1 IS HIGH/LOW
    void actionsReadGate1(int state){
    switchGate(1,state);
    if(state){
    ...
  29. Replies
    7
    Views
    510

    Frank B, yes just discovered that Serial.print()...

    Frank B, yes just discovered that Serial.print() round things off. So I'll guess I can go back to using pow() then :-)
    Thanks
    Johan
  30. Replies
    7
    Views
    510

    pow() function alternative

    Hi, i have had trouble with the pow() function not having the precision I need (floats).
    I wrote a small library to replace the pow() but wonder about the for-loop, will that slow things down?
    ...
  31. Replies
    9
    Views
    493

    Hi, I posted some wrong code: This formula...

    Hi, I posted some wrong code:

    This formula blocks Serial1:
    pow(1.06,byteToReceiveFromSerial_high)-pow(1.06,byteToReceiveFromSerial_high);

    This formula lets data through:...
  32. Replies
    9
    Views
    493

    Defragster, when I activate the nonblocking...

    Defragster, when I activate the nonblocking formula the Serial monitor displays "Read successful", if I activate the blocking formula the Serial monitor gets blank. If I switch Serial1 to either...
  33. Replies
    9
    Views
    493

    El Supremo, I have modified my original formula...

    El Supremo, I have modified my original formula that calculates MIDI note to frequency. The formula in my code example is only to demonstrate that if a float is used instead of an Int the read of...
  34. Replies
    9
    Views
    493

    This formula blocks ONLY Serial 1

    Hi,
    I have a one Teensy sending out two byte to another Teensy.
    After hours and hours of troubleshooting my project I found that Serial1 on the receiving Teensy seems to be blocked by the formula...
  35. Replies
    6
    Views
    428

    Edit: please remove the last stepCount++

    Edit: please remove the last stepCount++
  36. Replies
    6
    Views
    428

    Hi Qcontiuum, I haven't compiled this since...

    Hi Qcontiuum,

    I haven't compiled this since I'm writing this in notepad, but maybe this could help?
    I think you should consider using arrays to slim down the code a little.



    unsigned int...
  37. Replies
    4
    Views
    308

    I'm having a LED light up (GATE IN) when a output...

    I'm having a LED light up (GATE IN) when a output (GATE OUT) connected to the input is set high (I'm making a modular synthesizer).
    I have four inputs (Pin 6/17/24/26) and four outputs (Pin...
  38. Replies
    4
    Views
    308

    I have a LED connected to the input and the LED...

    I have a LED connected to the input and the LED is lit even though there's no connection to it.
    /Johan
  39. Replies
    4
    Views
    308

    Audio Adaptor and T3.5 pin 6

    I'm trying to use pin 6 on T3.5 with an audio adaptor. I'm getting 2.5 volt even though I'm using the pin as an input. Is this because it is connected to a pullup-resistor on the Audio Adaptor? I'm...
  40. Replies
    4
    Views
    446

    That seems to be the case, thank you! /Johan

    That seems to be the case, thank you!
    /Johan
  41. Replies
    4
    Views
    446

    Thanks, unfortunately I can't find information...

    Thanks, unfortunately I can't find information regarding if these chips can tri-state or not.

    /johan
  42. Replies
    4
    Views
    446

    Multiple SPI-devices configuration

    Hi,
    I have a couple of question that I hope some of you may shed some light on:

    1. Would these four SPI devices (see below) generate some kind of conflict?

    2. The MCP4922 gives out a voltage...
  43. Replies
    0
    Views
    213

    How to convert SPI DAC into -+5V

    I'm running a MCP4728 via SPI from Teensy.
    The output from the DAC is 0-4.096V.
    Does anyone have a schematic that converts the 0-4.096V into -+5V?
    And is there a library for the MCP4728?
    Thanks...
  44. Replies
    14
    Views
    1,489

    These are my circuits so far, I would like some...

    These are my circuits so far, I would like some feedback please:

    5V gate input:
    18884

    5V gate output:
    18885

    0-8V Controlled Voltage Out
    18886
  45. Replies
    14
    Views
    1,489

    Thanks Neurofun, it seems that the more I...

    Thanks Neurofun, it seems that the more I research about this teensy/CV-thing the more complicated it gets...
    Before Paul mentioned it in his reply I was not aware that the analog inputs only...
  46. Replies
    14
    Views
    1,489

    RetroD, I simulated the second circuit you posted...

    RetroD, I simulated the second circuit you posted and it worked like a charm.

    Regarding Teensy->DAC->Opamp, I found a circuit from...
  47. Replies
    14
    Views
    1,489

    Thanks retroD, so VIN would be the CV-signal and...

    Thanks retroD,
    so VIN would be the CV-signal and AnalogInverted would go to an analog input on the teensy?
    The analog inputs have been very unstable when I have used potentiometers, would the...
  48. Replies
    14
    Views
    1,489

    Eurorack voltages to/from Teensy

    Hi, I want to interface with eurorack modules using a Teensy and I have some questions that some of you may be able to shed some light on.

    Since the digital pins are 5V tolerant I guess these...
  49. Replies
    0
    Views
    412

    Chameleon Modular Synthesizer

    Hi, I would just like to present my project. It's a modular synthesizer and I've made a short video clip with some FM noises:
    https://youtu.be/JIcUNfIICYw
    For details, see the description of the...
  50. Replies
    5
    Views
    635

    Thanks for your help guys, I finally got my own...

    Thanks for your help guys, I finally got my own DAHDSR library working so I'll stick to that for the moment.
Results 1 to 50 of 92
Page 1 of 2 1 2