from https://www.pjrc.com/store/teensy41.html
Teensy 3.6 supports two (2) analog inputs for audio, while Teensy 4.1 supports only one (1), and is currently experimental based on PJRC...
Type: Posts; User: Revalogics
from https://www.pjrc.com/store/teensy41.html
Teensy 3.6 supports two (2) analog inputs for audio, while Teensy 4.1 supports only one (1), and is currently experimental based on PJRC...
Hi guys, it's me again. =)
I managed to find the old sketch regarding this (also posted here before), and made another sketch out of it (check out the "vocoder_waveforms" folder in the Google...
Contrary to what they say, and the website says, you can use both AudioInputAnalog and analogRead().
I posted it a long time ago but I can't find that thread.
You can use ADC0 for audio, and ADC1...
Ooh, yes, that will do, because longer runs of wires tend to capture noise and be fed to ADC.
Any ideas on how you interconnect Teensies? You can just use the serial ports available.
I tend to...
Lots of sensors or inputs? Why not try multiplexing :)!
Sustain is MIDI CC 64, value=0 is off, value=127 is on
sort of like this:
usbMIDI.sendControlChange(64, 0, 1); // sust off
usbMIDI.sendControlChange(64, 127, 1); // sust on
MIDI note ranges...
Those are not really needed, as they are defined inside the library (Serial1 is used as default). The following should work:
// global scope
#include <MIDI.h>
MIDI_CREATE_DEFAULT_INSTANCE();
...
Ooh, good read.
However, redundant analog circuits can be made digital, thus effectively lowering the build cost.
I built an analog vocoder once, and it's too expensive. Vocoders consist of lots...
As I already mentioned:
By the way, PC900V and the pullup resistor is connected to 3.3V, not to 5V, because doing so will damage my Teensy 3.6.
Wait, is it me or is it him? :D
The easiest way out there is to use a diode (so only the LOW signal passes through the receiving Teensy, the cathode facing the transmitting side) and a pullup resistor powered by the receiving...
Hi, I've been using Teensy 3.6 every Sunday to convert MIDI to usbMIDI, and it has been working for months now, without any issues on the Teensy part.
12009
I followed this schematic based on this...
Haywire means these error codes upon compilation:
Note: I used "static void interrupt()" here
In file included from...
Thanks for the reply, I'll give it a try. What's with "current_object"?
I think I have so much to learn on the coding part. Unusual code routines, structs, pointers, etc. are my weak points.
I...
I can't recommend some starting point for this because I don't have any knowledge on how do these things communicate with an FPGA or a controller (except on how to destroy them and use the ICs for...
Thanks Paul for the reply, I already noted that, I even tried changing "void interrupt()" to "static void interrupt()" also making all variables (outside the function) associated to be static, but...
Like a digitally-controlled laser beam kind of thing? That would pretty much be easier to implement than creating an image or playing a video using that device.
I think it is feasible with your...
Hi, I'm currently working on creating a library to read an encoder.
Basically, it reads encoder pins and automatically debounces it.
Also, I made it to set flags if it was rotated, and set...
I destroyed a DMD before, and touched the micromirrors that looks like silver powder on my finger.
I don't think even the top of the line Teensys can control a DMD (but I maybe wrong).
They were...
Yes, you can cut that connection and connect it to other pins (see Audio System Design Tool, under "AUDIO_MEMORY_MEMORYBOARD").
I don't have a memory chip in hand and I have a different I2S audio...
Hi, I found an easy hack on how to change I2S pinout on my project that uses Teensy 3.6 in it.
I used to edit the Audio Library to implement my own pinout, and whenever I update Teensyduino, I have...
Hi, I also used a Teensy 3.6 before to send a torrent of MIDI data from my laptop to my keyboard, particularly black MIDIs :), to test how well my keyboard responds to a total of about more than 1...
It's ok, your English is understandable. I, too, am not good at speaking English, since it is not my native language, and it is far very different (accents, sentence construction, syllables, etc.).
I watched the video, the default "Blink" sketch runs, indicating that your Teensy works.
Also it blinks an orange LED, it is a genuine Teensy, I guess, by the looks of it.
After pressing the...
Sure, I'd like to help. You can just link here for everyone to see and help.
Your PC "sees" your Teensy, but the OS reports it is faulty. Maybe a real faulty Teensy, a faulty USB cable, or a counterfeit. If the LED is not orange, it is fake.
Haven't used this mod anymore because I found a good USB Audio interface that replaces Teensy for my audio I/O needs.
Looking at the sourcecode of bitcrusher, the...
Hi, you can just link your mp3 file here from somewhere you uploaded it (like Google Drive, Facebook, etc., click the BB code below in posting permissions).
Try increasing AudioMemory if that...
I can't understand what you're up to... at least for me haha :)
Are you using a toggle switch or a button switch or two buttons and a toggle switch?
Here's my guess code routine:
// other...
Upon reading the datasheet you've linked, I saw that this part has multiple package types and the one on Teensy is the smallest of the three (WSON with thermal pad, vs. SOT-223 and larger TO-252)....
Thanks Paul for the help, that makes sense to me.
However, I noticed that AudioMemoryUsageMax() (for me) retuns 255 as maximum value. I'm using Teensyduino 1.37 and Teensy 3.6 and a sketch with a...
I found this HERE. It says this function returns the free memory between stack and heap.
It does not compile for Teensy (Teensy 3.6, in my case). Any ideas how to measure free memory in Teensy? I'm...
Thanks Paul for the help, but I don't know how to buy stuffs overseas (I bought my Teensy from a local electronics store that happens to be importing stuffs from Adafruit), I'm just a student :).
...
Thanks mattbott, I certainly overlooked at that one, I'm using copy+paste most of the time (and modify them afterwards) haha :).
I updated the code.
j2sip, you should check Arduino Reference Page...
Paul, What does these do? It's in the "dspinst.h" header file.
//get Q from PSR
get_q_psr(void)
//clear Q BIT in PSR
clr_q_psr(void)
Thanks guys for the help!
I found THIS (anything about ARM Cortex M4 DSP instructions and stuff). I think this is compatible with my Teensy 3.6.
Also, I found "dspinst.h" inside Audio Library and...
Hi everyone! Is there any documentation on how to make an audio library object?
I tried looking at Audio library files and I don't understand most of it, especially how audio data is processed.
I'd...
Teensy 3.6 has another USB port, Teensy 3.5 does not.
UPDATE: I tested this code on our Church keyboard and moving pitchbend wheel once (and letting it go to its midpoint) creates unforgettable results: I'm playing a whole note lower than the rest of...
Hi, sorry for the very late post, I've been very busy this past few days for our school thesis project.
I wrote this code for you. Hope this works! :)
Is it really Teensy 2.0 (the short one) or...
Hi, you don't need this line.
Serial.begin(31250);
If you're using the latest Teensyduino version (1.37, as of now), you should check my post HERE.
Yours truly, Revalogics.
Hi j2sip, you must mention first what software or hardware guitar effect or whatever you want Teensy 2.0 to control, or mention what MIDI messages do you intend to create with your Teensy 2.0 to...
I have a sketch that uses the MIDI library, and some other library. My code, as of Teensyduino 1.36 works flawlessly, as I didn't have an issue with it while running it on Teensy 3.6 + external...
I replaced the LED in my Teensy 3.6 from orange to white - white has higher forward voltage than orange so it loads less to pin 13 compared to orange LED. The voltage may be ramping because of low...
About pins changing states at the exact same moment, why don't you try using transparent latches like HEF40373 or 74HCT573 (D-type Flip-flops with Output latches)? You input your parallel data, and...
LED capacitor? Never heard of that. Is that the capacitance formed by the depletion region between the N and P junctions, or is it a physical capacitor included within the LED package?
I tried that tonton81, but I received compilation error about variables and function calls. I'm reverting to single sketch.
Here's my sketch I'm trying to split: (note, it's long)
//#define...
Will the example sketch work (its syntax), the split one?
I used external editor (Notepad++), that's why. I use Arduino IDE only for compiling the sketch
Hi guys, is it possible to split a single sketch into multiple files? I have a sketch for Teensy 3.6 that is 1,562 lines long. I tried the library approach, but most functions must change or read a...
Hi, sorry guys for the late reply, I use Teensy 3.6 as stated before, I don't have a Teensy 3.2, and I am getting maximum audio memory usage of 255 on my sketches (I have not seen my codes running at...