Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 2 of 2

Thread: Two GUI related bugs

  1. #1

    Two GUI related bugs

    I've run into a couple of issues while working on a project. Neither of these are getting in the way of what I'm working on, but I felt like I should share them.

    1) When importing audio connections into the Design Tool, the connections do not import when I use the Filter object connected to output 1 or 2 (Band/High). Sometimes it flashes an error message for a second about a null connection, but since the message is intermittent and doesn't last long enough for me to get the full code. Obviously, I've been able to redraw the connections, but in bigger projects that can take some serious time. I feel like this is a 3rd party program, so maybe you won't be able to fix it, but I wanted to share it. To see what I mean, you can try this in the gui:

    Code:
    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>
    
    // GUItool: begin automatically generated code
    AudioSynthWaveformSine   sine1;          //xy=537,226
    AudioFilterStateVariable filter1;        //xy=759,231
    AudioOutputI2S           i2s1;           //xy=1090,225
    AudioConnection          patchCord1(sine1, 0, filter1, 0);
    AudioConnection          patchCord2(filter1, 1, i2s1, 0);
    AudioControlSGTL5000     sgtl5000_1;     //xy=85,85
    // GUItool: end automatically generated code
    2) The waveshape object is not recognized by the teensduino software. When I drop the code below into arduino, the "AudioEffectWaveshaper" is in black and not orange. I'm using teensyduino 1.37 and arduino 1.8.2.

    Code:
    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
    #include <SD.h>
    #include <SerialFlash.h>
    
    // GUItool: begin automatically generated code
    AudioSynthWaveformSine   sine1;          //xy=537,226
    AudioEffectWaveshaper    waveshape1;     //xy=822.5000152587891,240.00002098083496
    AudioOutputI2S           i2s1;           //xy=1090,225
    AudioConnection          patchCord1(sine1, waveshape1);
    AudioConnection          patchCord2(waveshape1, 0, i2s1, 0);
    AudioConnection          patchCord3(waveshape1, 0, i2s1, 1);
    AudioControlSGTL5000     sgtl5000_1;     //xy=85,85
    // GUItool: end automatically generated code
    If its something on my end, please let me know!

  2. #2
    Junior Member
    Join Date
    Mar 2019
    Posts
    5
    For the import in the GUI I also get the error with missing wires quite often. It shows:
    Audio Library Error: TypeError: wires[w2] is null

    This is in Firefox.

    When I try Chrome I get:
    Error: TypeError: Cannot read property 'split' of null

    Using internet explorer I get a similiar message in German.

    Is there any workaround? For large projects this problem makes the GUI unusable.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •