It's not just you. This probably explains the problems I'm seeing. I have a hub / MIDI / rawUSB device also running concurrently, so my system is putting ehci through it's paces. Sometimes a drive will timeout during...
Okay, I cranked the mic gain up to 52 dB (thank you h4) -- and now the wav has good audio level -- including a terrible noise background! Now I need shielded audio mic lines? Can't do that in the "curly" cable coming...
Thanks for the reply, Paul. I checked the WiFiNINA library and I found a begin call in one of the utility classes. But it is unclear to me that it is called. So, I added one to my code right after setting all of the...
If you are curious about MTP:
The main document I look at when doing this, can be downloaded from: https://www.usb.org/document-library/media-transfer-protocol-v11-spec-and-mtp-v11-adopters-agreement
This gives you a...
Does your program have SPI.begin() somewhere? Or maybe it's inside a library you're using?
If you call any SPI functions without first calling SPI.begin(), your program can crash when it tries to access the SPI...
Odd that you can't attach stuff, not much I can do to help with that! Could be a forum restriction on new joiners, is the only thing I can think of. Can you put the WAV on a DropBox or Google drive, with public access?...
Hi everyone, my name is Andrew and I am looking for some help with programming this guitar, which I call the Kimura Gumo. I run an open source guitar company called Praxis Guitars. All of our guitar designs are...
FWIW, this is the relevant code that I use to connect to the Airlift. But I don't think it is a code problem, since it works fine on the Teensy 3.5.
const uint8_t WIFI_SPI_CS0_PIN = 10; // SPI CS0 used by...
Sure thought I had it when I realized I was recording with the Teensy connected to my PC. So I recorded 00015.wav connected to an external power pack. Still no amplitude in the playback on my PC (the greeting.wav plays...
Yes. Look for the 2 links below the parts placement image. One of those has lots of info, including the parts list. Technically that list is for the older version, but pretty much all the parts are the same. For the...
Hello everyone,
I've been struggling recently with my Teensy 4.0 with audio shield and got stuck with cracking noises from any file including example files from WavFilePlayer. The sound seems to be distorted and...
I installed Beta 3 and everything worked. But I got tired of being nagged about updating my boards, so I reverted to 1.5.7 (awaiting release).
I got this error:
exec:...
That looks like a noisy example uploaded to the forum recently. Here it is before:
and now, after I got rid of a loud glitch at the end, then did Effect / Normalize:
Couldn't hear it before I did that...
EDIT:...
Many thanks for that - SD card tests OK.
The next problem, however...
I downloaded the program for the wedding audio guestbook from https://github.com/playfultechnology/audio-guestbook - and following the youtube...
I have successfully used the Adafruit Airlift board with Teensy 3.5 using SCK/CS/MISO/MOSI pins. I used the Adafruit fork of the WiFiNINA library (which allows one to set the MISO/MOSI/etc pins), and I am able to...
Thank you h4yn0nnym0u5e -- Learned something new today (the conversion of kbps from ksps)! I did the Insert Image thing (and upload of the .jpg file) but it didn't work. I'll try it again here for practice. Guess I'll...
Guarug:
Another Mac user here, to find any folder of file for that matter you can simply use the Go menu in the Finder:
Go/Go to Folder
and then type in the path name into the window that opens, it does not matter if...
What is the recommended way to integrate tycommander to IDE 2.0.4 for a Raspberry Pi(64 bit)? In IDE1, I knew where the files were. In IDE2, umm, I have no idea where they are stored? This is the appImage from...
To insert an image, use the insert image button:
Note you have to choose the file, then upload it.
You may need to zip a WAV file in order to upload it, not sure.
705kbps is correct: 44100 ksps = 88200 kBps =...
A good solution for student lab use might be the Adafruit MCP4728 quad 12-Bit DAC
https://learn.adafruit.com/adafruit-mcp4728-i2c-quad-dac
It's reasonably priced at $7.50 and in stock. It uses an I2C interface,...
I am right about the chunk lengths - here's the Goldwave error message:
As I also noted, I have players which play the resulting files without complaint; but I don't think it's totally unreasonable to say "it could...
Starting from your code, I made a short working program that reads your 20 x 2-byte locations, increments and writes them back. This test works for me, with the data shown below. Note that it also works fine if I...
I'd like to build something that can do OTA firmware updates, with no PC or other controller in the loop.
The way I would do this on a non-teensy setup would be to have a small boot shim at the standard boot address,...
I am using Teensy 4.1 with 4 MEMs microphones. I have been using the audio design tool to plot and record the peaks, which has been very helpful, but I would like to record the raw signal. I am looking for the best way...
So I am using a teensy 4.1 and the 4x audio sheild. I'm using the original code to program the board. The only change I made is to use a RAW greeting file instead of a wav file because the wav file playback was...
@wwatson @mjs513 @defragster and all
I hacked up the USB_MTP-logger.ino sketch and added a write file test. Pretty primitive:
void test_write_file(int ch) {
test_file_write_size = CommandLineReadNextNumber(ch,...
So... I've been googling around for CS42448 usage elsewhere for inspiration, and came across the following.. Does it look similar? Other than the teensy specific interface layout, which I could work around with a ribbon...
Sorry, I am just trying to be pragmatic here and go with the flow.
As I mentioned, I have tried to keep things within the ways that Paul has used in some of these areas. And with the case you mentioned, tried to...
The mass storage code definitely isn't doing anything like that, data transfers are being queued with interrupts enabled which means there is the potential for list corruption (due to the interrupt service routine...
I've added a "Using PT8211 Without Audio Library" section which links to this forum thread on the PT8211 page.
https://www.pjrc.com/store/pt8211_kit.html
Hopefully it will help everyone who wishes for use PT8211...
Again I am not a MAC person, but have pulled mine out of the cupboard, and going to update it now... was 2.0.3...
Easy parts: What version of Teensyduino are you running?
With Arduino 2.x:
You can see it a...
On MacOS, the default location when using Arduino 2.0.x is /Users/{username}/Library/Arduino15/packages/teensy/hardware/avr/{version}/libraries/USBHost_t36
The "Library" folder in your home directory is usually...
Ok, I didn't post on the MicroPython forum but I got it working.
- On the Teensy's flash: main.py and all other code
- On the SD card: boot.py, webserver files and log files
boot.py has only one line of code:...
I understand what you are saying, but at least in many of these cases it may depend on who and how these methods are called. For example if you look in Serial.cpp,
where the txTimer is used.
Whenever we start or...
The big frustration is, I have no idea where this is or how to find that 'Look in the USBHost_t36 directory'
This is Mac Arduino IDE 2.0.5
as for "version of Teensyduino" how do I see that. I just installed the...
Maybe one of us (me?) may have left a debug line uncommented.
Look in the USBHost_t36 directory.
And look in hid.cpp for:
void USBHIDParser::out_data(const Transfer_t *transfer)
{...
Many thanks for all the tests and the idea in general. For me these tests indicate that the PT8211 with it's ability of asynchronous communication (no need for a steady data stream) will be perfectly suited as a cheap...
Hello, when I try to migrate a project from Teensy 3.2 to Teensy 4.0, the EEPROM is somehow not keeping correctly the stored values.
I use the simple functions EEPROM.update() and EEPROM.read() to store 20 uint16_t...
Hmm, I cannot reproduce a problem in playing the WAV files recorded with my code, they play correctly and smoothly with different players on different devices.
You may be right that the chunk lengths are...
Hmm, I cannot reproduce a problem in playing the WAV files recorded with my code, they play correctly and smoothly with different players on different devices.
You may be right that the chunk lengths are...
You can but I don't think it's very deserved, I'm sure lots of people could have told you the same thing. It would probably be better to simply thank the community / people on the forum rather than me specifically.
...
I think tough the problem, I am having is more related to USBHost_t36.h
if I update my code to the board with Arduino 1.8.19 it works fine. if I update it with the 2.0.5 I get glitches on the Stream Deck display (it...
I feel I need to add: QNEthernet is very reliable (notwithstanding any undiscovered bugs). My understanding is that it was being called from an interrupt context, and the library is expressly not designed to be used...
Hi, thank you again, both Sandisk drives working now, CSW error is gone, but Kingston Datatraveler G2 keeps initializing infinitely as shown here. Maybe the unit is too old and is faulty but works on Windows, what I've...
Is it just me or are there major race conditions in ehci.cpp? Lots of list manipulation happening without interrupts disabled and isr() being triggered can easily modify those same lists...
As a basic example, look...
Great, I'll look at the updated board then! Looks like it's up to 8 in and 8 out , with the extra ADC chip, nice!
I assume these are line level? Will oshpark assemble, or how hard is the codec chip to solder by hand?...
It wasn't ever turned into a commercial product, but this board was updated for Teensy 4.x. New version also on OSH Park.
https://oshpark.com/shared_projects/gVFy0fWQ
Hi everyone!
I came across the audio board that Paul Stoffregen made up that provides for 6 inputs and 8 outputs on oshpark ( https://oshpark.com/shared_projects/2Yj6rFaW ). Wondering if that ever made it to a...
Great - glad the problem fixed and working now ...
Didn't get as far as clicking the screen shot to post ... though did wonder why the tiny words didn't look like the console output :)
/**
* Audio Guestbook, Copyright (c) 2022 Playful Technology
*
* Tested using a Teensy 4.0 with Teensy Audio Shield, although should work
* with minor modifications on other similar hardware
*
* When...
Thank you h4yn0nnym0u5e. New here -- didn't seem like my question needed my sketch (since it's all pretty much copy/paste) but I can do so next. For now I've imported a wav into Audacity and I see a flatline of audio....
I am still sort of curious on the speed of these drives:
So put an elapsedMillis into the sendObject code, and at the end (debug >= 1)
printf("SendObject complete size:%u dt:%u\n", size, (uint32_t)emSendObject);
...
changing the serial port fixed it, thank you so much! <3
i was on COM1, when the port i was supposed to choose is COM4
I'm new to programming with Arduino boards, so I'm not surprised that I missed something this...
This is the build console output:
7. the ouput only displays memory usage stuff:
To see the USB Serial output the Serial Monitor must be opened.
With the Teensy selected under: Tools / Port
On keyboard for IDE 2...
@KurtE @mjs512 - Decided to just comment out "msReset()" call. Updated my version of USBHost_t36 with @PaulStoffregen version and did a PR for it and extending the timeouts defined in "msc.h".
Glad to see a lot of...
It works on mine:
Note: if it does not work, try to make sure it is trying to write to the Teensy port code and not the generic Arduino port code.
You should see it in the tools menu:
Also should make sure...
It's not quite as simple as that, unfortunately. Here's a selection of the MTP enable / disable code, as found in the original repository:
uint32_t MTPcheckInterval; // default value of device check interval
......
Hi folks,
Just wanted to inform others, who may be using the OSH Park PCB for the original Teensy 3.6 CS42448 IC that, after 3 days searching for a code error to explain why my 7th AOUT channel was exhibiting inverted...
Personally I would only send one device reset event, after you have changed the file or file(s).
What it does is it tells the host to end the current session, the host will send MTP a new begin session, at which...
Seems like this is SPI slave mode. Teensy's standard SPI library does not support slave mode, but if you look at the SPI page of the PJRC site, you'll see links to libraries for SPI slave mode, several of them by user...
oh hi,
i have a Teensy 4.1 that does not give me anything in the Serial Monitor
- the Teensy 4.1 has been purchased on 17.03.2023 from a 3rd party retailer
- nothing is wired in currently
- OS is Windows 10 Pro...
Hi everybody,
I have a problem with my audio guestbook with bad record with my micro.
I test code of DD4WH and there is issus with record. I test code of playfull and all is OK with record. So, I think the MTP...
Kurt:
What does an F5 do on Windows? I have not used Windows for a long time.
So, you are saying that I should use the "MTP.send_DeviceResetEvent()" after I close the file and then when I open it again and change...
A new example of a speech sketch been posted here. It has some improvements over the previous one, and makes it easier to integrate with your own code.
-Removed most delay functions and now relies on isPlaying to...
Repost from 1.58 Beta 3 thread:
For anyone {USER} using TyCommander - or looking for an IDE 2.0.3 solution to the symptom of poor Serial Monitor connectivity/usage.
Install TyCommander to some {PLACE}
Then in...
Yes, with the Teensyduino supplied Audio library, the DAC operates at 16 bit, 44.1kHz.
With the OpenAudio_ArduinoLibrary, you can take it up to 24bit and higher sample rates. Although a sample rate higher than 48kHz is...
If you are certain that your application is AC, any of the DACs will likely work of you. If you expect to do very low frequencies or DC, then the PT8211 becomes a good choice. The PT8211 is a straight-up 2-channel R2R...
Adafruit sells the following cable. It has a micro USB-b female cable that you plug in your power/computer to, and it has two USB-b male cables. The longer cable provides both data and power, and the shorter cable...
This isn't very surprising ... if you record a quiet signal with a lot of noise, turning the volume up will just turn the noise up along with the signal. You need to get a better signal into the WAV file.
I just...
Note: As for the not seeing the last lines... There was a fix since the last released version.
You can download from the main arduino.cc software page.
As mentioned there are still many issues with the Serial...
Jeglin:
OK, I understand as I have been teaching electronics to mostly graduate engineers for over 40 years. It seems that going to a university for an education, for a long time (more than 40 years) is only about...
Post a WAV file that shows the problem? See Forum Rule at the top of every page you visit here ... "details to reproduce any issue".
One issue with DD4WH's fork, which I fixed and got pulled into the original repo,...