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

Search:

Type: Posts; User: john-mike

Page 1 of 2 1 2

Search: Search took 0.00 seconds.

  1. Yeah unfortunately it doesn't. Here's...

    Yeah unfortunately it doesn't. Here's a picture of the output. The first is on the top and the second on the bottom. Outs 2 and 3 look similar. There are 128 samples between the distortion which is...
  2. Thanks so much for your quick and thorough...

    Thanks so much for your quick and thorough response!

    I've tried a few this but it always ends up with first channel working but the others distorted. It seems like the increment is messed up since...
  3. Making a Matrix Mixer - issues with release()?

    Hello,
    I would like to create a matrix mixer with X out and X inputs. Using the mixer4 for this is possible but will be very complicated.
    The code I have so far is not working properly.
    ...
  4. I did have problems with 1.42. 1.41 is working...

    I did have problems with 1.42. 1.41 is working fine.
  5. Cool so the only big one left is the tape delay....

    Cool so the only big one left is the tape delay.

    One other thing I keep meaning to bring up is the envelope effect. It great you updated it to have a longer lengths but since it's linear it's not...
  6. I found an issue with the amplitude feature of...

    I found an issue with the amplitude feature of AudioSynthWaveformModulated.
    Using a scope hooked up to the DACs you can see the shape and with the audio out you can hear this triangle LFO is not the...
  7. Oh sorry I just saw this. Effect tape delay has...

    Oh sorry I just saw this.
    Effect tape delay has been in in my github
    https://github.com/BleepLabs/Audio/blob/master/effect_tape_delay.cpp

    As I mentioned in the emails you can change the name to...
  8. Yes that makes more sense!

    Yes that makes more sense!
  9. I still need to finish up my record to serial...

    I still need to finish up my record to serial flash code but the variable speed playback from flash code works well.
    I used the waveform object so my students could use something they had experience...
  10. This example...

    This example for the granular library explains it all.
    We could easily change it to a noteOn type thing. It just needs to be called in setup then so it's always capturing audio.

    I've fixed some...
  11. Ok I'll get on it this afternoon.

    Ok I'll get on it this afternoon.
  12. Oh of course! I want to get cleaned up to your...

    Oh of course! I want to get cleaned up to your standards.
    Is there a style guide I've been missing all these years?

    Yes I'll do a quick run through and have descriptions by tonight.
  13. Yes that's what I was talking about a while back....

    Yes that's what I was talking about a while back. A lot of this needs cleaning up which I am working on these next few weeks.
    AudioEffectSH is definitely the roughest.
    If you could give me some...
  14. @MadMind You might be having issues due to using...

    @MadMind
    You might be having issues due to using delay. It should almost always be avoided.

    First try this simple sketch:



    #include <Audio.h>
    #include <Wire.h>
    #include <SPI.h>
  15. Oh sorry yes the standard license is fine. ...

    Oh sorry yes the standard license is fine.




    /*
    * Copyright (c) 2018 John-Michael Reed
    * bleeplabs.com
    *
    * Permission is hereby granted, free of charge, to any person obtaining a copy
  16. Since you can't do it in the GUI you'll need to...

    Since you can't do it in the GUI you'll need to code it yourself. It's just like the sineFM object though:


    AudioConnection patchCord1(waveform1, waveform2);
    AudioConnection ...
  17. Replies
    2
    Views
    1,058

    Ok! Looks like I didn't look through the .h...

    Ok!
    Looks like I didn't look through the .h carefully and see that the array size of inputQueueArray needs to be increased too.

    So then then there are two changes to audio_waveform.h


    ...
  18. Replies
    17
    Views
    4,856

    Sorry I thought I was following this thread! ...

    Sorry I thought I was following this thread!

    I've updated it to include all waveforms and have added a variable triangle waveform. You can adjust its shape with pulseWidth() just as you would the...
  19. Replies
    2
    Views
    1,058

    I'm still having issues with this. Here's...

    I'm still having issues with this.

    Here's another example.
    I have two inputs going into code for the sine wave synth. Neither do anything they just get read and released if they are present.
    ...
  20. Sure! Thanks so much, Paul. Let me know if I...

    Sure! Thanks so much, Paul.
    Let me know if I need to make any changes or additions.

    I'd love to add a second input to the waveform osc but have been having some issues with that.......
  21. My audio.h fork - Tape delay, FM waveform input, granular effect and more

    Howdy!
    I made all these a while back for a product I put out but haven't gotten a chance to clean up and put on git. Seeing this post reminded me.

    https://github.com/BleepLabs/Audio

    I've...
  22. Replies
    17
    Views
    4,856

    I've added an FM input to the waveform object....

    I've added an FM input to the waveform object. You can get it here.
    https://github.com/BleepLabs/Audio

    All you need to do is patch it manually as it's not in the tool. For example:
    ...
  23. Replies
    2
    Views
    1,058

    Adding sync input to the audio library

    Hello,
    I'm trying to add a sync input to the waveforms of the audio library but am having issues adding a second input.
    I've succeeded in making my own effects with two inputs but there's still...
  24. Replies
    38
    Views
    9,321

    Oh I missed that. Thanks.

    Oh I missed that. Thanks.
  25. Replies
    38
    Views
    9,321

    I think I'll go with the MKL4 since I have the...

    I think I'll go with the MKL4 since I have the space.
    Thanks again.

    One last thing @PaulStoffregen, For the MKL04, does the PTA6 signal still connect to the ID pin of the USB?

    6897
  26. Replies
    38
    Views
    9,321

    Ok I'll make the switch. Do you have an...

    Ok I'll make the switch.

    Do you have an visual example of the crystal layout you described, Paul?

    Anything else that might be causing this? I've tried uploading from several different win7 and...
  27. Replies
    38
    Views
    9,321

    No but I'm trying to rule that out now. This...

    No but I'm trying to rule that out now.

    This isn't the first device we've made with the MINI54 and MK20. The first had a way sloppier layout and in the 500 units we produced had very few that...
  28. Replies
    38
    Views
    9,321

    Ok so this is different from the way Paul...

    Ok so this is different from the way Paul describes it. That's why I was confused.

    Thanks again.
  29. Replies
    38
    Views
    9,321

    Sorry I'm not clear on what you mean by inside vs...

    Sorry I'm not clear on what you mean by inside vs outside.
    Is this close?

    6888

    If not is there an example you can point me too?
  30. Replies
    38
    Views
    9,321

    How does this look? 6887 I'm still a bit...

    How does this look?

    6887

    I'm still a bit confused about the crystal's ground plane. In Paul's description it makes it sound like it shouldn't be connected to ground at all but in all the...
  31. Replies
    38
    Views
    9,321

    Thanks for your responses. I had tried it...

    Thanks for your responses.


    I had tried it that in a previous version of the board. For this one I tried removing the ground plane underneath it as I had seen that mentioned elsewhere.
    I did...
  32. Replies
    38
    Views
    9,321

    I'm also having crystal issues on a prototype and...

    I'm also having crystal issues on a prototype and I'm hoping y'all can help.

    I've tried a few pcbs. Some never work, some work for a while then stop completely. They all have the reset pulses and...
  33. Replies
    5
    Views
    1,164

    This has also happened to me. I never found the...

    This has also happened to me.
    I never found the exact cause but this page helped.
    I still encounter some weirdness on boards I've hand soldered. Production boards have a lot fewer issues.
  34. Replies
    5
    Views
    2,102

    This was kinda my main issue, who was master or...

    This was kinda my main issue, who was master or slave.
    Plus not being able to run either the arduino codec shield or mikro board reliably as slave.

    In the code posted the control and i2s are...
  35. Replies
    5
    Views
    2,102

    Ok finally got my head around all the...

    Ok finally got my head around all the master/slave clocks using these pages. (Which don't seem to be linked from anywhere?)
    http://www.pjrc.com/teensy/td_libs_AudioInputI2S.html...
  36. Replies
    5
    Views
    2,102

    WM8731 issues

    I'm having issues getting stereo sound in and out of the Mikro WM87311 board

    This is based on the "WM8731mikrosine_codec" example


    // Mikroe Teensy 3.1
    // ------ ----------
    // ...
  37. Yes activate is 1/0. Rate and length are...

    Yes activate is 1/0.
    Rate and length are integers but should be floats scaled like that in the final release.
    Try rate is between 0-4095. Length can be 0 (though it's stops at 50) to the buffer...
  38. It's similar to the other time based effects. You...

    It's similar to the other time based effects. You need to define a bank and max length.



    int16_t granular_bank_len = 3000;
    int16_t granular_bank[3000] = {};

    ...
  39. Here's a granular effect I made a while ago for a...

    Here's a granular effect I made a while ago for a forthcoming product. You can hear it used to pitch shift in the video. http://bleeplabs.com/store/thingamagoop-3000/
    I made a lot of little changes...
  40. Replies
    45
    Views
    6,974

    Found a way...

    Found a way to do it but there are issues.
  41. Replies
    34
    Views
    8,917

    I've found the format for importing nodes but...

    I've found the format for importing nodes but there are some issues.


    ...
  42. Product using the Teesny 3 : The Delaydelus sampling effect device

    Howdy!
    A few months ago I designed a device with the musician Daedelus.

    5085

    Here's all the info.


    It's a sampler/delay effect. The samples are selected via the pins and triggered by the...
  43. Ok here's the first finished version of it. ...

    Ok here's the first finished version of it.
    https://github.com/BleepLabs/sample-and-hold
  44. Ha yup looks we were posting at the same time. ...

    Ha yup looks we were posting at the same time.

    Thanks again!
  45. Ah ok. I switched them all but now it seems it's...

    Ah ok.
    I switched them all but now it seems it's only processing every other block?
    All the rest of the code above is the same.

    EDIT:
    Ooops it was the AUDIO_BLOCK_SAMPLES/2 needed by the 2...
  46. Looks interesting! Any more sound samples? ...

    Looks interesting! Any more sound samples?

    From the translated page it looks like you are using band-limited wave tables?
  47. Well I meant that question. Next one is about...

    Well I meant that question.

    Next one is about basic arithmetic on the blocks. How do I do it properly? Why do these simplified examples yield noise?

    This one pretty much just makes white...
  48. Thanks for the example and link! That pretty much...

    Thanks for the example and link! That pretty much answered all my questions.
  49. Ah ok thanks! So then "something = *p++;"...

    Ah ok thanks!

    So then "something = *p++;" sets something to the current value of p then increments?
  50. Rate Reduction effect for audio.h - code and questions

    I've been messing with audio.h a bit and decided to make a new effect. I stated with the code for the multiply effect and made this sample and hold / rate reducer / bit crusher.

    It works ok but I...
Results 1 to 50 of 94
Page 1 of 2 1 2