Coder Social home page Coder Social logo

Comments (6)

znmeb avatar znmeb commented on June 5, 2024

Happening in AlgoCompSynth/rp2040-forth-builder#4

from clams.

znmeb avatar znmeb commented on June 5, 2024

Official Windows toolchain build is working. I've forked the pimoroni-pico repo to https://github.com/AlgoCompSynth/pimoroni-pico so I can add print statements and other stuff I want in the Forth version. VSCode debugger works with the debug probe on the serial "Hello world" and I don't care whether the LEDs blink or not! Next step - see what the Pico sounds like.

from clams.

znmeb avatar znmeb commented on June 5, 2024

Demo works - kind of a chiptune groovebox sound

from clams.

znmeb avatar znmeb commented on June 5, 2024

The core C++ code is in repository https://github.com/raspberrypi/pico-extras/tree/master/src/rp2_common/pico_audio_i2s. This is what the Pimoroni Audio Pack demo uses. It's in C, manages buffers, uses a PIO and is frightfully complicated. As near as I can tell it's hard-coded to 16 bits. It's probably too much for a proof of concept.

The DAC on the Pimoroni Pico Audio Pack can go up to 384 kHz and 32 bits, although it's not clear there's any gain in audio quality over 24 bits. I think I need to build something simpler than pico_audio_i2s.

from clams.

znmeb avatar znmeb commented on June 5, 2024

The Cornell lab code appears to be 3-clause BSD licensed! So we need the I2S code from pico_extras but we can use the DDS code from Cornell, for example https://github.com/vha3/Hunter-Adams-RP2040-Demos/blob/master/Lab_1_Incremental/b_Timer_Interrupt_DDS_Demo/dactest.c

from clams.

znmeb avatar znmeb commented on June 5, 2024

The demos as written are very complex. I don't believe all that complexity is necessary given that we have a real-time OS!

from clams.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.