If you want to make complicated and/or huge designs
maybe this can help:
https://forum.pjrc.com/threads/65740-Audio-System-Design-Tool-update?highlight=Audio+design+tool
That also makes it possible to use custom...
There are these threads:
https://forum.pjrc.com/threads/62166-Dynamic-Audio-Connection-Bug
https://forum.pjrc.com/threads/64446-Dynamic-Audio-Connection-Bug-A-new-one!
In the "a new one" specially check post #5...
@h4yn0nnym0u5e
Creating and using dynamically/runtime created
Audio Objects would need some kind of object manager and/or some modification's to the whole Audio library.
It would be possible and I have some ideas...
By the looks of it the mcp23s17 can have adressing which means that your only need one CS for all the expanders, the other pins are then connected in parallel.
http://www.ermicro.com/blog/?p=1050
I found a error
at the line in the #if defined(KINETISK) part:
void outputGain(unsigned int bus, float gain) {
if (bus >= 16) return;
it should be
void outputGain(unsigned int bus, float gain) {
if (bus >=...
There is this dynamic matrix switch,
unfortunately I haven't tested it,
but see no reason why it should not work.
https://forum.pjrc.com/threads/59212-Audio-Router-Module?p=271498&viewfull=1#post271498
It is...
There could be a "sandwich" SMD adapter board with cutouts when using castellated pins
that just "extend" the pins down a level
https://hackaday.com/2019/01/18/oreo-construction-hiding-your-components-inside-the-pcb/...
Have looked at the polysynth example
so basically you create a custom "super" Audio object.
It's good implementation
I found one error in your polysynth example...
@Allineer
2.54 connector?
the ethernet connector is 2.0mm
but all other pins are 2.54mm(0.1")
(I usually use the metric system)
+features
One extra feature that would be better than many IO
is to have 64MB...
I vote for something like this (to get all pins + extra GND:s)
as homemade pcb:s with 0.15mm tracks is possible (to fit two tracks between each pin)
the ic above is a pic32mx360 0.4mm spacing (I have never used...
If you connect a nc switch between VIN and VUSB with the external voltage pad cut (the pads in your schematic cutout at the top left)
You would get a complete power cycle reset.
To achieve what you want
you need to split the printBytes into many calls/iterations from the "main"-loop (i.e. multitasking)
Also to do this you probably need to make a copy of the received byte array of...
Think you need the different USB flags as well:
(i.e. when using build_flags = -D)
Build-flag | Description (as in Arduino IDE)
-------------------------|--------------------------
USB_SERIAL ...
This is how I allocate my poly-synth
https://github.com/manicken/teensy4.0polysynth/blob/ba1289cf68112bb3cd0cc6b4471ddb2dce836c95/src/Synth.h
line 88-122
the sustain part is
line 123-139
then in Voice.h
...
but then when I look at the AudioSynthWaveform source code that should not matter,
as the begin function don't do any special things except setting the values,
which if not changed should not introduce those...
Aren't doing Osc1.begin in the main loop a little to fast changing/starting the waveform?
You should only call the .begin function once when the waveform change command is received.
of what can understand is that you want to have a constant name output node which just transfers the data from the input to the output
that is basically what you are doing right now
it's a good concept but add...
the current version can be downloaded from
https://github.com/manicken/manicken.github.io
I have updated it with the ladder filter.
Other functionality???
This is a modified version of the official tool....
Ohh I forgot about that part, you need a toggled state functionality.
Example for b0
bc = digitalRead(5);
if (bc == LOW) {
if (b0 == LOW) {
b0 = HIGH;
usbMIDI.sendNoteOn(60, 99, 0);
}
}
You could try to use external pull-up:s . As the internal pull ups are very weak in your case.
You could try different values 10k 4k7 3k3 1k and see where the random clicks dissapear.
I have discovered some bugs that will soon be fixed
* cannot import a "old" Arduino design (i.e. designs made by the official Audio Design Tool)
* when exporting as "class based" design there is some extra stuff...
I have answered that question on your original thread
https://forum.pjrc.com/threads/66608-How-to-instanciate-AudioConnection-with-in-a-class?p=273538&viewfull=1#post273538
Don't think there is any special reason that you should need to do this, except when you are designing very specific audio objects.
You are only making it unnecessary complicated.
Otherwise using my modified tool is...
Your can check my example at https://manicken.github.io
Available at the Tool (top-right menu) -examples-"manicken poly synth"
I belive it's a simple example.
I have used the code from "Notes and Volts"...
Have your seen this?
https://forum.pjrc.com/threads/43752-Crosspoint-Mixer
And
https://forum.pjrc.com/threads/41371-Quad-channel-output-on-Teensy-3-6?p=142088&viewfull=1#post142088
There is this extended Tool that allow this.
https://Manicken.github.io
There you can group items into a voice class.
There is one example at the main menu- examples-poly synth.
That describes how to use the tab...
If they are poper c++ files
Using classes the merge should be possible without any issues, however if there is non classed functions with the same names in the CPP files then you get conflicts.
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...
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...
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
/*
* Created orginally: Chip...
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.
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.
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...
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...
Jannik Svensson is my name.
Manicksan is from manicken that is a nickname given in school, teanslates to "contraption" and san is from the japanese honorific titles meaning in my case mr. (found out while working a Sony Mobile Communications when i was working/developing on their automation software for testning mobile phones and because it was used in japan as well i was responsible for the Communications about bugs and related stuff)
Location:
Sweden
Interests:
Programming (C,C#,C++,JavaScript/TypeScript,Java) both PC and embedded systems, electronics, music
Occupation:
bachelor of electronics and computer engineering, currently unemployed