I've released the latest beta. Improved filesystem handling for easy Midi-Sequence handling etc. Also the schematics and pin layout are added.
Type: Posts; User: DragonSF
I've released the latest beta. Improved filesystem handling for easy Midi-Sequence handling etc. Also the schematics and pin layout are added.
I found a Q&D solution to prevent Strings allocating heap memory bei using EXTMEM buffers like that:
res[n].setBuffer(resbuf[n - stn], 1000); // res[] is in EXTMEM as well as resbuf[][]
res[n]...
the github repository for the webgui interface https://github.com/CADragon51/webgui
And the Teensy SW: https://github.com/CADragon51/TMSidekick2
You need platform.io as IDE. Minimum HW...
If you want, you can use the bibrary for your own projects.
28645
28646
28647
28648
28649
28650
28651
28652
If you want, you can use the webgui library for your own projects.And of course, change the colors etc. to you liking. All done with smoke (css) and mirrors (node.js).
All these Windows are interactive in real-time:
28638
28639
28640
28641
28642
28536
If someone's interested in the SW (Teensy 4.1 on platforrmio and node.js as webserver), I'll post links to github.
The problem went away, as soon as I removed the delay from the design.Although the USB had no real problems (besides the usual clicks), the SPDIF went bonkers. Without delay: no problem. Thanks...
I tried 3 different devices (with 44.1kHz SR SPDIF in) to connect to the T 4.1. The best I got was some expected sound with lots of clicks and noise. The other 2 just produced noise. The same program...
Thanks. So my design should work?
25224
Does the IC work with 3.3V or does it need 5V? If 5V, is the output compatible with Rx0 Pin?
Please don't hold it against me. I swapped the cable and it's working fine!
Yes, that's the same signal I see at Pin 8. But why no MIDI?
I tried to get this code working:
#include <MIDI.h>
MIDI_CREATE_INSTANCE(HardwareSerial, Serial2, MIDI);
const int channel = 1;
void setup() {
MIDI.begin();
}
The cavities needs to be shielded. Use metallic paint, it's easy to apply and works great. Any Luthier supplier has this stuff. Put also a grounded wire to the bridge, I don't see any cable there....
When you do that, also check the shielding. If something's broken there, you can add cavity shielding paint any time.I'm not a big fan of copper foil.
Also check, if everything metallic is grounded. All control and PU cavities should also be properly be grounded.
Thanks, got it working so far on a Teensy 4.0 with the SSD1306Ascii library.
Are the SSD1306 and 1309 driver really the same? I tried all 1306 libraries to no avail.
Or if possible, a library, which supports I2C.
Which library would work with this configuration? I tried Adafruit,Sparkfun and U8X8 libraries. I got some white noise from Sparkfun, so the device is working, but other libraries where jsut dark....
Thanks, that does it! Works as expected now.
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
#include <NativeEthernet.h>
#include <NativeEthernetUdp.h>
/*
UDPReceiveOSC
I meant 2048 Byte. any idea where this restriction comes from?
You're right. Pure message length of 2028 works for me too. I forgot, that OSC has some overhead bytes, which caused the crash.
I used tcpview and pktmon to verify the packet size. And yes, I called setSocketsize upfront. Today I tested and found the max size as of 1576. 2048 crashed the Teensy
I have some problems with OSC (over UDP). As long, as the packet size is <1024 Byte, I can receive the data (as long as I send them 1 message per ms). If the packet size is greater, then I receive...
Thanks for the update. I can't see any distortion now.
One request though: could you also put a pull request on the gui.index.html in order to include the new SPDIF objects (SPDIF3 IN/OUT)?
What do...
I just realized, that what was accomplished here opens a new horizon. Now we can have virtually unlimited power bu connecting as many T40s as necessary to get extremely complex audio...
I appreciate that. Update: I'm getting some sound, but it's very distorted.
Edit: after some fiddling with the voices, the sound is now clear as expected.
Thanks for the SPDIF3 object.
OK, I got SPDIF out working and on SPDIF in I'm getting the SPDIF Signal, though I had to cut the pin, which goes to the audio shield. I can get the Sample Rate correctly, but no Audio. The signal...
Sorry for my obvious ignorance ;-) . I thought - because of the name SPDIF3 - it was some completly different. I'll give it a try.
You mean, the pins (14/15) are the same, but the object has different names?
I posted the issue somewhere else here. My project consists of 96 oscillators, 30 multipliers, 6 filters (heavy of CPU), echo delays (ext RAM),flanger and reverb. When I play 1 voice, there is no...
Which pins are to be used for SPDIF3 in and out?
What is is the easiest way to connect 2 Teensy (4.0 or 3.6) to stream audio from the first to the second without using any DAC/ADC in between. My Audio project becomes to complex to be handled by one...
Sorry for my late reply: When I look at the web design, the head mixer is exactly after the delay and before the FB Mixer.
And I'm getting noise, the the system seems to be overloaded.
As Paul...
I was able to reduce the effect by combining the original state var. filter and my moog filter into one object. That solved the problem in a way, that I can reach 65% now without troubles.
...
I'm using the Audio board's DAC.
I'm working on a rather large project (6 voices with filters, vca, delay etc). When I'm using more than 1 voice at a given constellation (more than 10 sin osc at the same time), I'm getting louad...
But how can this be related to the external delay? When I don't use the delay (or the internal one), this doesn't happen. I checked the phone suggestion, it's even more prominent there.
Maybe a...
As soon, as I activate the external delay, I can hear some 375Hz noise at the output of the Audio Shield.
The noise doesn't come from the delay itself it seems to be inducted directly to the output...
Yes, if the SCK and LED share the same pin, that explains the whole mess. And yes, I can see the dim LED. What I still don&t understand, that the exernal delay is working at all, when there pin 14 is...
Is it? The T36 has 2 SCK0 signals, one on 13 and and on 14 (as sck0). I guess you meant that signal (sck0).
And should this: digitalWriteFast( ledPin, !digitalReadFast( ledPin )); toggle the...
Your described behavior is a little different to my observation (i.e freezing the T40), but indeed removing all references to delay1 does work (without delay effect of course). Not that it really...
I found some strange behavior with T4:
Using this code (the delay example):
// Delay demonstration example, Teensy Audio Library
// http://www.pjrc.com/teensy/td_libs_Audio.html
//
//...
Yes, it makes sense now. But somehow, it effects only the T4. Sometimes I had to update the program on the T3.2, it always worked.
Otherwise, the 3.3 is always connected to the PC and the Windows...
In my environment I'm using two Teensy boards (3.2 and 4.0) to connect my PC via MIDI to the T4. The T3.2 acts as MIDI to OSC router and is connected to the T4 via cables to TX1/RX1 . Works like a...
This is what I see in USBdevview for the faulty one:
14080
the correct one:
14081
Still getting:
Last Device Instance Id: USB\VID_0000&PID_0003\5&e658374&0&2
Class Guid: {36FC9E60-C465-11CF-8056-444553540000}
Location Path:
Migration Rank: 0xF000FFFFFFFFF100
Present: false...