Comments (6)
Happening in AlgoCompSynth/rp2040-forth-builder#4
from clams.
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.
Demo works - kind of a chiptune groovebox sound
from clams.
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.
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.
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)
- Document musical philosophy HOT 1
- Build multitasking HOT 1
- Draw block diagrams
- Breadboard / stress test Pico WH WiFi / BT connections HOT 1
- Develop Pico-Ice DSP library
- Write specs for FPGA version
- Research number theoretic transforms on RP2040 and FPGAs
- Write workshop proposal HOT 1
- Define visuals HOT 1
- Set up development environment for Windows and Raspberry Pi OS
- Review FORMULA documentation
- Research mixed cforth / zeptoforth solutions HOT 1
- Get PicoVision demos working HOT 1
- Build CLAMS website scaffolding HOT 1
- Write "Why Forth?"
- Design assembly - C++ interface HOT 1
- Test cforth build with C++ libraries
- Code serial interface
- Build dictionary macros
- Code Forth virtual machine, inner interpreters, outer interpreter HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clams.