Navigation

    M5Stack Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. oscillator
    3. Best
    O
    • Continue chat with oscillator
    • Start new chat with oscillator
    • Flag Profile
    • Profile
    • Following
    • Followers
    • Blocks
    • Topics
    • Posts
    • Best
    • Groups

    Best posts made by oscillator

    • RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2

      OK, so I think I have figured out how to make Mozzi sound through the internal speaker.

      In AudioConfigESP32.h change these lines to:

      // Set output mode
      #define ESP32_AUDIO_OUT_MODE PT8211_DAC

      // For external I2S output, only: I2S_PINS
      #define ESP32_I2S_BCK_PIN 12
      #define ESP32_I2S_WS_PIN 0
      #define ESP32_I2S_DATA_PIN 2

      (Ref: https://github.com/m5stack/M5-ProductExampleCodes/blob/master/Core/M5Core2/Arduino/record/record.ino)
      It seems to work, even though the Core2 uses the NS4168 I2S amp.

      In your code, put this at the top:

      #include <M5Core2.h>

      obviously, and in the setup():

      M5.begin();
      M5.Axp.SetSpkEnable(true);

      Put

      M5.update()

      in the updateControl() function.

      Also, in the Arduino IDE, set PSRAM: Disable.

      posted in Arduino
      O
      oscillator
    • OscPocketM - portable beat production tool for the M5Stack Core2

      Welcome to the OscPocketM (OPM) - the portable beatmaker for the M5Stack Core 2!

      0_1631992428075_mtitle.jpg
      In your hands you will have 3 synthesizers and 1 drum machine that all can be sequenced and used to produce songs.

      The synthesizers have selectable waveform, a low pass filter that can be modulated, an adjustable envelope and an optional second detunable oscillator.

      The drum machine has seven sounds: kick, snare, open and closed hihat, clap, tom lo and tom hi. All sounds can be tweaked.

      All sounds can be balanced using the built in mixer.

      The synths have a piano roll step sequencer and the drum machine has dedicated 5 track step sequencer.

      Sequences can be chained using the song editor.

      There are also utility functions for saving and loading setups and sequences, as well as copying and clearing sequences and settings gate times.

      All software is running on the Core2 including sound generation using the excellent Mozzi library.

      Demo: YouTube

      Download: https://oscillator.se/opensource

      posted in PROJECTS
      O
      oscillator
    • RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2

      And here are the synth sound editor and the piano roll where you enter/edit the notes for the synth.

      1_1631626023728_demo_syntheditor.jpg 0_1631626023728_demo_pianoroll.jpg

      posted in Arduino
      O
      oscillator
    • RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2

      So now I've got a drum machine with 6 drum sounds (VA - not samples), and a bass synth up and running.

      I have created a simple editor for the drum sounds -- on to make the synth note editor and the synth sound editor (it has selectable waveforms, a LPF and an ADSR envelope, plus a 2nd detunable oscillator).

      0_1631443106619_Screenshot_20210912-123357.jpg

      posted in Arduino
      O
      oscillator
    • RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2

      Last thing on the list is data save/load (maybe even MIDI export), sequence copy function, demo, manual. Then I will release the project under a GPL license.

      posted in Arduino
      O
      oscillator
    • RE: Mozzi sound synthesis library for Arduino - how to make it work on the Core2

      The finished project with source code and video demo:
      https://community.m5stack.com/topic/3584/oscpocketm-portable-beat-production-tool-for-the-m5stack-core2

      posted in Arduino
      O
      oscillator