"time dilation" is not the right word here as that is something else.
(have just been watching some SciFi series and was a little confused)
"time difference" is the proper word
have pin16 some special...
Its using the LED as a photodiode.
https://www.instructables.com/LEDs-as-light-sensors/
By checking the input light in the off period of the LED
edit. thats why it's flashing
I'm using 2x10x 74hc165 to scan a velocity sensitive reused keyboard from a old electric organ
Its scanned 31250 times a second, and i can play that without any problem.
You can also read multiple 74hc165 in...
Latest update includes a fix to the settings-tab
problem:
the settings that was saved was not loaded into the settings-tab, instead the default settings was always showing.
is now fixed (it was because I changed some...
I have now changed the look and function of the workspace tabs
by using the new Node-Red code
So now the tabs can just be moved by drag/drop
instead of using move workspace buttons for a cleaner toolbar
The tab...
To conclude the tests with NW.js
(no install needed, just a zipfile that is downloaded and extracted)
It's basically a Chromium browser with node.js embedded
but without standard browser features like searchbar,...
And also the online version is easier to update.
Mostly I wanted this for storing big source files like wavetables, and to embed images for the GUI design part.
But there is a alternative to local storage, that is...
chipaudette
I agree with you,
And off course the online webpage should also exist,
As it would be sharing the same code as the offline version, but the offline version can have extra features that is not possible...
I was just asking generally to everyone that reads this thread.
JavaScript and CSS
was also alien to me before I started making changes to this Tool,
I had no idea how the JavaScript code was working together,...
I have a idea
What do your think about using?
https://github.com/rogerwang/node-webkit
Building a Cross-platform Desktop App with NW.js
https://www.sitepoint.com/cross-platform-desktop-app-nw-js/
So that...
The schematic is using three pins
SCK LATCH and MISO
74HC165 wont work without the LATCH
see this thread where I have posted some code for reading different kind of input-stuff
...
yes and it don't matter in which tab it's placed, as every "CodeFile" is handled first in the export order.
Note.
when a "CodeFile" is placed in a tab that "CodeFile"-name is automatically added to the include list...
It should not be possible to have multiple main tabs, if so its a bug.
There is a node called code file, i have used it to include the mixer<n> in a file called theMixer.h
That node can be used to include any text...
and by the way i'm planning a
"Extension"-manager-"extension" like they have in the Processing platform:
Not that advanced in the beginning
but something that can easily handle all future "extensions" and...
Hi,
Sorry for the long wait
answers to questions at post #3:
1. This can be selected in the settings @ Extensions-"Manicken Pref Saver"-Settings-"Close Other Editors"
the intension to close other editors is...
have now added force scroll by mouse wheel in gui run mode
press ctrl to activate the scroll function temporarily
can be combined with the shift key to scroll horizontally
also there are two new settings @...
Now there is a settings restore function
at the "Main menu"
it works by saving the design without the settings
then it reloads the window
and in that process the default hardcoded values are used.
I have now...
OK fixed now
It was because I had also added a new setting CodeIndentations @ Arduino-Export-"export code indentations"
I first named it CodeIncrementSpaces and then changed it into CodeIndentations
and forgot to...
Hi,
I have developed some "extensions" to the Arduino IDE
original post
https://forum.arduino.cc/index.php?topic=706855.15
Here is the list of all "extensions" I have developed so far:
1....
I have now added so that the exported zip file can now be imported again.
only use the Import-"JSON LoadFromFile"
and select the previous exported zip file.
Then the "Tool" looks if the "GUI_TOOL.json"
exists...
I have now added a new node-type "ConstructorCode"
that can be used to add custom code at the end of the constructor.
Have also made it more clear when defining the main file:
so that the "main" file can be...
Nice to hear that you like the new tool.
Thanks for sharing the 128 voice GM set,
i will implement some of them,
specially ChurchOrg1 as i play
the intro of Toccata and Fugue
also its good for
In the Hall of...
I have now made it possible to define the main "sketch" file
as a tab in the tool
this makes it possible to split the code into different nodes
even for the main-file (it was not possible before, as everything...
I don't think PDF is not used.
But Gerber files are as they contains all layers
For example: top text, top solder mask, top copper, and drill holes, multiple internal copper layers, bottom layers as same as the top...
Hi,
In July I posted here to show some changes that I had done to the "Audio System Design Tool"
https://forum.pjrc.com/threads/61630-Audio-System-Design-Tool-update-AudioMixerX-lt-n-gt
note. in the following...
You can use UHF:s approach but instead of using time on you can just simply count up a var each time a new note is played and use that as the ref. for first note "replace", using a unsigned long (32bit) makes it...
I have also wanted this,
In the mcu datasheet a Sdram interface is described,
It means we could at least have 32MB extra ram that is much faster than a psram.
And maybe 32mb is enought to buffer data from a sdcard?...
in the TT1060 datasheet
there is two separate SPI units called A and B
they can be mapped to different pins
(not sure if the pin mapping is available in the Arduino framework)
I have done a 80key velocity sensitive piano keyboard scanner using 2x10 74hc165.
So 8x 74hc164 is not that much,
and you could read them in parallel by using 8data+clk+latch=10 pins of the teensy.
You can read...
I think you need to have at least one resistor at each output after the capacitor to avoid shorting the outputs, then you need to buffer the stereo out signals with example a dual op-amp.
Check the schematic of this...
Except in AT mode you need to initialize the wifi module every time the connected device starts.
Also my implementation is completely transparent except for the requirement of ending every message with a linefeed 0x0a...
I wrote this before reading the post #22
It seems like when using additional ino files
class is not supported
even tried using forward declaration of the class:
class Blink;
but the it says
BTW using class makes naming a bit easier,
I am used to program in C where my names always end up like this (to separate names from different included files)
and think it's cleaner to have a dot instead of a _
...
I have a project that basically is a TCP-UART bridge
It works in server mode where a client connects to.
It uses TCP port 8200 for the serial data
and TCP port 8201 for the serial config
the defaults are:
...
Or you could use a voltage comparator lm393
This model have open collector that means you can use a pull up resistor connected to the same supply as the teensy i.e. the 3v3, then the comparator can be supplied by the...
If you go for #3 you should use either .h or .hpp for clarity.
An make it easier for others to understand the code.
I looked at the source and found out that the extensions .hh and .s are also reopened in the IDE...
I think the problem is that when your just create new tabs and dont give them a name with a file extension
.h .cpp .c .hpp (the ones that gets loaded when project is opened)
The ide converts them to .ino files...
ESP-12E is the best because it have "32Mbit" flash = 4MiB (4*1024*1024) bytes
and have built in antenna.
ESP-07 have a external antenna connector, the same found in wifi-routers and laptops.
none of the...
or you could just buy the bare chip and the required flash-memory
+ some external components, and make it a absolute minimum design.
there is also ESP-05
better to look yourself
Ai-Thinker modules section @...
there is this one (it was down in the search result, there was alot of crap above)
https://www.ebay.com/itm/ESP-8266-WIFI-Module-ESP-01-01S-02-03-04-05-06-07-08-09-10-11-12-12E-12F-13-14/401242395732?var=670839725981
...
there is maybe 3 ways of doing this:
1. the "gonna be messy" one with code directly splitted in each tab.
2. the C variant with cpp class header file .h + cpp (functions) .cpp
3. the more like C# JAVA style, with...
ESP-09 is the smallest I have seen measuring (10x10mm)
but it's needing a pcb to make the mounting easy,
it have enought pins for a microsd-card
and the sdcard could probally be on the back of the custom pcb.
I don't really understand how digitalWriteFast should make it faster,
it's fast for the first set of pins
but for pin 54 it have to go through all the first 0-53 pins so there is a shift in time which pin you use, ...
Yes it looks complex but it's really easy to work with, you only need to install the vscode extension, and it starts installing needed things automatically(no need to install the specific board manually) the only thing...
First ensure that the MLX90614 is 3v by checking the part code written on the casing. Also those devices have programmable address which only can be changed using global i2c address with only one device on the bus.
If...
I have now added support for simple export of the following items:
IncludeDef
Variables
CodeFile
Function
the simple export has the following format:
var cppAPN = "// Audio Processing Nodes\n";
var cppAC =...
@wrightflyer
I am sorry but some objects are not exported when using simple export.
That is a work in progress,
I have spent time of getting the "export classes" to work.
But I have been thinking of a solution...
I have tried to compile a similar program on:
At a VM with Catalina (only used for testing my new extensions) the compile time is much faster.
If I look at the compile output it have the similar functionality as the...
found a solution
by adding build.path to preferences.txt (in windows located at %userdir%\AppData\Arduino15)
example that creates a folder inside Arduino Install dir.
build.path=.\buildTemp
this will ensure...
Now I have compiled the same project
First Arduino IDE (~40sec)
And the the same "sketch" imported as PlatformIO project (14.4sec)
the output logs are in the attachments
So there you have it, platformio is...
I did not use Audio.h at all
and I only included the needed files,
but still it compiles all C files in the audio folder,
I can see that by enabling the compile log output.
I'm not talking about some seconds, it...
I have a question
Is there any way to just compile the files needed?
I tried to remove all
these includes:
//#include <Audio.h>
//#include <Wire.h>
//#include <SPI.h>
//#include <SD.h>
First a little how Arduino IDE works with preferences (settings)
(Instance=when the IDE is started from the OS)
When the IDE starts it loads the pref. file
Then directly after it saves it back
Every time a...
It works this way
When its "Activated" by the user, it takes those listed items above
and save them into a preferences.txt at the sketch folder (alias the project)
When this sketch is loaded again, while had...
I have make a kind of working prototype as a (Arduino IDE Plugin/Extension/Tool) so it works on any OS.
It works like you want, by having certain preferences saved to current sketch folder
available at:...
I meant the plugin feature is forgotten,
there are not many people knowing that the Arduino IDE has a plugin feature, or how to use it (because there are not any complete documentation and the API is somewhat...
This question has been up in the Arduino forum.
There is some workarounds but I don't think they are very good.
https://forum.arduino.cc/index.php?topic=355940.0
Best way of doing it would be to create a plugin...
Did you know that you can install teensy in the "sketchbook folder"
And by that way use teensy in Windows App without even touching the original (Arduino IDE) install.
I just tried to copy all teensy related stuff...
Here is a description how you add a custom Object to the gui:
there are 3 things that needs to be copied for a complete node:
first at the NodeDefinitions:
<script type="text/x-red"...
I looked at the source before, and you already have custom names, what I mean was to have them separated in different files, I have noticed that Paul also puts many classes in the same file, I think that's making it...
I think it's best to release it now more like some "extensions" called AudioWaveformExt and AudioWaveformModulatedExt to make them more available to the public, and also make sure that the new names don't collide with...
Is it a separate audio object?
Of what I can read from the changes
It more like additional waveforms added to the existing waveform objects.
If so then how do you use it?
You can always add new objects by edit the...
sometimes this teensy driving me crazy
I have this code:
#include <Audio.h>
#include <Wire.h>
#include <SPI.h>
#include <SD.h>
#include <SerialFlash.h>
maybe it's some bug (I run the "old" teensyduino ver @ Arduino 1.8.13)
also USB audio I/O don't can take "control" responsibility for calling update_all()
found in the source:
// update_responsibility =...
I tried it myself, using USB audio signal in (don't have official audio board with input) and PT8211 on the output
like you said no signal, but then I remembered , if there is no output nothing happens (read it...
How do you define a clipped audio signal, and how do you then play synth-music that contains sharp edges.
https://www.reddit.com/r/WeAreTheMusicMakers/comments/1ppywn/could_we_dispel_the_myth_that_clipping_andor/
...
The "line in" is not that 3.5mm, that is the lineout
Search for teensy audio board line in. An if you are trying to mix the two signals (both from teensy and Bluetooth receiver) you should use two resistors
Its hard to analyze the problem without AudioOut class code. Right now it seems like you are making a connection to the AudioOut class and if that class is not inherited from AudioStream that is one "problem"
/Jannik
Actually of what I understand the float value is never used between audio objects, float is not a good way of storing audio values because of its structure.
The floats are only used to make it easier for a user...
and because there is no special thing with the LED:s
you can use the standard
shiftOut(dataPin, clockPin, LSBFIRST, j);
https://www.arduino.cc/reference/en/language/functions/advanced-io/shiftout/
and have a...
Hi,
I think the 74hc595 will do it + the existing 74hc4017 or a separate if you need a different refresh rate.
schematic (separate 74HC4017):
schematic (common 74HC4017):
in the common version I have used...
I have now tried to upload the code to the teensy4
but it did not work at first (expected a little)
there was something strange happening with the theMixer.h,
anyway here is the working version (in it's original...
I updated the tool with a new item IncludeDef
and fixed one code-editor autocomplete bug.
if you get a error notification about IncludeDef
clear browser cache, because github is a little slow
note.
sometimes...
ok here is the complete example
you can read the comment of note on in SynthMain.h
fyi: theMixer.h implements something called template
it means that when doing the instance:
AudioMixer<4> mixer;
this is gonna...
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,Java) both PC and embedded systems, electronics
Occupation:
bachelor of electronics and computer engineering, currently unemployed