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

Search:

Type: Posts; User: manicksan

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    149

    I did also forget to say don't get fooled by the...

    I did also forget to say don't get fooled by the cpp size.
    Think the convert tool do have flash usage, that will show how much space that particular soundfont takes, also notice that the current...
  2. Replies
    3
    Views
    149

    Still no answer?? Ok I will try Using 32bit is...

    Still no answer??
    Ok I will try
    Using 32bit is surely because the cpu is 32bit
    and will then optimize the reads from progmem (better fitting in the cache?)
    Also using 16bit access on a 32bit cpu...
  3. Forgot to say: Did try do a standalone app in...

    Forgot to say:

    Did try do a standalone app in "MIT-app inventor"
    but the performance is a disaster, just to update a image took many seconds
    and read data from the USB CDC + some seconds
    the...
  4. Thermal Camera using Teensy 4.0 + MLX90640 + ILI9341

    It's time to share my latest project
    https://github.com/manicken/ThermographicCamera

    This started with that I wanted to check the house for heat loss,
    but also be able to check electrical...
  5. Replies
    73
    Views
    9,440

    No need to change your custom object I have now...

    No need to change your custom object
    I have now implemented it into the official AudioEffectDelayExternal node def.
    also there is now a checkbox to select if it (makeConstructor) should be used or...
  6. Replies
    73
    Views
    9,440

    They are used when creating arrays of non class...

    They are used when creating arrays of non class objects inside a class,
    can be used when one want to create a array of for example simple AudioSynthWaveForm or similar

    Yes I want to support...
  7. Replies
    73
    Views
    9,440

    are you trying to add it to the h4yn0nnym0u5e...

    are you trying to add it to the h4yn0nnym0u5e "category"?
    as that is "hardcoded" and readonly
    (and currently used to hold the AudioStereoMixer)

    also note that the name
    AudioEffectDelayExternal...
  8. One way of doing it in SolarAudio.h ...

    One way of doing it

    in SolarAudio.h


    AudioConnection *patchCords[6];


    then in SolarAudio.c
  9. Replies
    2
    Views
    263

    If you click on the teensy picture you get the...

    If you click on the teensy picture you get the price for the teensy the other price is for some other item, some ebay sellers use the same method.
    Also the price for the teensy in that listing is a...
  10. This is now fixed It was because I forgot to use...

    This is now fixed
    It was because I forgot to use the REDLink class when creating new links,
    as the REDLink class initializes the info property which both tabOut and isBus belongs to
  11. Replies
    155
    Views
    49,199

    either windows is crap or there is issues with...

    either windows is crap or there is issues with CircuitPython
    both in combination is not working

    when running the python code
    I get the following

    Connection lost (EOF)

    and after a while the...
  12. Replies
    155
    Views
    49,199

    false alarm Surely windows was getting haywire...

    false alarm
    Surely windows was getting haywire because of
    the failing 'CircuitPython' code
    And after restart of windows (had to use the reset switch after a stuck shutdown, :p windows in a...
  13. Replies
    155
    Views
    49,199

    I have a new little project using mlx90640+St7789...

    I have a new little project using mlx90640+St7789 based display
    was using the new Raspberry Pi pico + circuitpython
    but did have very poor update-rates because of the slow processor

    (i2c @...
  14. I have now 'kind of' 'merged' your osc export...

    I have now 'kind of' 'merged' your osc export code into my 'master' branch
    but instead used a different 'namespace' RED.arduino.export.osc @ arduino-export-osc.js

    The settings that you use are...
  15. I have also made classes for the following...

    I have also made classes for the following objects

    REDWorkspace
    REDNode
    REDLink
    REDLinkSvgPaths
    REDLinkInfo

    so that JSDoc info can be utilized much easier
    thus making understanding of the...
  16. [QUOTE=h4yn0nnym0u5e;301929]The exported classes...

    [QUOTE=h4yn0nnym0u5e;301929]The exported classes are rather inelegant because of the need to generate unique patchcord names: I've not thought through whether that's just a consequence of a poor...
  17. Can you post a picture of the damage?

    Can you post a picture of the damage?
  18. Replies
    52
    Views
    2,247

    one tip while sharing a json is to have the last...

    one tip while sharing a json is to have the last } on a new line
    that makes it much easier to select it all

    example


    {"version":1,"settings":{} .....
    }
  19. Replies
    52
    Views
    2,247

    Good :D I have now fixed so that the...

    Good :D



    I have now fixed so that the folder function feature also works in linux by using / as the folder seperator (which also works in windows)


    if you don't like that feature it can be...
  20. FYI You don't need the }; // terminates...

    FYI

    You don't need the
    }; // terminates class
    workaround anymore

    there is the 'eof code' object that can be used instead
    where you can put the whole of
    static short...
  21. Think we need a special case while having array...

    Think we need a special case while having array of objects inside a class while using the OSC c++ export

    consider your example:



    class OSCVoice1grp : public OSCAudioGroup
    {
    public:
    //...
  22. After some additional thinking OSC export/mode...

    After some additional thinking

    OSC export/mode maybe need a separate setting/checkbox?
    or should all possible modes exist in the 'combobox'?

    here are the all (in theory) possible export...
  23. sounds good Because of that, I have now...

    sounds good

    Because of that, I have now implemented a draft for exporting as OSC style c++,
    It's using the 'Export Mode'-toolbar setting to select if OSC c++ export should be used.
    27687
    ...
  24. It's stated in the python code he provided ...

    It's stated in the python code he provided




    from there I found the
    which pointed to
  25. did read the datasheet and the returned readings...

    did read the datasheet
    and the returned readings
    have the following format

    1.10,1.20,1.25,1.23,1.20<CR><LF>

    that mean the code from BriComp needs some changes

    or use the command...
  26. also joint D at the keypad need some resoldering...

    also joint D at the keypad need some resoldering

    The main things while soldering are:
    ensure all areas to be soldered have the same temperature
    flux is the key

    sometimes I double up this thin...
  27. First redo the soldering...

    First redo the soldering
    https://www.pjrc.com/soldering-pins-on-to-your-teensy/
    There are some pins that don't look so good
    specially pin 14, the top gnd, pin22
    and it's much better to do it now...
  28. you will need the other function as well void...

    you will need the other function as well
    void setFilterState(byte num)
    that was in my example @ post #10
    If you want to both have the possibility
    to send a S command

    [Sn] where n is the state...
  29. You could also connect the Pi to the teensy using...

    You could also connect the Pi to the teensy using the i2s interfaces or using the USB audio interfaces
    and thus having some memory/cpu intensive processing taken care of by the pi, but still use the...
  30. note. that the EEPROM in teensy 3.2 is not...

    note. that the EEPROM in teensy 3.2 is not emulated
    that means only write settings that change,
    to avoid unnecessary tear

    don't understand the numbers in the datasheet, but they seems to be very...
  31. here is what you can do #define...

    here is what you can do



    #define EEPROM_FILTER_STATES_ADDRESS 2

    typedef struct {
    byte lp;
    byte bp;
    byte hp;
  32. do you have physical switches connected? then...

    do you have physical switches connected?
    then you should not do any of the writes


    digitalWrite(SWITCH_PIN[0],HIGH);
    digitalWrite(SWITCH_PIN[1],HIGH);
    digitalWrite(SWITCH_PIN[2],HIGH);
    ...
  33. Yes but actually printing the values at boot...

    Yes but actually printing the values at boot would help both you and us to pinpoint the problem much easier
    both formulas are the same, so in theory it should work, can not see any direct problems....
  34. do Serial.println(EEPROM.read(1)); in setup()...

    do
    Serial.println(EEPROM.read(1));
    in setup()
    print the same value as the one in
    processCommand() ?

    also you don't have
    Serial.println(freq);

    in the setup()
  35. First you use real pots, so no real need to save...

    First you use real pots, so no real need to save anything.
    Also it would be hard mixing settings taken from the pots unless you have motor controlled pots that can be set at startup.
    And if you for...
  36. While I do that, and did just discovered a easy...

    While I do that, and did just discovered a easy way of joining objects together
    (by using ES6 spread operator)

    I will define two Global node def.



    var NodeTypeBase = {
    "defaults":{
    ...
  37. The structure for the wires internally are not...

    The structure for the wires internally
    are not the same as the saved JSON
    (that is the way the Node-RED team saves some space for the exported JSON, or actually I don't really know why it's like...
  38. Replies
    17
    Views
    521

    I did just tried Visual Micro for the very first...

    I did just tried Visual Micro for the very first time
    all I can say first enable

    High speed parallel builds

    otherwise the compile times are gonna driving you crazy

    Also Visual Micro is not...
  39. Could not the FlexIO be used for this, to...

    Could not the FlexIO be used for this,
    to 'simulate' multiple spi channels

    That way no external muxing ic:s are needed
  40. Did some fixes now the complete export-data is...

    Did some fixes
    now the complete export-data is stored in each link, when doing complete export and creating links live
    that means links can now be removed in any order from the dyn. mixers,...
  41. OSC live updating while using dyn. mixers is...

    OSC live updating while using dyn. mixers is really hard.

    things that currently don't work while edit live:

    1. changing the size of any connected array source, or changing it to/from array
    ...
  42. a byte can only hold values between 0-255 so if...

    a byte can only hold values between 0-255
    so if you put 256 into that byte you will get 0
    257 -> 1
    258 -> 2
    and so on...
  43. Here is how I should have done it int...

    Here is how I should have done it



    int getFourDigitInt(const *char ac) // ac=asciiDec
    {
    return (ac[0]-0x30)*1000+(ac[1]-0x30)*100+(ac[2]-0x30)*10+(ac[3]-0x30);
    }
  44. One thing to know with time slices or preemptive...

    One thing to know with time slices or preemptive multitasking is that you need to take extra care when sharing variables between threads, as the 'task switcher' can interrupt the current running...
  45. There is a microSD card slot on the teensy 4.1...

    There is a microSD card slot on the teensy 4.1
    Think there is some examples on the code part in the Arduino ide teensy examples.
  46. Alternative only use IntervalTimer to set a flag...

    Alternative only use IntervalTimer to set a flag
    that is then read in the main loop




    volatile uint32_t updateLCD = 0;
    void countByOne()
    {
    updateLCD = 1;
  47. Teensy 4 is quite new and taking the pandemic in...

    Teensy 4 is quite new
    and taking the pandemic in context
    there has not been enough resources
    to fix things that are missing
    i.e. the different calls to yield();

    @joepasquariello
    The main...
  48. @ AlainD delays should be avoided but could in...

    @ AlainD
    delays should be avoided
    but could in some rare occasions be used when bitbanging timing sensitive stuff
    in other cases use a state machine together with hardware timers
    that avoid...
  49. have you seen TeensyThreads that is utilizing a...

    have you seen TeensyThreads
    that is utilizing a real task switching threads.yield() function

    that mean that you could write a read ADC task
    but then I did think about one more time
    no this...
  50. Normally for all hardware's that takes a lot of...

    Normally for all hardware's that takes a lot of time to complete
    for example slow interfaces such as UART/I2C/SPI etc.
    You use both transmit and receive interrupt mechanisms, sometimes even DMA if...
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4