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

Search:

Type: Posts; User: neurofun

Search: Search took 0.00 seconds.

  1. Here are all the 8 core 1mm pitch fpc cables...

    Here are all the 8 core 1mm pitch fpc cables available at farnell.
    Be aware there are 2 types to choose from, same sided contacts and opposite sided contacts, depending on how you orient the second...
  2. Replies
    4,110
    Views
    416,620

    In beta5, output_i2s.cpp is missing line 507 ...

    In beta5, output_i2s.cpp is missing line 507

    void AudioOutputI2Sslave::config_i2s(void)
    {
    #if defined(KINETISK) //<-- missing
    SIM_SCGC6 |= SIM_SCGC6_I2S;

    which prevents it from compiling.
  3. Replies
    5
    Views
    967

    Your sketch with the added "#undef round"...

    Your sketch with the added "#undef round" compiles without errors using arduino 1.8.5 & teensyduino 1.40 on mac osx.
    I would suggest to update your arduino installation.
  4. Replies
    12
    Views
    2,089

    same color code 12673

    same color code
    12673
  5. Replies
    24
    Views
    5,837

    Just for the record. I have a korg microkey usb...

    Just for the record.
    I have a korg microkey usb keyboard connected to the usb host port of a T3.6 and pitch bend works as intended.
    Sending pitch bend from logic pro x to the usb port of the T3.6...
  6. Replies
    3
    Views
    792

    That was my initial thought too, so I had a look...

    That was my initial thought too, so I had a look at the code. If I'm not mistaken, it only stops processing when it stops receiving audio blocks. If that's the case, I can think of 2 more options.
    ...
  7. Replies
    2
    Views
    804

    Some thoughts, Start off with saving your...

    Some thoughts,

    Start off with saving your recordings in raw format, when that works move to wav.
    Auto assigning a new name is just a matter of incrementing a counter at every recording.
    At boot...
  8. Just add the following, AudioConnection...

    Just add the following,

    AudioConnection patchCord6(mixer1, 0, i2s, 1);
  9. Replies
    14
    Views
    2,084

    Similar approach of what defragster said, but...

    Similar approach of what defragster said, but step value is only set upon release. See comments for what happens where:


    #include <Bounce.h>

    const int buttonPin = 1;
    Bounce button =...
  10. Replies
    8
    Views
    3,714

    It took me a while to figure out how to properly...

    It took me a while to figure out how to properly use this function. Here is how I did it.

    Instantiate all possible AudioConnections needed in the project, in the global scope as usual. Multiple...
  11. Replies
    12
    Views
    2,089

    shipped from Germany: DELOCK 83291 :: USB 2.0...

    shipped from Germany:
    DELOCK 83291 :: USB 2.0 type A socket to pin header cable...
  12. You're welcome. I hope all was not lost and you...

    You're welcome. I hope all was not lost and you learned something about pid control over the weekend :)
    Now do yourself a favor and rename your objects, variables to something more explanatory. It...
  13. In retrospect a pid loop might be overkill for...

    In retrospect a pid loop might be overkill for your application. I had a look at the AccelStepper lib and that's all you need. It also dramatically simplifies your code.
    Have a look, you will have...
  14. Here is a bit of guidance to start with. I...

    Here is a bit of guidance to start with. I haven't looked at your code but basically you have a servo configuration and you probably need to implement a pid control loop.

    More info at the...
  15. Good news, it is not. LRCLK is now steady as a...

    Good news, it is not. LRCLK is now steady as a rock, compiled at 216MHz and 240MHz.
    Here is the fix for output_i2s.cpp and output_i2s_quad.cpp:


    /* fix for LRCLK jitter on Teensy 3.6, neurofun...
  16. Replies
    8
    Views
    3,714

    mac osx 10.10.5, arduino 1.9.0 beta31,...

    mac osx 10.10.5, arduino 1.9.0 beta31, teensyduino 1.41 beta2.
    no compile errors. all my current projects compile without a hitch.



    Does this mean we can now reroute or repatch audio objects...
  17. Replies
    4
    Views
    1,048

    I posted a fix in the "Suggestions & Bug Reports"...

    I posted a fix in the "Suggestions & Bug Reports" forum. It would be nice If you could test it out and confirm it works.
  18. I am fairly confident it will work and yes, I did...

    I am fairly confident it will work and yes, I did a fair amount of testing but there is still the possibility that I overlooked something, so it would be nice for someone else to test it out and...
  19. Here is an example of a cool effect you can do...

    Here is an example of a cool effect you can do with phase modulation.
    Some kind of mutant quadrature oscillator with 4 outputs, of which each phase is evenly distanced, modulating the freq of 4 sine...
  20. AudioSynthWaveform object, bug fix and improved phase behaviour

    The main motivation for this post is using the Audiolib in a synthesizer application.
    The following modifications were done to the AudioSynthWaveform object in order to fix some errors and improve...
  21. Please ignore and close this thread, I think the...

    Please ignore and close this thread, I think the above assessment of pulseWidth() behaviour is wrong.
    At the time I did the measurements, I was not aware the line outputs of the audio adapter board...
  22. Please ignore and close this thread, working on a...

    Please ignore and close this thread, working on a fix with a different approach to resolve frequency and phase inconsistencies.
  23. You must be confusing array elements and...

    You must be confusing array elements and vertices. Have a look at the bottom the the font header file, it tells you the max number of vertices in a glyph for that file.
    The max number is 153 for a...
  24. Replies
    4
    Views
    1,048

    Ok, nothing strange, just a misunderstanding. you...

    Ok, nothing strange, just a misunderstanding. you mentioned 90deg phase and a 45deg phase "shift" and I automatically assumed a phase "division" by 2.
    In fact it is a bit a both.
    Tested all the...
  25. Replies
    4
    Views
    1,048

    Strange, I did the test and can confirm that for...

    Strange, I did the test and can confirm that for WAVEFORM_TRIANGLE and WAVEFORM_PULSE the phase is wrong.
    But then, there is also a frequency error concerning WAVEFORM_PULSE, see:...
  26. You can download the converted fonts here:...

    You can download the converted fonts here:
    https://github.com/neurofun/hershey_font_converter

    In your code replace

    # include <hershey_simplex.h>
    by for example

    # include "greek.h"
  27. Very nice, works like charm. Now slap 2 galvos on...

    Very nice, works like charm. Now slap 2 galvos on the Teensy, add blanking, a cheap laser pointer and you have a laser projector.
    This brings me back some old memories, anybody old enough to...
  28. Proposition to change pulseWidth() behaviour in AudioSynthWaveform object.

    current behaviour of pulseWidth(float n):

    n = 0.0 ... 1.0 -> duty cycle = 100% ... 50%

    proposed behaviour of pulseWidth(float n):

    n = 0.0 ... 1.0 -> duty cycle = 0% ... 100%

    I find the...
  29. Insect in AudioSynthWaveform when WAVEFORM_PULSE selected -> wrong frequency.

    When selecting WAVEFORM_PULSE in an AudioSynthWaveform object, output frequency is half of what it should be.

    error in line 144 of /Audio/synth_waveform.cpp


    tone_phase += tone_incr;
    ...
  30. Insect in object AudioSynthWaveformSineModulated when no modulation input present.

    When no modulation input is present on an AudioSynthWaveformSineModulated object, variable "magnitude" is not taken into account, in other words amplitude has no effect, output is at maximum.
    ...
  31. Insect in AudioSystemDesignTool when exporting objects with modified names.

    When exporting objects with custom names, patchcords for objects with single input/output will use "ID" instead of "name" for the destination object.

    error in line 98 of /Audio/gui/red/main.js...
  32. Replies
    4
    Views
    1,059

    That's what i'll do until I become more...

    That's what i'll do until I become more proficient with git.
    You being more cautious about accepting audio contributions is actually quite reassuring.
    Without elaborating too much could you maybe...
  33. Replies
    4
    Views
    1,059

    AudioLibrary Github workflow

    Since I received my first ever Teensy, 6 weeks ago, I've been working quite a lot on the audio lib.
    Without thinking too much I just copied the Audio folder from the ardiuno application to the...
  34. Thanks for your quick replies. I think I'll be...

    Thanks for your quick replies. I think I'll be fine for a while @192MHz but it's good to know that I can get more oomph by changing the sample rate.
  35. Teensy 3.6 overclocked to 216-240MHz and audio adapter board -> LRCLK jitter

    Hello everyone,

    The facts:

    My current setup is Teensy3.6, arduino 1.8.5, Teensyduino 1.40, osx.
    Compiling for cpu speeds 24-192MHz everything works fine.
    Compiling for 216-240MHz and the...
Results 1 to 35 of 35