el_supremo
Reaction score
1

Latest activity Postings About

    • el_supremo
      el_supremo replied to the thread Teensy 4.1 MIDI circuit Help.
      Two things I'd check - does pin 6 of the H11L1 have 3.3V? - the jumper which connects to the Teensy Pin 0 would have to be laying flat under the audio board. Have you bent the jumper pin at a right angle so that it will make proper contact with...
    • el_supremo
      You've set the dc1 amplitude to zero, so printing the dc1 peak will be zero and multiplying zero by anything will give you zero out from the multiplication too. At least, that's what I get when I run your code. Try setting dc1 amplitude to 0.5...
    • el_supremo
      This writes a BMP that is read without complaint by Paint Shop Pro. // https://forum.pjrc.com/index.php?threads/create-an-image-as-an-array-of-pixels-and-save-as-bmp-file.74006/post-334757 /* a test script to generate an image, dump it to...
    • el_supremo
      I think this is part of the problem: dibHeader.width = 128;//width; dibHeader.height = 48;//height; The header you've written says that the image is 128x48 but what you actually write is what is defined here: #define IMAGE_HEIGHT 3 //48...
    • el_supremo
      Got them, thanks. I'll look at them tomorrow. Pete
    • el_supremo
      Can you post one of the BMP files? You'll probably have to store it in a ZIP archive. I don't think the forum will allow you to upload a BMP. Pete
    • el_supremo
      el_supremo reacted to PaulStoffregen's post in the thread xenForo Improvements with Like Like.
      I copied the PJRC icon from the main website. You might need to hold shift while clicking reload to get your browser to reload it.
    • el_supremo
      The Arduino docs for the map function say it is implemented like this: long map(long x, long in_min, long in_max, long out_min, long out_max) { return (x - in_min) * (out_max - out_min) / (in_max - in_min) + out_min; } You could define your...
    • el_supremo
      float lfoAmplitudeMapped = map(lfoAmount, 0, 1023, 0, 1); The map function only uses integers and returns an integer so the only possible values that this can return are zero or one. Similarly, in this one float lfoSpeedMapped = map(lfoSpeed...
  • Loading…
  • Loading…
Back
Top