-
Older Activity
-
Today, 07:58 PM
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:...
11 replies | 484 view(s)
-
Today, 07:46 PM
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...
2 replies | 84 view(s)
-
Today, 07:26 PM
Kurt:
This is the way that I have done it currently:
if (currentTime == 0) // Seconds = zero.
{
if (currentTime == 0) // Minutes = zero.
...
1376 replies | 105538 view(s)
-
Today, 07:25 PM
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...
0 replies | 3 view(s)
-
Today, 07:20 PM
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...
11 replies | 484 view(s)
-
Today, 07:17 PM
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...
71 replies | 5798 view(s)
-
Today, 07:09 PM
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...
471 replies | 210719 view(s)
-
Today, 06:46 PM
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 =...
11 replies | 484 view(s)
-
Today, 06:36 PM
Replied to here: https://forum.pjrc.com/threads/70553-Teensy-4-0-based-Audio-Guestbook?p=323057&viewfull=1#post323057
11 replies | 484 view(s)
-
Today, 06:36 PM
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,...
9 replies | 135 view(s)
-
Today, 06:32 PM
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...
290 replies | 25818 view(s)
-
Today, 06:26 PM
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...
1 replies | 77 view(s)
-
Today, 06:10 PM
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,...
0 replies | 15 view(s)
-
Today, 05:41 PM
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...
0 replies | 41 view(s)
-
Today, 05:02 PM
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...
290 replies | 25818 view(s)
-
Today, 04:55 PM
@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,...
717 replies | 114794 view(s)
-
Today, 04:13 PM
Any thoughts re my comment above? Search for '705' above.
11 replies | 484 view(s)
-
Today, 04:11 PM
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...
3 replies | 67 view(s)
-
Today, 03:58 PM
You are right... For awhile, I did not see ones from some libraries I have worked on... like FlexIO... But it is there now
Thanks
717 replies | 114794 view(s)
-
Today, 03:49 PM
...loads of ReadMe.txt and other text/help files in my Teensy Libraries stored in C:\Program Files (x86)\Arduino\hardware\teensy\avr\libraries.
717 replies | 114794 view(s)
-
Today, 03:25 PM
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...
717 replies | 114794 view(s)
-
Today, 02:36 PM
I will do a thank you to the community here. And I will give that a shot. Thank you for your time and help.
11 replies | 221 view(s)
-
Today, 02:32 PM
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...
717 replies | 114794 view(s)
-
Today, 02:25 PM
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...
19 replies | 272 view(s)
-
Today, 01:28 PM
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...
71 replies | 5798 view(s)
-
Today, 01:24 PM
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...
71 replies | 5798 view(s)
-
Today, 01:17 PM
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:...
4 replies | 233 view(s)
-
Today, 12:48 PM
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...
717 replies | 114794 view(s)
-
Today, 12:44 PM
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...
71 replies | 5798 view(s)
-
Today, 12:22 PM
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)
{...
71 replies | 5798 view(s)
-
Today, 11:43 AM
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...
19 replies | 272 view(s)
-
Today, 11:00 AM
@wwatson - sounds good and again glad you tracked it down and it was a easy fix.
717 replies | 114794 view(s)
-
Today, 10:43 AM
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...
1 replies | 77 view(s)
-
Today, 10:16 AM
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...
11 replies | 484 view(s)
-
Today, 10:16 AM
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...
290 replies | 25818 view(s)
-
Today, 08:37 AM
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.
...
11 replies | 221 view(s)
-
Today, 07:17 AM
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...
71 replies | 5798 view(s)
-
Today, 06:11 AM
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...
2 replies | 107 view(s)
-
Today, 06:10 AM
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...
717 replies | 114794 view(s)
-
Today, 05:34 AM
Anyways, problem was AUDIO_BLOCK_SAMPLES was set to 128 in the audio library
changing to 256 solved the problem.
1 replies | 75 view(s)
-
Today, 05:21 AM
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...
717 replies | 114794 view(s)
-
Today, 01:46 AM
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?...
3 replies | 67 view(s)
-
Today, 12:48 AM
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
3 replies | 67 view(s)
-
Today, 12:29 AM
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...
3 replies | 67 view(s)
-
Today, 12:02 AM
Sounds like PT8211 would be a useful starting point.
9 replies | 135 view(s)
-
Yesterday, 10:50 PM
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 :)
4 replies | 103 view(s)
-
Yesterday, 09:56 PM
/**
* 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...
11 replies | 484 view(s)
-
Yesterday, 09:44 PM
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....
11 replies | 484 view(s)
-
Yesterday, 09:39 PM
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);
...
717 replies | 114794 view(s)
-
Yesterday, 08:51 PM
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...
4 replies | 103 view(s)
-
Yesterday, 08:41 PM
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...
4 replies | 103 view(s)
-
Yesterday, 08:40 PM
@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...
717 replies | 114794 view(s)
-
Yesterday, 08:38 PM
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...
4 replies | 103 view(s)
-
Yesterday, 08:35 PM
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
......
290 replies | 25818 view(s)
-
Yesterday, 08:24 PM
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...
163 replies | 89275 view(s)
-
Yesterday, 08:21 PM
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...
1376 replies | 105538 view(s)
-
Yesterday, 08:16 PM
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...
1 replies | 61 view(s)
-
Yesterday, 08:08 PM
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...
4 replies | 103 view(s)
-
Yesterday, 07:57 PM
Joe:
Than this quote is probably the action to follow:
Regards,
Ed
9 replies | 135 view(s)
-
Yesterday, 07:52 PM
What if it's not an audio application, and you just want 0-3.3VDC at something like 10-100 kHz?
9 replies | 135 view(s)
-
Yesterday, 07:41 PM
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...
290 replies | 25818 view(s)
-
Yesterday, 07:39 PM
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...
1376 replies | 105538 view(s)
-
Yesterday, 06:34 PM
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...
4 replies | 232 view(s)
-
Yesterday, 06:28 PM
+1 to that : see post #52 above to integrate to IDE 2 with added: "platform.local.txt"
71 replies | 5798 view(s)
-
Yesterday, 06:27 PM
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...
471 replies | 210719 view(s)
-
Yesterday, 06:09 PM
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...
9 replies | 135 view(s)
-
Yesterday, 06:03 PM
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...
9 replies | 135 view(s)
-
Yesterday, 05:33 PM
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...
1 replies | 66 view(s)
-
Yesterday, 04:57 PM
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...
290 replies | 25818 view(s)
-
Yesterday, 04:45 PM
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...
71 replies | 5798 view(s)
-
Yesterday, 04:42 PM
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...
9 replies | 135 view(s)
-
Yesterday, 04:31 PM
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,...
11 replies | 484 view(s)
-
Yesterday, 04:25 PM
So whatever I installed as release version, I got the same "weird" behavior so it has nothing to do with that version. It looks like Serial.printf/print are not blocking functions (I thought they were) because if I...
74 replies | 10165 view(s)
-
Yesterday, 04:25 PM
Again I don't use the MAC, except at times for MAC specific issues. I mostly use Windows (main machine has W11), secondary machine Ubuntu 22.04 (or W10)...
Note: At times I think of Ubuntu in the same way that Paul...
1376 replies | 105538 view(s)
-
Yesterday, 04:24 PM
Look at post #689 basically in mscInit comment out the msReset() line.
717 replies | 114794 view(s)
-
Yesterday, 04:05 PM
Thanks for coming back to me... I have already tried to switch the black and yellow wires. Unfortunately without look. Still bad audio. If i increase the volume, the background noise seems to be louder as well. I will...
290 replies | 25818 view(s)
-
Yesterday, 04:02 PM
Note: you will never exit the line: while (1) yield();
74 replies | 10165 view(s)
-
Yesterday, 03:58 PM
That sample is incredibly quiet, so I'm not surprised the noise level is high. From your third image it looks as if you have the mic ground (black wire) connected to the mic input of the audio card ... though of course,...
290 replies | 25818 view(s)
-
Yesterday, 03:44 PM
Thanks Ed, I will direct attention to these.
FTR "accuracy" isn't high on my list at this point. Speed and the fact that there are 2 DACs on the 3.6 are the best feature. This is a teaching environment and I'm...
9 replies | 135 view(s)
-
Yesterday, 03:41 PM
Hi team,
I have a project that uses a Teensy 4.1 as the center, but I'm also using a LC to offload some work. If I can, I'd like to power the LC from the 4.1, to reduce the amount of wiring needed going into my...
1 replies | 66 view(s)
-
Yesterday, 03:35 PM
Jeglin:
Most of the DAC's you will find mentioned here on the forum are used specifically for audio work, and since the human ear is not a linear device a lot hardware design is built in to these products to compensate...
9 replies | 135 view(s)
-
Yesterday, 03:19 PM
Hi, again. Finally get the guestbook working :o thank you all in sharing your knowledge. I have some background noise in the audio recording from the original microphone. Seems there are some interferences in the cable....
290 replies | 25818 view(s)
-
Yesterday, 03:12 PM
Thank you all for your effort, I'm a bit lost, what is the change to finally make? Tomorrow I'll have access to the teensy 4.1 to try all the drives that didn't work for me until now.
717 replies | 114794 view(s)
-
Yesterday, 03:02 PM
hello i used Rawhid example for Teensy 2.0, everything went well, i attempt to choose it for atmega8u2 the board logs in, everything is fine, but when I want to send or receive something, apparently something is wrong...
0 replies | 72 view(s)
-
Yesterday, 02:45 PM
I'm using that release to build a program with a Z80 core emulation.
It worked fine the first times I installed a version which was only working with Arduino IDE 1.8.x (Windows 10) then I tried your 1.58 beta (for a...
74 replies | 10165 view(s)
-
Yesterday, 02:43 PM
Not sure if swapped wires was the problem but I have the same issue -- the wav files play on the phone but there is no audio level when played on a PC. The file sizes look right. I'm using the libraries from...
11 replies | 484 view(s)
-
Yesterday, 02:40 PM
Seeing the same issue with copying large files to those drives from the PC. Just copied a 12gb directory to the drive and took like 10 minutes
717 replies | 114794 view(s)
-
Yesterday, 02:37 PM
Quick update:
The problem child (SDCZ73-032G-G46) that "works now"
https://www.amazon.com/dp/B01FTQP7ZM?psc=1
I was able to transfer a 6.44mb file to it, but it took probably over a minute to complete.
As...
717 replies | 114794 view(s)
-
Yesterday, 02:36 PM
@Garug
Just checked, newest is Arduino IDE 2.0.4 not 2.0.5? Regardless IDE 2.0 serial com is not ready for prime time. It can't catch the 1st output lines and doesn't update the window to the latest lines without...
71 replies | 5798 view(s)
-
Yesterday, 02:27 PM
Thanks for digging and finding the issue!!!!! I had the easy part. Oh of course I tested the three sansdisk drives I had as I previously mentioned.
717 replies | 114794 view(s)