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

Search:

Type: Posts; User: johanbilen

Search: Search took 0.00 seconds.

  1. Replies
    6
    Views
    172

    Edit: please remove the last stepCount++

    Edit: please remove the last stepCount++
  2. Replies
    6
    Views
    172

    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...
  3. Replies
    4
    Views
    106

    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...
  4. Replies
    4
    Views
    106

    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
  5. Replies
    4
    Views
    106

    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...
  6. Replies
    4
    Views
    257

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

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

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

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

    /johan
  8. Replies
    4
    Views
    257

    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...
  9. Replies
    0
    Views
    84

    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...
  10. Replies
    14
    Views
    712

    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
  11. Replies
    14
    Views
    712

    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...
  12. Replies
    14
    Views
    712

    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...
  13. Replies
    14
    Views
    712

    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...
  14. Replies
    14
    Views
    712

    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...
  15. Replies
    0
    Views
    207

    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...
  16. Replies
    5
    Views
    330

    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.
  17. Replies
    5
    Views
    330

    Thanks, what is 128 samples of 16 bit integer...

    Thanks, what is 128 samples of 16 bit integer that it returns? I would like something that returns a value say 0.023 eg the level of the envelope between something like 0.000-1.000.

    I have written...
  18. Replies
    5
    Views
    330

    Getting values from objects

    Hi, is it possible to read the output of lets say an ADSR object from the audio library?
  19. Replies
    3
    Views
    343

    Hi, I just saw that a similar question to mine...

    Hi, I just saw that a similar question to mine was posted in the "Audio Project" forum. Thanks for the answer theremingenieur but I will consider my adapter dead.
    /Johan
  20. Replies
    3
    Views
    343

    Troubleshooting Audio Adapter

    Hi, I soldered on an audio adapter underneath a T3.5 (I have a similar setup working just fine so I know the pin alignment is correct). I don't get any sound when running the "play synth music"...
  21. rcarr thanks, the issue was indeed the missing...

    rcarr thanks, the issue was indeed the missing "=" when bit shifting!
  22. 14-bit mark parity bit UART communication error

    Hi, I can't seem to get this code working. Its aim is to be able to send 14-bit values via UART.

    Transmission is done in 4 steps.
    Step 1: Bitshift the whole unsigned integer left.
    Step 2: Divide...
  23. Replies
    3
    Views
    600

    Could this work for a 14-bit communication? ...

    Could this work for a 14-bit communication?

    HIGH BYTE
    BIT 0: STATUS | BIT 1-7: DATA

    LOW BYTE
    BIT 0-6: DATA | BIT 7: UNUSED

    TX-UNIT
    *********
  24. Replies
    3
    Views
    600

    So in 9 bit mode would this work? TX-UNIT...

    So in 9 bit mode would this work?

    TX-UNIT
    *********
    unsigned int valueToSend;
    valueToSend=4167;
    UART.write9bit(highByte(valueToSend)+255);
    UART.write(lowByte(valueToSend));

    RX-UNIT
  25. Replies
    3
    Views
    600

    16-bit resolution using UART

    Hi, to increase the resolution when communicating between Teensys using UARTS would this code work? It increases the read amount five times compared to just communicating via 8-bit, but with the...
  26. Replies
    1
    Views
    379

    Glitches in audio when writing to TFT

    I have noticed that I get glitches in the audio coming from the Audio Adapter when writing data to a TFT-screen (connected with alternate pins 20/21 recommended by PJRC website). The Audio Adapter...
  27. Replies
    6
    Views
    3,452

    C1 Chameleon Demo

    I made a demo, showing some of the C1's functions.

    https://youtu.be/mMU0hU-sZo8

    /Johan
  28. Replies
    6
    Views
    3,452

    I don't know how GitHub works but I will educate...

    I don't know how GitHub works but I will educate myself on the matter and upload my libraries there for anyone to use.

    The USB isolator looks fine but comes with quite a hefty pricetag...

    The...
  29. Replies
    6
    Views
    3,452

    C1 Chameleon Project

    Hi, I would like to present my small project, a monophonic subtractive synthesizer called the C1 Chameleon.

    Front panel PSD
    https://app.box.com/s/a04zmme5n4t1t4tpo9okgtdjylhw3n6o

    Prototype...
  30. Replies
    7
    Views
    1,850

    Hello, one step forward, two step back. Now I...

    Hello, one step forward, two step back.
    Now I realized that the ILI9341 library for the TFT uses pin 7 for SDI, which is one of the UARTS.
    That leaves me with only two UARTS if I want to use the...
  31. Replies
    7
    Views
    1,850

    Thanks. Fortunately I have a T3.2 on a breakout...

    Thanks. Fortunately I have a T3.2 on a breakout board lying around so I don't have to solder.
  32. Replies
    7
    Views
    1,850

    When I initiate Serial2 the audio adaptor stops...

    When I initiate Serial2 the audio adaptor stops working. I figured this is because the Serial2 is tied to pin 9/10. How do I initiate Serial2 without it affecting the audio adaptor if I use the...
  33. Replies
    7
    Views
    1,850

    Audio Adaptor blocking second UART

    Hi, the audio adaptor uses pin 9 on Teensy 3.2 and therefore stopping me from using RX2. Is there a way around this (for t3.2) so I can use the audio adaptor as well as all three UARTs? I want to use...
  34. Thanks Paul, by connecting VIN to VIN the...

    Thanks Paul, by connecting VIN to VIN the sinewave is not distorted anymore.
  35. "Could also be a ground loop issue, if you're...

    "Could also be a ground loop issue, if you're listening by connecting the audio to an external amp or other grounded stuff."
    I listening through headphones connected to the audio adaptors headphone...
  36. Distorted sinewave when powering from another Teensy

    Teensy#1 is powered by USB and playing a sinewave that sounds like a sinewave should.
    When I power Teensy#1 from another Teensy by connecting:

    1. Teensy#1 GND to Teensy#2 GND.
    2. Teensy#1 VIN...
  37. Hi ulonix, modulating the frequency of sine_fm...

    Hi ulonix, modulating the frequency of sine_fm worked well but I wanted to be able to modulate different waveforms so I ended up writing my own LFO function using wavetables instead.
  38. Thanks Frank B, as soon as I started treating the...

    Thanks Frank B, as soon as I started treating the values as bytes I am able to run as fast as 38400 bauds without errors!

    I rewrote the code as follows:

    SENDER:

    int x;

    void setup() {
    ...
  39. Thanks LenSamuelson for your reply, I tried...

    Thanks LenSamuelson for your reply,

    I tried your suggestion to lower the speed with which the transmitting Teenys sends values:

    int x;

    void setup() {
    Serial1.begin(9600);
    }
  40. Cannot communicate between two Teensy 3.2 via UART

    Hi, I'm having trouble sending and recieveing serial data using the UART.

    The setup is as follows:

    TEENSY 3.2 #1 - Sending on pin 1.
    CODE:

    void setup(){
    Serial1.begin(9600);
    }
  41. I'm afraid to admit it, but I mixed up the wiring...

    I'm afraid to admit it, but I mixed up the wiring of the LRCLK and TX-wire, something I discovered when I was about to take the photo, thanks Paul.
    (Going to double-check my wiring before posting...
  42. (SOLVED) No GND = sound, GND = No Sound on Audio Adaptor

    Hello,
    My Audio Adaptor is suddenly not working correctly.
    I have connected TX/RX/LRCLK/BCLK/MCLK/SDA/SCL to the Teensy 3.2 as described in "http://www.pjrc.com/store/teensy3_audio.html" and have...
  43. Yes, I did watch the video and understand that it...

    Yes, I did watch the video and understand that it is possible to modulate sine wave frequency using different waveforms. However I want to be able to modulate the frequency of several different...
  44. Thanks Paul, great to hear that it's already on...

    Thanks Paul, great to hear that it's already on the wish-list, modulation of oscillator frequency is a important component in building a basic synthesizer (which I am) so I'm looking forward to it...
  45. Controlling oscillator frequency with the LFO (Audiolibrary)

    Hi, I would like a LFO to control an oscillators frequency, creating a vibrato effect, but the oscillator has no frequency control input like the StateVariableFilter has. Is there a workaround for...
  46. Hi, I hope that someone can help me fix this...

    Hi, I hope that someone can help me fix this issue I have.

    I have had success in earlier attempts to use the extra fonts but now it just doesn't compile.

    I have placed these files in my...
Results 1 to 46 of 49