Sample playback on the nw2s::b

Discussion, support, and resources for our noise making modules and kits.

Moderators: Kent, scottwilson

Post Reply
User avatar
scottwilson
Wiggling with Experience
Posts: 432
Joined: Mon Sep 16, 2013 12:54 pm

Sample playback on the nw2s::b

Post by scottwilson » Fri Jul 11, 2014 6:28 am

Been working on the 1.0 release of the firmware that will allow normal humans to be able to program this beast of a synth. Getting stable sample playback streaming off the SD card was holding me back, but I think I've cracked it!

You can now playback samples of any length from the SD card and loop them! Expect some granular glitch machines next.

Here's a demo patch I threw together last night using a sample of a music box on DAC1, some rain on DAC2, a couple of random CV generators, a µfold and a couple of filters.

https://soundcloud.com/scottwilson/looper-demo-1

More info and an official release coming soon. Here's a sample of the config file used to generate this patch. Programming the nw2s::b should now be easier than programming your favorite digital/hybrid/virtual sampler/workstation/synth/multieffect/sequencer!

Code: Select all

{
	"program" : 	

	{
		"name" : 			"Sample Looper Demo 1",
			
		"clock" :

		{
			"type" : "FixedClock",
			"tempo" : 60,
			"beats" : 16			
		},

		"devices" : [
						
			{
				"type" : "CVSequencer",
				"division" : "eighth",
				"analogOutput" : 16,
				"min" : 0,
				"max" : 5000
			},		
			
			{
				"type" : "CVSequencer",
				"division" : "quarter",
				"analogOutput" : 14,
				"min" : 0,
				"max" : 5000
			},
					
			{
				"type" : "CVSequencer",
				"division" : "dotted eighth",
				"analogOutput" : 15,
				"min" : 0,
				"max" : 5000
			},
					
			{
				"type" : "CVSequencer",
				"division" : "half",
				"analogOutput" : 13,
				"min" : 0,
				"max" : 5000
			},
					
			{
				"type" : "Looper",
				"subfolder" : "melodic",
				"filename" : "musicbox.raw",
				"samplerate" : "24000",
				"dacOutput" : 1
			},

			{
				"type" : "Looper",
				"subfolder" : "noise",
				"filename" : "rain.raw",
				"samplerate" : "24000",
				"dacOutput" : 2
			}
							
		]
	}
}

Regards,

Scott

User avatar
mckenic
pew!pew!pew!kthnxbye!
Posts: 6364
Joined: Fri Aug 06, 2010 8:05 pm
Location: Limerick, Ireland

Post by mckenic » Fri Jul 11, 2014 8:31 am

:eek:

SO, so, so, so Cool!!!!
:tu:

User avatar
scottwilson
Wiggling with Experience
Posts: 432
Joined: Mon Sep 16, 2013 12:54 pm

Post by scottwilson » Fri Jul 11, 2014 11:51 am

Here's a little something else... Another sample-based device. This one is essentially an envelope follower that generates CV. Here, using a recording of rain drops to modulate the wave address of a Piston Honda.

https://soundcloud.com/scottwilson/eflooper-demo

-s

User avatar
mckenic
pew!pew!pew!kthnxbye!
Posts: 6364
Joined: Fri Aug 06, 2010 8:05 pm
Location: Limerick, Ireland

Post by mckenic » Fri Jul 11, 2014 1:35 pm

Very, very nice Scott!

I have to admit, being a little ill, Ive not done much with mine since it arrived short of making sure it powered on and used the 'factory' patch. Im moving stuff around and making portable cases so it will be awhile yet but man! This makes me wanna dive right in :tu:

Great stuff mate!

User avatar
scottwilson
Wiggling with Experience
Posts: 432
Joined: Mon Sep 16, 2013 12:54 pm

Post by scottwilson » Fri Jul 11, 2014 1:59 pm

Here's another one for you. Hot off the press... The looper now can have a triggered glitch.

https://soundcloud.com/scottwilson/glit ... per-demo-1

When the glitch input is triggered, the sound file will seek to a random spot in the loop, creating glitches. In this case, I have a probabilistic trigger sequence set up and patched into the trigger input, providing a CV-controllable probability that at any given 16th note, the loop may be glitched. This is recorded directly from the DAC output with a little reverb and delay.

One more tiny thing to add and I'll call v1.0 done.

-s

User avatar
mckenic
pew!pew!pew!kthnxbye!
Posts: 6364
Joined: Fri Aug 06, 2010 8:05 pm
Location: Limerick, Ireland

Post by mckenic » Fri Jul 11, 2014 2:24 pm

Sheet!

:hail: Now this I dig! Really dig!

:tu:

User avatar
dadek
hrrmmm...
Posts: 766
Joined: Fri Aug 15, 2008 12:25 am
Location: SoCal

Post by dadek » Sat Jul 12, 2014 11:05 am

So excited to try this! I'm in the same boat of not having had time to dig in to mine. Great work, thanks. :tu:

User avatar
2mb1o
Learning to Wiggle
Posts: 37
Joined: Sun Mar 09, 2014 4:32 am

Post by 2mb1o » Sat Jul 12, 2014 2:54 pm

Great !

You need to update the bDemoLoops.ino file because of :
Looper* looper1 = Looper::create(DUE_DAC1, "test", "sin220.raw", SR_24000);

There is no /loops/test/sin220.raw in the https://github.com/nw2s/b/tree/master/flash

Maybe a gentle rain noise ?

Looper* looper1 = Looper::create(DUE_DAC1, "noise", "rain.raw", SR_24000);

User avatar
scottwilson
Wiggling with Experience
Posts: 432
Joined: Mon Sep 16, 2013 12:54 pm

Post by scottwilson » Sat Jul 12, 2014 4:57 pm

Thanks for the heads up. I'll be sure to upload that one - it's a handy one to have.

s

User avatar
scottwilson
Wiggling with Experience
Posts: 432
Joined: Mon Sep 16, 2013 12:54 pm

Post by scottwilson » Sat Jul 12, 2014 9:08 pm

I could not leave well enough alone. Not having reverse was bugging the crap out of me. Now you can trigger to glitch and trigger to toggle the playback direction.

https://soundcloud.com/scottwilson/anot ... -glitching

...and I still didn't do the one last thing I need before I can call this done. One more little thing.

User avatar
mckenic
pew!pew!pew!kthnxbye!
Posts: 6364
Joined: Fri Aug 06, 2010 8:05 pm
Location: Limerick, Ireland

Post by mckenic » Sat Jul 12, 2014 9:34 pm

:lol:

Thank you for the effort Scott!!!

Post Reply

Return to “nw2s”