News for hackers. Stuff that matters.

delineator

Re:Show HN: Modest – musical harmony library for Lua on Sunday February 02, 2025 @02:15PM (#42910936)
Things get more interesting when we explore musical tunings other than the 12 equal divisions of the octave (EDO) of Western music.

You can define interval structure as a sequence of large L, small s, and optionally medium M steps.

For example, the Major diatonic scale, a 7 note scale from 12 EDO, in Ls notation is:

   LLsLLLs  with L: 2  s: 1 (12=2+2+1+2+2+2+1)
A 6 note scale (Gorgo-6) in 16 EDO is:

   LLsLLL  with L: 3  s: 1 (16=3+3+1+3+3+3)
You can then explore frequency ratios beyond those available in 12 EDO, see this Lua file: https://github.com/robmckinnon/pitfalls/blob/main/lib/ratios...

E.g. the Gorgo-6 scale has the intervals S2 (septimal major second), d4 (Barbados third), N4 (undevicesimal wide fourth), s6 (septimal sixth), s7 (septimal minor seventh).

And chords based on those ratios, see Lua file: https://github.com/robmckinnon/pitfalls/blob/main/lib/chords...

The above links are Lua code files for a monome norns library for exploring microtonal tuning: https://llllllll.co/t/pitfalls/37795

Don't just assume...

1. Create bumble account

2. Filter for Age: > 35, Kids: "Want someday"

3. Swipe right

Re:Criminal liability for content harmful to children on Tuesday January 17, 2023 @11:01AM (#34414121)
You can see the latest version of the Online Safety Bill that may be passed into law by the UK parliament here:

https://publications.parliament.uk/pa/bills/cbill/58-03/0220...

From the bill:

"59 Requirement to report CSEA content to the NCA

(1) A UK provider of a regulated user-to-user service must operate the service using systems and processes which secure (so far as possible) that the provider reports all detected and unreported CSEA content present on the service to the NCA.

(2) A non-UK provider of a regulated user-to-user service must operate the service using systems and processes which secure (so far as possible) that the provider reports all detected and unreported UK-linked CSEA content present on the service to the NCA (and does not report to the NCA CSEA content which is not UK-linked). ...

60 Regulations about reports to the NCA

(1) The Secretary of State must make regulations in connection with the reports that are to be made to the NCA (including by non-UK providers) as required by section 59. ...

62 Offence in relation to CSEA reporting

A person commits an offence if, in purported compliance with a requirement under section 59— (a) the person provides information that is false in a material respect, and (b) at the time the person provides it, the person knows that it is false in a material respect or is reckless as to whether it is false in a material respect.

A person who commits an offence under this section is liable— ... (d) on conviction on indictment, to imprisonment for a term not exceeding two years or a fine (or both)."

Re:Criminal liability for content harmful to children on Tuesday January 17, 2023 @10:35AM (#34413703)
From this policy briefing on an Amendment to UK's Online Safety Bill:

"The Amendment inserts a criminal liability into Section 11 of the Bill. ...

There is no clear and precise definition on the face of the Bill of what that content harmful to children is. ...

Without any definition, the tech companies do not know what it is that they are being held liable for. A criminal liability would be set for crimes yet to be defined, based on the actions of others."

Re:Online Safety Bill third reading briefing on Tuesday January 17, 2023 @06:06AM (#34411190)
Unintended consequences of the UK Online Safety Bill mean a trio of surveillance, prior restraint of speech, and restriction on access to online content and services.

This Bill vastly increases online surveillance of British people without any judicial or administrative oversight. It will institute a de facto “general monitoring” and proactive scanning. This means all users’ posts, public and private, every day, all the time.

Re:Fingerprints can be hacked on Monday November 22, 2021 @09:01AM (#29306347)
> you leave your fingerprint on taxi doors, iPhone screens, and glasses of wine at your local restaurant.

DNA is similar - you leave hairs in taxis, public toilets, etc.

Aside: after 3 months of a keto - no/low carbs,sugars - diet I've lost ~10% body weight.

Avocado smoothie with MCT oil, chia seed, hemp, cocoa, collagen powders breakfast at 9am. Egg, cheese, leafy green vegetable lunch. Meat/fish and veg dinner at 6pm. Blueberries and cream with 85% dark chocolate dessert.

Energy levels are more even during the day.

Is there a video of Flowbetween in action?
Cool. Great to meet you virtually, btw. Your web audio synth is awesome. Adding the oscilloscope made me appreciate how your different patches generate their unique sounds. And I added a few preset patches I liked too.
@errozero: I made a synth with web audio/midi based on your synth engine a few years ago:

https://web-audio-midi.herokuapp.com/

Adding a keyboard, scale selection, oscilloscope, score note viewer, sound font player, bluetooth/web midi controller detection, etc :)

Did you decide on a license for your synth code?

Re:Basic Music Theory in ~200 Lines of Python on Monday April 19, 2021 @12:59PM (#26865054)
Things get more fun when we explore musical tunings other than the 12 equal divisions of the octave (EDO) of Western music.

You can define interval structure as a sequence of large L, small s, and optionally medium M steps.

For example, the Major diatonic scale - a 7 note scale from 12 EDO - in Ls notation is:

   LLsLLLs with L: 2  s: 1 (12=2+2+1+2+2+2+1)
A 19 EDO, 7 note scale:

   LLsLLLs with L: 3  s: 2 (19=3+3+2+3+3+3+2)
And here's a 19 EDO scale with 9 notes (Godzilla-9):

   LLsLsLsLsLs with L: 3 s: 1 (19=3+3+1+3+1+3+1+3+1)
You can then explore frequency ratios beyond those available in 12 EDO: https://github.com/robmckinnon/pitfalls/blob/main/lib/ratios...

And chords based on those ratios: https://github.com/robmckinnon/pitfalls/blob/main/lib/chords...

The above links are Lua code files for a monome norns library for exploring microtonal tuning: https://llllllll.co/t/pitfalls/37795

Re:Ask HN: Do you create music? let's hear it on Tuesday March 09, 2021 @09:02AM (#26398797)
Here's a microtonal generative piece, "5D#7.5 Gorgo-6", based on the Molecular Music Box algorithm, running on the monome norns shield:

- https://vimeo.com/506733938

I've also written a microtonal scale explorer / chord arpeggiator / isomorphic grid keyboard library for the monome norns:

- https://llllllll.co/t/pitfalls/37795

Is New Zealand left off TidalWaves' world map by design, or by accident?

Asking on behalf of Rhys Darby. https://www.youtube.com/watch?v=HynsTvRVLiI

Robin Newman has just released today a Sonic Pi 3.2.2 deb file for Ubuntu 20.04, see: https://twitter.com/rbnman/status/1257673599755915265

He notes this deb will NOT be suitable for Ubuntu 18.04.

For those using Atom, I've had some success using this Atom editor plugin: https://atom.io/packages/sb-atom-sonic-pi
In addition to Sonic Pi, I've also enjoyed experimenting with @neauoire's [0] Orca[1] and @yaxu's [2] TidalCycles[3].

Orca[1] is like a moving 2D functional programming crossword puzzle for generating sequences, be sure to watch some tutorial videos to get started.

TidalCycles[3] is a lovely way to very concisely and quickly generate looping patterns of samples and tones, still getting my head around it.

[0] https://twitter.com/neauoire

[1] https://hundredrabbits.itch.io/orca examples on twitter: https://twitter.com/hashtag/ORC%CE%9B

[2] https://twitter.com/yaxu

[3] https://tidalcycles.org/ examples on twitter: https://twitter.com/hashtag/TidalCycles

In Sonic Pi you can send and receive MIDI messages and OSC messages to interoperate with external synthesiser hardware and software.

Sonic Pi comes bundled with SuperCollider. The Sonic Pi server calls out to SuperCollider to play samples, synth tones, and apply FX. See the slightly out of date diagram here for details: https://delftswa.gitbooks.io/desosa2016/content/sonicpi/chap...

Coding music let's you think about music composition in new ways.

I've found it easy to experiment with looping audio samples at different speeds with Sonic Pi (including backwards) and applying FX effects. Syncing the timing of loops playing is easy with Sonic Pi's `live_loop` cues.

Composing with audio samples has long traditions in magnetic tape manipulation, and later in the isolated beat loops in hip-hop.

Musique Concrète - beginning in the early 1940s - is a type of music composition that utilizes recorded sounds as raw material.

Delia Derbyshire used tape manipulation to create the original electronic realisation of the Doctor Who theme score in 1963, and in many other compositions from that decade.

We're playing with a Raspberry Pi 3 b+ together with the CamJam EduKit 3 – Robotics: https://camjam.me/?page_id=1035

Bought a small bluetooth speaker so our robot can make some noise, possibly with Sonic Pi as the sound engine: http://sonic-pi.net

Re:Ask HN: Best linux laptop right now? on Friday April 15, 2016 @09:19AM (#11504024)
Entroware UK have an Ubuntu laptop range. Anyone had experience with their 13.3inch Apollo laptop? https://www.entroware.com/store/laptops/apollo

I've thought about buying that as a replacement for an old Macbook pro.

The article discusses people who may have a trait Dr Elaine Aron calls "highly sensitive". She has been researching the highly sensitive since 1991.

She says the trait is normal. It is found in 15 to 20% of the population. She writes:

"While being easily overstimulated and aware of subtle little things may be what most parents notice first about their Highly Sensitive Child, depth of processing is really the underlying trait."

See her 2014 summary of scientific research on highly sensitive children here: http://hsperson.com/pdf/Authors_note_HSC.pdf

For more information see Dr Aron's website here: http://hsperson.com/