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...
Type: Posts; User: manicksan
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...
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.
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...
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
/*
*...
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...
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...
Check this
https://forum.pjrc.com/threads/64225-Newbie-on-PlatformIO-with-Teensy?p=258173&viewfull=1#post258173
Post #8
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...
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...
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
I would ask the threadstarter
what specific devices are you gonna use?
Just to clarify some things
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
yes it uses the progmem syntax
static const PROGMEM uint32_t sample_0_Backsaw_BACKSAW[20864]
and contains
AudioSynthWavetable::SAMPLES_PER_MSEC
which was only
SAMPLES_PER_MSEC
in the old...
Your could use simple levelshifters as this one
https://www.sparkfun.com/products/12009
There is also special ics that make that possible.
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...
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...
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...
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,...
this is something similar
https://hackaday.io/project/8181-ws2812b-delay-splitter
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...
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...
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...
here is a pinout your keyboard ic (it's a KS86C6404) and the teensy 2.0++
2356123565
you could probably fit it you you rotate the teensy around
scrape/cut the tracing leading to the KS86 pins...
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...
In this part you are not checking for buffer overflow
Which can corrupt any data that is alligned after the buf
buf[idx] = c;
idx++;
buf[idx] = '\0'; // here is no check if the buff gets...
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...
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.
can the following be used in platformio.ini???
-O2
-O1
-O3
-Og
-Os --specs=nano.specs
I can now generate:
(platformio.ini)
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...
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...
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.
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
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...
a note about the attached SoundfontDecoder
it only contains the changed files and must be extracted in your current SoundfontDecoder folder
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...
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.
can you post the compile error output
it can be because you are using a old version of Soundfontdecoder
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?
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.
I don't know if I can do that as my version of the index.html is heavily changed.
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...
how do you think about this
https://www.neatcircuits.com/audiosw/index.html
Yes that is the cause as
5aaaaaaaaaaaaaaaaa5
is 20 characters long including the \n char
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...
i can send this line without any problem ($0a is the \n in the terminal program that I use)
...
this simplified example works for me
char buff[1000]; //buffer for serial data recive from PC
char line[17];
int scen_min = 0;
int scen_max = 18;
void setup()
{
ok found it
https://www.pjrc.com/teensy/td_uart.html
but then how do you use the dual or triple usb serial
I find this unexplained (with the first only working):
void setup()
{
Serial2.begin(9600);
Serial1.begin(9600);
Serial.begin(9600);
}
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
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