Thanks! I will play with clip and assemble.
On Sat, Dec 7, 2019 at 4:39 PM John Clements
wrote:
> The problem here is that the piano notes are not all the same duration.
> Specifically, your chord (chord 60 64 67) is a bit longer:
>
> (rs-frames (chord 60 64 67)) -> 161634 frames
> (rs-frames
The problem here is that the piano notes are not all the same duration.
Specifically, your chord (chord 60 64 67) is a bit longer:
(rs-frames (chord 60 64 67)) -> 161634 frames
(rs-frames (piano-tone 72)) -> 144000 frames
There are a lot of ways of solving this, including clipping the two sound
I started to playing around with rsound while reading its documentation. I
wrote the following code:
#lang racket
(require rsound)
(require rsound/piano-tones)
(define (chord . notes)
(rs-overlay* (map piano-tone notes)))
(play (rs-overlay (rs-append (chord 60 64 67)
On Fri, 6 Dec 2019 at 15:43, Matthew Flatt wrote:
> Do 'no-toc and 'no-sidebar style properties on the main part help? Or
> does that still leave navigation elements that you want removed?
>
That's a great improvement, thanks, although it still leaves the "tocset"
div, now empty.
What I couldn'
Hello Racketeers,
I am continuing my work on cleaning up our private source code and
publishing it as a part of my futures-sort[1] package. Current state of
the package is:
- configurable parallelism depth
- in-place parallel merge-sort of both vector and fxvector
- parallel merge-sort with resul
On 12/7/19, Marc Kaufmann wrote:
> Thanks Ben and Jon, that did the trick.
>
> I realized when following the code that the structure wasn't exported - but
>
> I didn't know how to work around that. I now also checked the
> documentation, and the only thing I found on opaque types is
> https://docs
On Fri, 6 Dec 2019 at 15:32, Sam Tobin-Hochstadt
wrote:
> Is there a reason that not showing it is a problem, relative to not
> having it in the HTML? The CSS approach is quite easy.
>
I'm trying to generate XHTML for inclusion in web sites (as the main page
contents) and ePUB files, so it's jus
I meant `require/typed` obviously, not `require-typed`.
On Saturday, December 7, 2019 at 11:17:00 AM UTC+1, Marc Kaufmann wrote:
>
> Thanks Ben and Jon, that did the trick.
>
> I realized when following the code that the structure wasn't exported -
> but I didn't know how to work around that. I
Thanks Ben and Jon, that did the trick.
I realized when following the code that the structure wasn't exported - but
I didn't know how to work around that. I now also checked the
documentation, and the only thing I found on opaque types is
https://docs.racket-lang.org/ts-reference/special-forms
I solved the problem without continuations but I will study them and
rewrite my solution to use them. It might be helpful in future problems.
On Fri, Dec 6, 2019 at 11:58 PM Daniel Prager
wrote:
> Does anyone have a continuation-based solution to AoC day 7?
>
> https://adventofcode.com/2019/day/
10 matches
Mail list logo