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

Search:

Type: Posts; User: manicksan

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. I did not use Audio.h at all and I only...

    I did not use Audio.h at all
    and I only included the needed files,
    but still it compiles all C files in the audio folder,
    I can see that by enabling the compile log output.

    I'm not talking...
  2. Only compile specific Audio-lib files included

    I have a question

    Is there any way to just compile the files needed?

    I tried to remove all
    these includes:
    //#include <Audio.h>
    //#include <Wire.h>
    //#include <SPI.h>
    //#include <SD.h>
  3. Replies
    13
    Views
    312

    First a little how Arduino IDE works with...

    First a little how Arduino IDE works with preferences (settings)
    (Instance=when the IDE is started from the OS)

    When the IDE starts it loads the pref. file
    Then directly after it saves it back
    ...
  4. Replies
    13
    Views
    312

    It works this way When its "Activated" by the...

    It works this way

    When its "Activated" by the user, it takes those listed items above
    and save them into a preferences.txt at the sketch folder (alias the project)

    When this sketch is loaded...
  5. Replies
    13
    Views
    312

    I have make a kind of working prototype as a...

    I have make a kind of working prototype as a (Arduino IDE Plugin/Extension/Tool) so it works on any OS.
    It works like you want, by having certain preferences saved to current sketch folder
    ...
  6. Replies
    13
    Views
    312

    I meant the plugin feature is forgotten, ...

    I meant the plugin feature is forgotten,

    there are not many people knowing that the Arduino IDE has a plugin feature, or how to use it (because there are not any complete documentation and the...
  7. Replies
    13
    Views
    312

    This question has been up in the Arduino forum....

    This question has been up in the Arduino forum.
    There is some workarounds but I don't think they are very good.

    https://forum.arduino.cc/index.php?topic=355940.0

    Best way of doing it would be...
  8. Replies
    6
    Views
    142

    Have your installed the FastLed library?

    Have your installed the FastLed library?
  9. Replies
    8
    Views
    5,100

    Did you know that you can install teensy in the...

    Did you know that you can install teensy in the "sketchbook folder"

    And by that way use teensy in Windows App without even touching the original (Arduino IDE) install.

    I just tried to copy all...
  10. Replies
    7
    Views
    221

    Here is a description how you add a custom Object...

    Here is a description how you add a custom Object to the gui:

    there are 3 things that needs to be copied for a complete node:

    first at the NodeDefinitions:


    <script type="text/x-red"...
  11. Replies
    7
    Views
    221

    I looked at the source before, and you already...

    I looked at the source before, and you already have custom names, what I mean was to have them separated in different files, I have noticed that Paul also puts many classes in the same file, I think...
  12. Replies
    7
    Views
    221

    I think it's best to release it now more like...

    I think it's best to release it now more like some "extensions" called AudioWaveformExt and AudioWaveformModulatedExt to make them more available to the public, and also make sure that the new names...
  13. Replies
    7
    Views
    221

    Is it a separate audio object? Of what I can...

    Is it a separate audio object?
    Of what I can read from the changes
    It more like additional waveforms added to the existing waveform objects.
    If so then how do you use it?
    You can always add new...
  14. sometimes this teensy driving me crazy I have...

    sometimes this teensy driving me crazy

    I have this code:



    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
  15. maybe it's some bug (I run the "old" teensyduino...

    maybe it's some bug (I run the "old" teensyduino ver @ Arduino 1.8.13)

    also USB audio I/O don't can take "control" responsibility for calling update_all()
    found in the source:
    //...
  16. I tried it myself, using USB audio signal in...

    I tried it myself, using USB audio signal in (don't have official audio board with input) and PT8211 on the output

    like you said no signal, but then I remembered , if there is no output nothing...
  17. Replies
    14
    Views
    336

    How do you define a clipped audio signal, and...

    How do you define a clipped audio signal, and how do you then play synth-music that contains sharp edges.
    ...
  18. The "line in" is not that 3.5mm, that is the...

    The "line in" is not that 3.5mm, that is the lineout
    Search for teensy audio board line in. An if you are trying to mix the two signals (both from teensy and Bluetooth receiver) you should use two...
  19. Replies
    17
    Views
    441

    Its hard to analyze the problem without AudioOut...

    Its hard to analyze the problem without AudioOut class code. Right now it seems like you are making a connection to the AudioOut class and if that class is not inherited from AudioStream that is one...
  20. Actually of what I understand the float value is...

    Actually of what I understand the float value is never used between audio objects, float is not a good way of storing audio values because of its structure.
    The floats are only used to make it...
  21. Line 90 in...

    Line 90 in
    https://github.com/PaulStoffregen/Audio/blob/master/filter_variable.cpp
    Is the function handling when the freq input is used.
  22. and because there is no special thing with the...

    and because there is no special thing with the LED:s
    you can use the standard
    shiftOut(dataPin, clockPin, LSBFIRST, j);
    ...
  23. Hi, I think the 74hc595 will do it + the...

    Hi,
    I think the 74hc595 will do it + the existing 74hc4017 or a separate if you need a different refresh rate.

    schematic (separate 74HC4017):
    22558

    schematic (common 74HC4017):
    22559
    in the...
  24. Replies
    17
    Views
    441

    ahh forgot the AudioMemory(100); in setup of...

    ahh
    forgot the AudioMemory(100); in setup of sketch ino
    without that nothing works


    void setup(){
    AudioMemory(100);
    synthCtrl.begin();
    initMIDI();
    }
  25. Replies
    17
    Views
    441

    I have now tried to upload the code to the...

    I have now tried to upload the code to the teensy4
    but it did not work at first (expected a little)
    there was something strange happening with the theMixer.h,
    anyway here is the working version...
  26. Replies
    17
    Views
    441

    I updated the tool with a new item IncludeDef...

    I updated the tool with a new item IncludeDef
    and fixed one code-editor autocomplete bug.

    if you get a error notification about IncludeDef
    clear browser cache, because github is a little slow
    ...
  27. Replies
    17
    Views
    441

    ok here is the complete example you can read...

    ok here is the complete example

    you can read the comment of note on in SynthMain.h

    fyi: theMixer.h implements something called template
    it means that when doing the instance:
    AudioMixer<4>...
  28. Replies
    32
    Views
    554

    Did you know that you can change the ADC...

    Did you know that you can change the ADC resolution
    To 12bit

    analogReadResolution(12) to read 12bits instead
  29. Replies
    32
    Views
    554

    You could also try using pinMode(pin,...

    You could also try using
    pinMode(pin, INPUT_DISABLE).
  30. Replies
    32
    Views
    554

    Otherwise you could use an external ADC Example...

    Otherwise you could use an external ADC
    Example 4ch 16bit i2c:
    ADS1115

    Or you could use the DAC/(pwm+RCfilter) output together with any number of voltage comparator's + (optionally 74hc165) to...
  31. Replies
    17
    Views
    441

    @kd5rxt-mark That's impressive work you have...

    @kd5rxt-mark
    That's impressive work you have done
    600patchcords
    1000lines of designer code
    + 17000 lines of code (you must have a simpler version available that you make the changes on)

    But...
  32. Replies
    17
    Views
    441

    You could try my modified Audio Tool That makes...

    You could
    try my modified Audio Tool
    That makes it very easy to create any complex designs using classes and arrays
    it includes code editor with autocomplete that fetch information from the built...
  33. Replies
    32
    Views
    554

    you could also try the other analog inputs...

    you could also try the other analog inputs A12-A22 (pin31-"41") there could be a short between A3 (pin17) and some other pin under the bga.
    assuming that you use a teensy 3.6
  34. I haven't check the forum so much today, been...

    I haven't check the forum so much today, been busy with the new Design Tool and House maintaining
    I think you can use the current 4017 for the button matrix as well because you have used diodes they...
  35. Replies
    32
    Views
    554

    Also how is your pot connected?

    Also how is your pot connected?
  36. Replies
    32
    Views
    554

    in your latest post you have code in wrong order...

    in your latest post you have code in wrong order should be:


    cutoff = map(analogRead(A3),0, 1023, 0, 20000);
    filter1.frequency(cutoff);



    I think its very unnecessary to use the map...
  37. Replies
    28
    Views
    603

    luni #26 yes I checked the source code it's...

    luni #26

    yes I checked the source code it's doing a split by the comma sign ,
    so that means you can have multiple options

    teensy:avr:teensy40:usb=serial,speed=600

    nice that you have...
  38. Replies
    28
    Views
    603

    I just wanted do describe where I found the...

    I just wanted do describe where I found the "build.flags.cpp" flag from

    I did some testing and found out that you should use it like this:
    on windows


    arduino_debug --verbose --board...
  39. here is the image 22482

    here is the image
    22482
  40. Replies
    28
    Views
    603

    as you stated in post Yesterday, 02:53 PM #14 ...

    as you stated in post Yesterday, 02:53 PM #14

    why not use this mode of Arduino IDE?

    they have some undocumented arguments as well
    look at:
    ...
  41. I found out by looking at Arduino IDE source code...

    I found out by looking at Arduino IDE source code using the ultimate search program "Agent Ransack" (windows 10 search sucks)

    taken direct from the source code:


    // Allow overriding values in...
  42. update * the E-H inputs of the last shift-reg...

    update

    * the E-H inputs of the last shift-reg should be tied to gnd

    * for extra stability there should also be (pulldowns + capacitors(optional)) on each of the 20 inputs
    (they are not...
  43. there is the alternative to use drjohns approach...

    there is the alternative to use drjohns approach with 1x 4017 (it have a reset input that when activated put the output to a known state)
    combined with 3x 74hc165 (latch input, 8bit in, serial out)...
  44. schematic: 22453 truth-table for col-select:...

    schematic:
    22453

    truth-table for col-select:
    22454

    truth-table for row "output" (taken from 74hc147 datasheet)
    22455
  45. You can use 1x 74hc147/cd40147b (10to4 line...

    You can use 1x 74hc147/cd40147b (10to4 line priority encoder) for the rows, and 3x cd4051 (1of8 analog MUX for the columns)
    Also you need 9 pull up resistors on each row-"output"
    With this only...
  46. You could write a Arduino IDE "Plugin" That...

    You could write a Arduino IDE "Plugin"
    That automatically adds the required
    choices to the boards file then when it loads again it could just check if the contents have the text "# ----- Include...
  47. You can read about using new operator at...

    You can read about using new operator at https://stackoverflow.com/questions/10081429/when-is-a-c-destructor-called
    They say that when using "new" your should also use the "delete" operator to...
  48. Your can try using delete...

    Your can try using

    delete pMixLTCANA1_0_ampLTCANAO1_0;
    Instead of disconnect
    The delete calls the AudioConnection deconstructor
    Which internally also calls disconnect
  49. Replies
    37
    Views
    840

    https://www.pjrc.com/store/pt8211_kit.html ...

    https://www.pjrc.com/store/pt8211_kit.html
    Shows a pt8211-h in the pics :p :D
  50. Replies
    37
    Views
    840

    You can use the AudioSynthWaveformSineHires to...

    You can use the AudioSynthWaveformSineHires to make sure that everything is ok with the source sound.

    I also have PT8211-H from ebay with older datecode so yours is maybe a bad batch.

    There is...
Results 1 to 50 of 80
Page 1 of 2 1 2