-
Older Activity
-
03-01-2021, 09:13 AM
Yes I have also read about the Dynamic connections bug.
The current state is now.
Can
* add/edit/remove custom node def. groups
* add/edit/remove custom node def.
* import and parse from github URL with
.h...
28 replies | 1531 view(s)
-
02-25-2021, 05:44 PM
But I think this will just be a alternative to do
switching by patching AudioConnections
https://forum.pjrc.com/threads/60062-Dynamic-Audio-Connections?highlight=dynamic+audio+connections
but in a more elegant...
28 replies | 1531 view(s)
-
02-25-2021, 04:32 PM
That is exactly how c++ template works
the AudioCrosspointSwitch
is initialized with
AudioCrosspointSwitch<4,8> crossSwitch;
which is a 4 input 8 output AudioCrosspointSwitch
note.
28 replies | 1531 view(s)
-
02-25-2021, 04:12 PM
there is this one
https://github.com/macaba/Audio/blob/master/mixer_crosspoint_16.cpp
https://github.com/macaba/Audio/blob/master/mixer_crosspoint_16.h
from macaba...
28 replies | 1531 view(s)
-
02-25-2021, 03:16 PM
I have a untested solution that is based upon AudioSwitch_F32.cpp from Chip Audette, OpenAudio library
it's basically a Crosspoint switch (not mixer)
AudioCrosspointSwitch.tpp
/*
* Created orginally: Chip...
28 replies | 1531 view(s)
-
02-23-2021, 03:21 PM
you could probably do it
using the code inside:
https://github.com/PaulStoffregen/Audio/blob/master/play_sd_wav.cpp
function:
AudioPlaySdWav::consume(uint32_t size)
which takes care of the wav file decoding.
4 replies | 117 view(s)
-
02-21-2021, 05:25 AM
I think $45 and specially $99 is alot overpriced for a IC that only costs $5 each.
Even with all the components and PCB it would never reach the prices. No its because its made specially for raspberry pi I think.
14 replies | 524 view(s)
-
02-14-2021, 04:04 PM
Check this
https://forum.pjrc.com/threads/64225-Newbie-on-PlatformIO-with-Teensy?p=258173&viewfull=1#post258173
Post #8
2 replies | 97 view(s)
-
02-12-2021, 08:49 AM
Funny thing
I recent bought a cs42448 (+teensy4.1 and some other things) from mouser but did not know then about the extra two inputs provided by pcm1808, if I want the extra two inputs I guess I have to do another...
11 replies | 357 view(s)
-
02-12-2021, 07:46 AM
Your can use a simple buffer as in this post (#29)
https://forum.pjrc.com/threads/66086-Read-txt-file-sent-from-PC?p=268825&viewfull=1#post268825
And when you have received 0x0a (LF or '\n')
You just check the last...
4 replies | 208 view(s)
-
02-09-2021, 09:21 PM
surely it have enough memory for that application
even a pic18f4550 have 32KB flash and 2KB ram
and that worked super as a midi2uart
until I did buy a teensy 4 that could also have the synth part
4 replies | 143 view(s)
-
02-09-2021, 08:59 PM
I would ask the threadstarter
what specific devices are you gonna use?
Just to clarify some things
16 replies | 603 view(s)
-
02-09-2021, 11:23 AM
Maybe you missed this thread
https://forum.pjrc.com/threads/66180-Teensy-4-1-Debug-Mod-Project
it would be the same approach for teensy 4.0
37 replies | 10694 view(s)
-
02-08-2021, 03:56 PM
yes it uses the progmem syntax
static const PROGMEM uint32_t sample_0_Backsaw_BACKSAW
and contains
AudioSynthWavetable::SAMPLES_PER_MSEC
which was only
SAMPLES_PER_MSEC
in the old version
2 replies | 131 view(s)
-
02-08-2021, 10:34 AM
Your could use simple levelshifters as this one
https://www.sparkfun.com/products/12009
There is also special ics that make that possible.
16 replies | 603 view(s)
-
02-07-2021, 11:13 PM
Hi
I Have created a github repository which contains a updated version of the SoundFontDecoder
https://github.com/manicken/SoundFontDecoder
that means it's compatible with the updated version of the library.
and I...
2 replies | 131 view(s)
-
02-03-2021, 01:15 PM
1. I don't think VSCODE will die any time soon.
2. actually the extensions are written in TypeScript which is a typed language, so the "precompiler"(or what to call it) warns when using non typed objects.
then...
27 replies | 2604 view(s)
-
02-03-2021, 09:50 AM
I have an idea to make VisualTeensy multiplatform
why not create a plugin for vscode out of visual teensy
Then Paul @ PJRC only need to have a TeensyDuino installer that don't require that Arduino Is installed
...
27 replies | 2604 view(s)
-
02-02-2021, 10:31 PM
but the easiest way is using the RT1060 input capture mode which can then be used to measure the high pulse time which is the the only one needed to determine if the receiving bit is a zero or one, the low part measure...
6 replies | 267 view(s)
-
02-02-2021, 10:00 PM
this is something similar
https://hackaday.io/project/8181-ws2812b-delay-splitter
6 replies | 267 view(s)
-
02-02-2021, 06:14 PM
the only downside is that it's a BGA
but with 1MM spacing so it could maybe be done using dead bug hand solder
specially if this can be done...
14 replies | 945 view(s)
-
02-02-2021, 05:58 PM
I found the cypress S70KL1281/S70KD1281 while doing a order on mouser (to buy a teensy 4.1 + audio board)
which is a Self-Refresh 16MByte 100MHz DDR (200MBps) with a simple 8bit bi-dir interface (using CS,RW and CLK)...
14 replies | 945 view(s)
-
02-02-2021, 05:30 PM
could be nicely done using a tinyFPGA AX1 to offload the teensy
the tinyFPGA needs a programmer but it can be built using a single pic16f1455 PDIP-14 USB
but then when I think about it the PIC16 also needs a...
6 replies | 267 view(s)
-
02-02-2021, 12:21 PM
here is a pinout your keyboard ic (it's a KS86C6404) and the teensy 2.0++
you could probably fit it you you rotate the teensy around
scrape/cut the tracing leading to the KS86 pins 10 11 12 13 14 15 18 21 22...
6 replies | 227 view(s)
-
02-02-2021, 11:16 AM
Yes you are right, I was thinking wrong.
And actually it's smart to "append" the null char after every receive.
I don't know if there is any use in this case?
The only thing I can think of is when having some ...
37 replies | 724 view(s)
-
02-02-2021, 08:58 AM
In this part you are not checking for buffer overflow
Which can corrupt any data that is alligned after the buf
buf = c;
idx++;
buf = '\0'; // here is no check if the buff gets overflowing
And by the way...
37 replies | 724 view(s)
-
02-02-2021, 07:16 AM
Platformio is the best way, and I don't think there is any good guide how to set it up and how it works.
I was thinking the same yesterday and was planning to do a simple guide (with pictures) how to do it.
The...
166 replies | 9379 view(s)
-
02-01-2021, 09:31 PM
There is also VSCODE + PLATFORM IO which have teensy support.
It's a alternative if you want to program in a more "real" environment.
It's also faster to compile the code.
8 replies | 389 view(s)
-
02-01-2021, 07:30 PM
can the following be used in platformio.ini???
-O2
-O1
-O3
-Og
-Os --specs=nano.specs
I can now generate:
(platformio.ini)
41 replies | 1924 view(s)
-
02-01-2021, 07:20 PM
I have now implemented the export to arduino IDE pref.file
But when doing it for the platformio is a little harder as that cannot use the boards.txt to straight generate the platformio.ini
I can do the -D just...
41 replies | 1924 view(s)
-
02-01-2021, 05:11 PM
I did some restructuring of the example menu
so that it's much easier to add new examples
(by having the menu structure json in index.html)
and to make the menu easier to structure.
For example it now have...
41 replies | 1924 view(s)
-
02-01-2021, 07:59 AM
Final Cartridge 3 on c64 could also run a desktop with movabe cursor and had tools as calculator notepad etc.
And only run on 64k memory.
10 replies | 696 view(s)
-
02-01-2021, 12:18 AM
I did it
removed the whole fork
did a new fork
created a branch called templateMixer
added the changed files
and made a pull request
9 replies | 315 view(s)
-
01-31-2021, 11:53 PM
yes I was thinking of doing a branch, of what I can understand it's the best way of doing it.
I belive the only way to restore back my fork is to delete the whole thing and start over.
That will off course also...
9 replies | 315 view(s)
-
01-31-2021, 05:50 PM
a note about the attached SoundfontDecoder
it only contains the changed files and must be extracted in your current SoundfontDecoder folder
12 replies | 314 view(s)
-
01-31-2021, 05:45 PM
I had little time when I did the last post
there has been some changes to the synth_wavetable.h and the soundFontDecoder provided at PaulStoffregen:s github is not updated
I have attached the new version of...
12 replies | 314 view(s)
-
01-31-2021, 04:52 PM
By the way i did a compile myself
There is some reference errors.
As I also had problems the first time
and the problem is in the soundfontdecoder.
12 replies | 314 view(s)
-
01-31-2021, 04:31 PM
can you post the compile error output
it can be because you are using a old version of Soundfontdecoder
12 replies | 314 view(s)
-
01-31-2021, 03:08 PM
Can I do the same for the template based mixer somehow?
I tried to add a file
but that looks like I only can add one file at a time,
and that's gonna be messy with many patches/pull requests?
9 replies | 315 view(s)
-
01-31-2021, 02:52 PM
I'm new to github
But that was very easy,
when you said "just edit the original"
I know directly how it should be done.
9 replies | 315 view(s)
-
01-31-2021, 12:37 PM
I don't know if I can do that as my version of the index.html is heavily changed.
9 replies | 315 view(s)
-
01-30-2021, 05:57 PM
I have just now made a boards.txt parser in javascript that outputs a json
var treeData = {};
function parse(fileData) {
treeData = {};
const t0 = performance.now();
var lines =...
166 replies | 9379 view(s)
-
01-29-2021, 10:46 PM
how do you think about this
https://www.neatcircuits.com/audiosw/index.html
10 replies | 433 view(s)
-
01-29-2021, 04:51 PM
Yes that is the cause as
5aaaaaaaaaaaaaaaaa5
is 20 characters long including the \n char
37 replies | 724 view(s)
-
01-29-2021, 04:41 PM
I can also agree that Arduino IDE is NOT for beginners
it's like more for advanced programmers who know every syntax
and for those that never make any errors.
But then again the tabs that is not scrollable
oh yes...
166 replies | 9379 view(s)
-
01-29-2021, 04:16 PM
i can send this line without any problem ($0a is the \n in the terminal program that I use)
...
37 replies | 724 view(s)
-
01-29-2021, 04:11 PM
this simplified example works for me
char buff; //buffer for serial data recive from PC
char line;
int scen_min = 0;
int scen_max = 18;
void setup()
{
Serial.begin(9600);
37 replies | 724 view(s)
-
01-29-2021, 04:00 PM
ok found it
https://www.pjrc.com/teensy/td_uart.html
but then how do you use the dual or triple usb serial
37 replies | 724 view(s)
-
01-29-2021, 03:53 PM
I find this unexplained (with the first only working):
void setup()
{
Serial2.begin(9600);
Serial1.begin(9600);
Serial.begin(9600);
}
void loop()
37 replies | 724 view(s)
-
01-29-2021, 02:58 PM
but then when I'm looking at Print.h file
there is this
size_t print(const char s)
which seems to take a array buffer
37 replies | 724 view(s)
-
01-29-2021, 02:53 PM
maybe it's safer to use
println()
instead of
print('\n')
as your terminal program maybe listens for \r\n
and the println includes \r\n
37 replies | 724 view(s)
-
01-29-2021, 02:46 PM
@ luni Yes they do,
But the Serial.print function don't take array as the input (have checked the Print.cpp source)
which is really dumb as you are forced to use the formatted printf which is little overkill in this...
37 replies | 724 view(s)
-
01-29-2021, 02:26 PM
was thinking the serial print was smarter but:
the Serial.print don't take byte array as input (only String)
so the proper print of array buffer would be:
for (int i = 0; buffer != '\n'; i++)...
37 replies | 724 view(s)
-
01-29-2021, 02:04 PM
void scenario ()
{
//line; // don't know what this should be doing so I comment it out
for (int y = scen_min; y < scen_max; y++)
{
if(buffer != '\n')
{
line = buffer;
}
else
37 replies | 724 view(s)
-
01-29-2021, 01:51 PM
sending the whole file should not be a problem
unless the file is very big
and the input buffer of the Serial port gets overflowed by incoming data.
37 replies | 724 view(s)
-
01-29-2021, 01:45 PM
I think you are missing to compare with if(buffer != '\n') in:
(corrected with \n)
void scenario ()
{
line;
for (int y = scen_min; y < scen_max; y++)
{
if(buffer != '\n') // <--- corrected here
{
37 replies | 724 view(s)
-
01-29-2021, 01:22 PM
strange that nobody answered to this
as it's very easy to fix
9 replies | 315 view(s)
-
01-29-2021, 01:16 PM
that cannot be the whole code
as the function calls
ReadDataPC (Serial2.read ());
ReadTimeGPS(Serial4.read ());
is missing the functions in the code
if it is DataPC then you are missing to fill the buffer before...
37 replies | 724 view(s)
-
01-29-2021, 12:15 PM
If you post the whole code it would be much easier to find the problem.
37 replies | 724 view(s)
-
01-28-2021, 05:32 PM
Eclipse Theia is based on VSCODE which is based on Electron
https://en.wikipedia.org/wiki/Eclipse_Theia
https://en.wikipedia.org/wiki/Visual_Studio_Code
But they say that the binaries are freeware.
And as you...
166 replies | 9379 view(s)
-
01-28-2021, 01:02 PM
Teensy is already on PlatformIO
https://forum.pjrc.com/threads/59915-Teensy-dev-platform-4-8-0-for-PlatformIO-is-out!-%F0%9F%9A%80
166 replies | 9379 view(s)
-
01-28-2021, 12:22 PM
Yes there is an alpha version 0.1.0
Here is a direct link(as their homepage is messy and to modern in my opinion):
https://blog.arduino.cc/2020/08/24/cli-and-ide-get-better-together/
166 replies | 9379 view(s)
-
01-28-2021, 11:34 AM
Hopefully soon the Arduino pro ide gets to a more functional state.
As that is just basically VSCODE with a Arduino skin.
I wonder why it take so long, the auto complete is not finished (when they could just use the...
166 replies | 9379 view(s)
-
01-27-2021, 11:11 AM
PIC32 have DMA which can manipulate the gpio registers directly which means it can have similar behavior, there is a good book that you can read
https://energy4all.ru/pic32/books/p32inc.pdf
Page 353 uses DMA to create...
166 replies | 9379 view(s)
-
01-27-2021, 10:27 AM
Two questions.
Who is responsible for the
teensy "platform io" implementation?
As the compiler for the "platform io" is much faster,
and the output(compiler log) is much cleaner and includes a nice tree...
15 replies | 626 view(s)
-
01-27-2021, 09:06 AM
@wrightflyer
I had no idea that you could have a src sub folder in the sketch,
I have tried with using a "instruments" sub folder but without sucess, that's why I invented the DontRemoveCodeFiles node type.
This...
41 replies | 1924 view(s)
-
01-26-2021, 05:00 PM
update:
implemented indexedDB projects
so that now every time the project name is changed
there is a new "file" with that name saved to the indexedDB project "dir"
which can then be opened in the new projects...
41 replies | 1924 view(s)
-
01-25-2021, 02:43 PM
first a note. the location system used only matter if snap to grid is used.
And the choice is mostly esthetic.
the popup only describes the problem when switching between modes.
Maybe I should include these two...
41 replies | 1924 view(s)
-
01-24-2021, 10:38 PM
I think your design was using non center based locations so either you have to reallign all nodes, or uncheck useCenterBasedPositions on all tabs.
I think I need to add a setting menu item to copy current tab...
41 replies | 1924 view(s)
-
01-23-2021, 10:40 PM
It was the setting called useCenterBasedPositions
Because of the bug in #28 caused it to be stored as null
An then when the setting is compared against the def value I use to string() and that cannot take null as...
41 replies | 1924 view(s)
-
01-23-2021, 09:57 PM
it's now fixed
41 replies | 1924 view(s)
-
01-22-2021, 10:33 PM
One thing I dont understand why would Paul have any interest in the Raspberry Pi Pico as that is not his product and dont give him any income, and specially if it dont have any security functions.
If there is...
166 replies | 9379 view(s)
-
01-22-2021, 12:48 PM
I have now checked little how it checks for certain files:
It actually matches a The Arduino Version in arduino.txt with
known filesizes of the existing files, (it looks by the way that it allows the same version of...
17 replies | 595 view(s)
-
01-22-2021, 09:07 AM
A question do your teensyduino install contain all versions of the arduino pde.jar and arduino-core.jar for all supported versions of arduino ide?
17 replies | 595 view(s)
-
01-22-2021, 05:26 AM
The content should look like this (plain and simple but with your version instead)
https://raw.githubusercontent.com/technologiescollege/arduino/master/lib/version.txt
17 replies | 595 view(s)
-
01-22-2021, 05:22 AM
It looks like the version.txt is missing in the arduino installation, you can create one yourself what version of arduino do you have installed?
17 replies | 595 view(s)
-
01-21-2021, 07:01 PM
General Purpose Input/Output (GPIO)
is used by the
Programmable I/O (PIO)
It don't mention any FIFO for the I2S module @ STM32F401
and it also send data in 16bit frames
Reference manual:...
166 replies | 9379 view(s)
-
01-21-2021, 06:23 PM
Latest update includes:
* hardcoded default settings that is used when restoring the settings.
* the default settings is used to get and store only the changed settings in the JSON
(to minimize the size)
*...
41 replies | 1924 view(s)
-
01-21-2021, 04:32 PM
It looks like the RP2040 PIO have FIFO
Loose taken from the datasheet:
The four state machines execute from a shared instruction memory.
System software loads programs into this memory,
configures the state...
166 replies | 9379 view(s)
-
01-21-2021, 01:49 PM
To do a conclusion about the size
by the real picture on their front page
it's actually 0.7inch instead of 0.6inch(standard for most of wide DIL)
So it's actually symmetrical.
166 replies | 9379 view(s)
-
01-21-2021, 12:55 PM
The secure feature is mostly used to make it impossible to read back the content of the chip, not the other way around.
166 replies | 9379 view(s)
-
01-21-2021, 12:52 PM
I think its possible to generate the MCLK as there is 4 state machines in each PIO.
Post #21
I think its really good as now they are coming closer to FPGA tech.
166 replies | 9379 view(s)
-
01-21-2021, 12:27 PM
As expected there is not 16PWM channels
(marketing bs)
Instead there is only 8 PWM outputs each with the inverse output also available
166 replies | 9379 view(s)
-
01-21-2021, 12:10 PM
Taken from the data sheet
The programmable input/output block (PIO) is a versatile hardware interface.
It can support a variety of IO standards, including:
• 8080 and 6800 parallel bus
• I2C
• 3-pin I2S
•...
166 replies | 9379 view(s)
-
01-21-2021, 11:56 AM
On the picture it's symmetrical with two holes outside on each side but its really hard to find what width they are using.
I have looked at one of the PDF and on their demo board they are using a I2S device so it's...
166 replies | 9379 view(s)
-
01-21-2021, 11:24 AM
But it's sad that they did not actually put a "real" raspberry pi on that DIL.
And if the width was to narrow they could just make it 0.1inch wider as the 0.6inch don't really fit symmetrical on a breadboard anyway.
...
166 replies | 9379 view(s)
-
01-21-2021, 10:37 AM
I mean the raspberry pi zero is approx the same price but with 512MB ram which is very good when having large wavetables.
Then what it needs is just a easy to install non GUI Linux that boots in less than 2sec
166 replies | 9379 view(s)
-
01-21-2021, 10:16 AM
Why did they do it so powerless
There is already so many similar mcu:s already.
I would see a raspberry pi zero based one with the same formfactor.
166 replies | 9379 view(s)
-
01-20-2021, 09:45 AM
Here is the calculator code if anyone is interested.
It can be imported by Import-JSON
(don't forget to uncheck the Replace Flow checkbox if you just want to import it into a existing design)
...
41 replies | 1924 view(s)
-
01-20-2021, 12:44 AM
Latest update includes:
* Settings tab categories can have individual colors
(hardcoded but easy to manipulate in code)
* Project Tree View is now functional (except it don't update when adding/moving a...
41 replies | 1924 view(s)