Forum Rule: Always post complete source code & details to reproduce any issue!

Search:

Type: Posts; User: manicksan

Page 1 of 10 1 2 3 4

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    83

    You could also mount them side by side, I have...

    You could also mount them side by side, I have myself not been thinking of that variant as I thought the wires got to long that way.

    But have now long pins stackable headers on both the teensy and...
  2. But Paul have a OSC fork, isn't that what we are...

    But Paul have a OSC fork, isn't that what we are using?
    If so then the needed updates could be pushed to that instead?
    At least for the moment.

    The naming of links actually only use one...
  3. I did a plugin for Arduino IDE that saves the...

    I did a plugin for Arduino IDE that saves the build output to the sketch folder, and therefore it's saved between sessions.
    https://github.com/manicken/arduinoIDEsketchBuildPath
  4. Replies
    46
    Views
    1,477

    By reading synth wiki It's a polysynth with...

    By reading synth wiki
    It's a polysynth with first note priority

    https://en.wikipedia.org/wiki/Polyphony_and_monophony_in_instruments
  5. Replies
    46
    Views
    1,477

    But it can play multiple different notes at the...

    But it can play multiple different notes at the same time, is not that what's called a polysynth?
    That system even 'recycle' recently played notes so it you repress a key before the release has been...
  6. Replies
    46
    Views
    1,477

    and there is also this hello world design I...

    and there is also this hello world design I created
    https://raw.githubusercontent.com/manicken/manicken.github.io/master/examples/HelloWorldBlinkLed.json
  7. Replies
    46
    Views
    1,477

    I have now created a simpler variant of my...

    I have now created a simpler variant of my PolySynth
    check this post
    https://forum.pjrc.com/threads/69316-how-to-declare-multiple-similar-objects?p=298867&viewfull=1#post298867
  8. here is a complete working 8 voice poly synth...

    here is a complete working 8 voice poly synth (the voice count can actually be anything up to 255)
    it uses both USB and hw-serial MIDI
    note. that it's using passthrough:
    hw-serial MIDI -> USB
    but...
  9. Now the connection names are generated like this...

    Now the connection names are generated like this
    which at least don't generate any doubles
    need to fix these as most of the time the paths are not needed
    because the connections are created in a...
  10. I was just to say that bus wires is now supported...

    I was just to say that bus wires is now supported coming out from classes

    but spotted some duplicate connection names in the output at class inputs.

    the get link name function is a mess
    need...
  11. I did look at the pyserial source code and when...

    I did look at the pyserial source code
    and when doing a read it calls the kernel32 (windows)
    to get any data
    I guess this takes a little time to do

    so for every "request" this time adds up to a...
  12. Now I have done some restructuring of the code...

    Now I have done some restructuring of the code again, it's the third time now
    but now the output order is more structured and easier to read, also it follows the design better.
    Also fixed some...
  13. Replies
    6
    Views
    178

    In Arduino IDE @ Tools-USB type you can select...

    In Arduino IDE @ Tools-USB type you can select
    either
    Dual Serial
    or
    Triple Serial
  14. @tsan It takes ~15-20mS on windows 10 as well,...

    @tsan
    It takes ~15-20mS on windows 10 as well, using python 3.9.0

    I did try to send all data 30000 items in one go ending with a newline
    and receiving it in python with readLine()
    still no...
  15. I did put in a bytes/s calculation and it shows...

    I did put in a bytes/s calculation
    and it shows around 5Mbyte/s

    the code in the teensy (to send 1M in one 'chunk'):


    void setup() {
    // put your setup code here, to run once:
    ...
  16. just of curiosity I did the test using javascript...

    just of curiosity I did the test using javascript WebSerial API

    there the receive time is only 27mS :cool:
  17. binary data would not save anything if only one...

    binary data would not save anything if only one digit + two decimal places are printed
    as a float is 4 bytes which is "equal" to 0.00 (same amount of bytes)
    in the other hand skipping the \r\n...
  18. I did try it in C# and there the receive time...

    I did try it in C#
    and there the receive time was only 2s


    namespace WindowsFormsApp2
    {

    public partial class Form1 : Form
    {
    List<string> lines = new List<string>();
  19. Windows 10

    Windows 10
  20. I tried this (my first program in python): ...

    I tried this (my first program in python):



    import serial
    import time
    ser = serial.Serial('COM5', 0)
    dataRawLine = []
    fifo = []
    data = []
  21. receiveWritable() receives a copy of the data...

    receiveWritable() receives a copy of the data block to which you can manipulate the data. This is the first thing that happens in the mixer object to "create" a datablock that can be sent to the...
  22. Replies
    6
    Views
    178

    If you mean "virtual by USB" then there is Dual...

    If you mean "virtual by USB"
    then there is Dual and Triple variants
    but by default those don't support "USB audio" and/or "USB MIDI"
    there is people here (including myself) on the forum that have...
  23. you can also use a struct then you can keep the...

    you can also use a struct
    then you can keep the variable names +access the items in a loop

    after a lot of trial and error I found out that you can do it like this


    struct IntVars {
    int...
  24. A small solenoid that you just turn on for a...

    A small solenoid that you just turn on for a small amount of time maybe limit it with some rubber to avoid the clicking sound.
    Or if you have a old hard drive there is the read arm that is driven by...
  25. Good work! I have made the 'circular reference...

    Good work!

    I have made the 'circular reference check' error notification output the path,
    also made the notifications animation faster + fast close by clicking them

    Fixed so that it's possible...
  26. For your example ResponsiveAnalogRead...

    For your example

    ResponsiveAnalogRead *pot[32];
    int i=0;
    while (i<16)
    pot[i++] = new ResponsiveAnalogRead(38, true);

    while (i<32)
    pot[i++] = new ResponsiveAnalogRead(39, true);
  27. Just gonna say that the problems should be fixed...

    Just gonna say that the problems should be fixed now
    no stereo mixer support yet/or bus wires.
  28. ok think I fixed the above problem there is...

    ok think I fixed the above problem

    there is still a problem when trying to connect a multi output class/object to the mixer
    i.e. when connecting two or more outputs
    so no stereo mixer support...
  29. I was a little hasty Have now found some bugs in...

    I was a little hasty
    Have now found some bugs in the OSC group export
    when having something as simple as
    main:
    27284

    monoVoiceWithArray:
    27285

    monoVoice without array:
  30. I have been thinkin of that for a very long time,...

    I have been thinkin of that for a very long time, node-red have that functionality
    Have now imported that function, and did some changes to make it work with the current structure.
    So now you can...
  31. Live edit of array/class is currently not...

    Live edit of array/class is currently not supported.
    as I still struggling with the group export

    have also implemented the navigator map (taken direct from node-red)
    available at the zoom...
  32. The stereo mixer works, it is just that the...

    The stereo mixer works, it is just that the inputs are gonna be put in the following order:
    L0 L1 L2 R0 R1 R2
    Instead of (expected)
    L0 R0 L1 R1 L2 R2
  33. Now it's possible to do a design like this (only...

    Now it's possible to do a design like this
    (only in OSC group export)
    i.e. arrays of classes and standard objects now possible
    (main)
    27265
    (monoVoice)
    27266
    (sub)
    27267
  34. Replies
    23
    Views
    406

    I did this, nice that almost all the pins are on...

    I did this, nice that almost all the pins are on one side
    27261
  35. Replies
    23
    Views
    406

    yes but that would be very slow, specially if you...

    yes but that would be very slow, specially if you want to write data back to the 6502 bus
    and why not use the GDIR directly, there is no problems doing so.
  36. Replies
    23
    Views
    406

    also need to mention that you have to use the...

    also need to mention that you have to use the
    GPIO6_GDIR to set the data directions
    i.e.
    GPIO6_GDIR &= 0x00FF; // to set pins to inputs (bit16-31)
    GPIO6_GDIR |= 0xFF00; // to set pins to outputs...
  37. Replies
    23
    Views
    406

    here is a sorted by (GPIO groups) outtake from...

    here is a sorted by (GPIO groups) outtake from core_pins.h
    the core pins I assume is the pin number given to Teensy PCB
    then GPIOx_DR is the data register
    there is also
    GPIOx_DR_SET,...
  38. Replies
    9
    Views
    954

    Just to clarify MIDI is just a protocol using the...

    Just to clarify MIDI is just a protocol using the serial port set to baud rate of 31250. I believe that almost any MCU that have a serial port can do MIDI. And the MIDI protocol is not that advanced...
  39. All the "commands" in the Tool are declared in...

    All the "commands" in the Tool are declared in one place
    that means it's very easy to change them.
    I took
    crOb
    crGrp
    crCo (which I renamed to createConnection for clarify the debug output in...
  40. so if I understand this code correct (taken from...

    so if I understand this code correct (taken from effect_fade.cpp)


    dir = direction;
    for (i=0; i < AUDIO_BLOCK_SAMPLES; i++) {
    index = pos >> 24;
    val1 = fader_table[index];
    val2 =...
  41. Is not the update called 44100 times a second? ...

    Is not the update called 44100 times a second?


    I did that as well with the "c++ template mixer code"(now replaced with Tool Built in code),
    don't really know why the original mixer code looks...
  42. Yes by looking at the datasheet there is both a...

    Yes by looking at the datasheet there is both a parametric EQ and it also have a AVC Compressor/Expander
    I'm sorry if I confused you but I actually did not know, I have not yet begin to use the...
  43. Replies
    9
    Views
    4,117

    have you seen this thread?...

    have you seen this thread?
    https://forum.pjrc.com/threads/68798-Open-Sound-Control-(OSC)-Teensy-Audio-Library-Implementation

    That lib also have the capability to do static allocations that should...
  44. would this not work as a parametric EQ? 27231

    would this not work as a parametric EQ?
    27231
  45. this is my version of the mixed fade...

    this is my version of the mixed fade functionality
    no need for any special calculations

    in .cpp file


    void AudioMixer::update(void)
    {
    audio_block_t *in, *out=NULL;
    unsigned int channel;
  46. there is however a compressor in the F32 lib that...

    there is however a compressor in the F32 lib that you can use together with the current lib
    see this thread
    https://forum.pjrc.com/threads/68966-Limiter-for-polysynth
  47. But as long as the websocket connection is open,...

    But as long as the websocket connection is open, data can be sent in both ways.

    And if the final system need multiple control surfaces/audio generators to be updated maybe it needs some kind of...
  48. only supported by Opera Unite in the Opera...

    only supported by Opera Unite in the Opera browser

    https://en.wikipedia.org/wiki/List_of_server-side_JavaScript_implementations


    The only thing that all modern browsers support is WebSockets...
  49. That way you can also separate the pt8211 instead...

    That way you can also separate the pt8211 instead of having it underside the teensy you just have it on the side, and the routing wires are all short and nice
  50. You can use the i2s port 2 which is pin to pin...

    You can use the i2s port 2 which is pin to pin compatible with the pt8211 the routing is much nicer that way
    Teensy pins
    2 3 4
    Pt8211 pins
    3 2 1
Results 1 to 50 of 500
Page 1 of 10 1 2 3 4