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

Search:

Type: Posts; User: neutron7

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Replies
    3
    Views
    268

    No, you were right, but i had to start at byte...

    No, you were right, but i had to start at byte 100, not 99 and also multiply the float by 2147483648 before saving it as int32.

    Thank you i have wasted a lot of time on that!
  2. Replies
    3
    Views
    268

    something different did happen, it looks like a...

    something different did happen, it looks like a +-1 bit wave.
    Doesn't that read the 4 bytes 0-1-2-3? they need to be 3-2-1-0
  3. Replies
    3
    Views
    268

    opening 32 bit wave file

    I am trying to load some wavetables from SD to the external PSRAM on teensy 4.1, they are wavetables created with "serum" synthesizer. they are mono 32 bit wav files up to 524288 samples.

    I have...
  4. Replies
    244
    Views
    29,460

    I see that the block diagram for the i.MX1170...

    I see that the block diagram for the i.MX1170 says "1 Gbps ENET with AVB" is that the same AVB "Audio Video Bridge" that is used by comapnies such as MOTU to transfer audio over ethernet, and if so,...
  5. All the different PWM bit depth vs maximum...

    All the different PWM bit depth vs maximum frequency are in the table here. https://www.pjrc.com/teensy/td_pulse.html
  6. This worked well, I even increased the second...

    This worked well, I even increased the second "MISO" frequency to 30000000 and it works.

    Just aside, I was reading about the imx1170 for some reason, and it's page shows it has "pxp pixel...
  7. I don't know if this is the right place to ask,...

    I don't know if this is the right place to ask, please correct me if wrong! but this was the first ILI9341 library i got to work for me.

    I was wondering if there is there a way to have a "fake...
  8. Since the analog inputs work best with a low...

    Since the analog inputs work best with a low impedance driver, I like to use a rail to rail op amp that is powered by 3.3V, so it can never output a higher voltage than the teensy can take. there are...
  9. Replies
    19
    Views
    985

    Team Monsoon, not only the "famous" battlebot but...

    Team Monsoon, not only the "famous" battlebot but also "drizzle" antweight you wouldn't want to mess with.
  10. Replies
    19
    Views
    985

    No help here, but your name reminds me of a...

    No help here, but your name reminds me of a certain combat robot team from the UK. "get in your house!"
  11. Replies
    81
    Views
    38,569

    there are a few ways to do it, depending on how...

    there are a few ways to do it, depending on how accurate you want, how much memory you have, and how fast you need it to be.

    you can use "POW" function, which is quite slow but the most accurate,...
  12. Replies
    38
    Views
    3,223

    Is there more information about "Use standard...

    Is there more information about "Use standard (not low power) ADC mode"
    is it just teensy 4.x that is affected? or will it change performance of 3.x ADC as well?
  13. I think most of that “off time” is doing the...

    I think most of that “off time” is doing the compare and loop increment, What if you count the loop down to zero? “compare to 16384” probably takes more cycles than “loop if non zero” then you might...
  14. The o&c has the DAC and display on the same SPI...

    The o&c has the DAC and display on the same SPI bus, It makes the timing tricky. if you want audio rate out the display might have to do nothing while it is playing.
  15. Replies
    20
    Views
    909

    I don't know much about how this works, but there...

    I don't know much about how this works, but there is

    http://infocenter.arm.com/help/index.jsp?topic=/com.arm.doc.ddi0489d/BABJFFGJ.html

    there are comparators,

    could you set one to...
  16. Different behaviour with 2 teensy 3.6 > DAC 8562

    I have 2 boards which are the same, both use a teensy 3.6 and DAC8562. On one of them the DAC would not start. the Sync(CS), Clock, and Data signals to the DAC looked the same on a scope, but the non...
  17. have you got a MIDI monitor software? you could...

    have you got a MIDI monitor software? you could check to see if the buttons are bouncing like crazy and sending enough MIDI data to interfere with Mainstage?
  18. Hmm, i think this must be it then? ...

    Hmm, i think this must be it then?

    HFW8R-1STE1H1LF
  19. That is the cable itself, this is for the...

    That is the cable itself, this is for the connector.
  20. FFC 8 pin, HFW8R-1STE1LF (teensy 4 bottom SD connector) obsolete.

    Can I use this one instead? the data sheet does not have a footprint.

    https://www.mouser.ca/ProductDetail/Amphenol-FCI/HFW8S-2STAE1LF?qs=sGAEpiMZZMs7i6cT6ogu4%252BM5B8TmbFcyy4tps6v3cqo%3D
  21. Replies
    2
    Views
    330

    Thanks! I ended up adapting the code at the...

    Thanks! I ended up adapting the code at the bottom of this page https://www.best-microcontroller-projects.com/rotary-encoder.html one of my encoders was still not so great, but a short delay...
  22. Replies
    2
    Views
    330

    Encoder library with cheap encoders.

    I have had trouble with encoders skipping counts and sometimes even stepping in the opposite direction.
    I am using a teensy 3.6 with the encoder library 1.4.1

    the sketch is the example on the...
  23. Replies
    161
    Views
    19,002

    I just noticed the updated back side graphic, i...

    I just noticed the updated back side graphic, i guess there is no more external AREF? is there a way to get the same sort of performance from the ADCs with potentiometers across a 3 or 3.3v supply?
  24. Replies
    161
    Views
    19,002

    I just ordered 4, i have been looking forward to...

    I just ordered 4, i have been looking forward to this! quick question, the teensy 4 page shows the top side pins in both pictures instead of the usual top and bottom, I just want to confirm that the...
  25. Replies
    3
    Views
    585

    The audio shield goes on top of the teensy.

    The audio shield goes on top of the teensy.
  26. Replies
    6
    Views
    1,604

    Thank you, i tested the timing on the "almost...

    Thank you, i tested the timing on the "almost working" verion (which outputs half a sine) and it did not run any faster, it was worth a try though!
  27. Replies
    6
    Views
    1,604

    On a wild guess i removed the "bx lr" at the end...

    On a wild guess i removed the "bx lr" at the end and now it "works" but not properly.
  28. Replies
    6
    Views
    1,604

    thank you, now it compiles but unfortunately now...

    thank you, now it compiles but unfortunately now the teensy stops when the function is called.


    static inline int32_t iSIN3(int32_t x)
    {
    int32_t out;
    asm volatile (
    "mov %0, %0,...
  29. Replies
    6
    Views
    1,604

    trying to port some assembly.

    I have been working on this thing: there is a teensy 3.6 and some multiplexers and output op amps on the back, not much else except power and supervisor.
    11512


    One thing it does, is generate...
  30. Replies
    30
    Views
    14,416

    here is a "hack" where you can add a MIC803 under...

    here is a "hack" where you can add a MIC803 under the teensy.
    10864
  31. Replies
    7
    Views
    3,401

    ok thanks, its such a minor thing, its not worth...

    ok thanks, its such a minor thing, its not worth wasting too much time on compared to your actual work.
  32. Replies
    30
    Views
    14,416

    I have just installed a MIC803 (2.63 threshold...

    I have just installed a MIC803 (2.63 threshold and >1 second delay but im pretty sure the faster 140ms or 20ms ones will work)
    I have a eurorack module with t3.6 which gets used with various...
  33. Replies
    7
    Views
    3,401

    Make teensyduino window easier to move.

    Hopefully a simple change for a future version of teensyduino!

    this might be sort of dumb, but:
    I have my windows set to a larger font size due to aging eyes and a high resolution monitor, there...
  34. Replies
    30
    Views
    14,416

    what startup behavior do you want to see, the...

    what startup behavior do you want to see, the 3.3v teensy voltage and?
  35. Replies
    30
    Views
    14,416

    please keep us posted how well that chip works, i...

    please keep us posted how well that chip works, i have trouble with a project sometimes not starting as well, and that looks like a nice solution, if you can still program with it.
  36. Thanks, I will leave it as is for now then.

    Thanks, I will leave it as is for now then.
  37. Help converting arm assembler for teensy 3.6

    I have been using this sine approximation by Jasper Vijn as a function, which works well. http://www.coranac.com/2009/07/sines/


    //fast sine approximation by Jasper Vijn
    /// A sine approximation...
  38. Thread: K66 Beta Test

    by neutron7
    Replies
    1,558
    Views
    599,563

    wouldn't the single precision float be able to...

    wouldn't the single precision float be able to speed up emulation of double?
  39. Thread: K66 Beta Test

    by neutron7
    Replies
    1,558
    Views
    599,563

    Just in case anyone is interested, I ran a...

    Just in case anyone is interested,
    I ran a benchmark i found with teensy 3.2 and 3.6 both at 120mhz, to get a sort of "apples to apples" comparison.



    F_CPU = 120000000 Hz teensy 3.2 teensy...
  40. Replies
    2
    Views
    1,057

    i fixed it (on the sample variables which are...

    i fixed it (on the sample variables which are accessed from the ISRs) it has not made any difference though.
  41. Replies
    2
    Views
    1,057

    Trying to read i2s directly from SGTL5000

    I am trying to do some "sample by sample" audio effects without using any DMA or buffers.
    I based this on a drum machine by "kbob" which only has outputs, and the output part is working on my...
  42. The code for this is handy if you want to see how...

    The code for this is handy if you want to see how to add your own effect in the audio library, thanks!
  43. Replies
    0
    Views
    1,100

    flanger not modulating.

    I tried the flanger example sketch, and it plays the original signal, as well as a delayed signal as i would expect, but there is no modulation of the delay time with the built in sine oscillator....
  44. Replies
    11
    Views
    2,819

    it is usually run at 120mhz, i have not really...

    it is usually run at 120mhz, i have not really got any loops in the ISRs, they just run through everything once each go, but i measured the speed of the main loop with and without FASTRUN, on the...
  45. Replies
    11
    Views
    2,819

    Is FASTRUN broken in arduino 1.6.7

    I have a project with some ISRs that use FASTRUN.

    it is here on github.

    https://github.com/jakplugg/neutron-sound/tree/master/orgone_accumulator/official_firmware/orgone_accumulator_2RC1

    in...
  46. Replies
    2
    Views
    894

    I don't think it is leakage because each input...

    I don't think it is leakage because each input has an attenuator, and if i change the others to zero it makes no difference.

    i just got the tiny pin probe on my scope, to touch pins on the actual...
  47. Replies
    2
    Views
    894

    Is this a defective ADC?

    I have been trying to fix an "orgone accumulator" synthesizer module which is based on a teensy 3.1

    normally i can swap out the teensy to be sure it is OK, but this person decided to solder pins...
  48. Replies
    3
    Views
    3,551

    That is good to hear, thanks for the reply!

    That is good to hear, thanks for the reply!
  49. Replies
    3
    Views
    3,551

    Is "low memory" really a problem?

    Sketch uses 129,232 bytes (49%) of program storage space. Maximum is 262,144 bytes.

    Global variables use 56,336 bytes (85%) of dynamic memory, leaving 9,200 bytes for local variables. Maximum is...
  50. Replies
    4
    Views
    1,267

    it turns out that its either an MK20 defect or a...

    it turns out that its either an MK20 defect or a build error. its a 4 layer board so something could be going on inside. anyways its not any error on the part of PJRC because the second identical...
Results 1 to 50 of 70
Page 1 of 2 1 2