# Dirt samples

**URL:** <https://uzu.lurk.org/t/dirt-samples/3274>\
**Category:** TidalCycles\
**Tags:** questions\
**Created:** [28 June 2021 22:38 UTC](https://uzu.lurk.org/t/dirt-samples/3274 "2021-06-28T22:38:20Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![seraphim2228](https://uzu.lurk.org/user_avatar/uzu.lurk.org/seraphim2228/32/1135_2.png) [@seraphim2228](https://uzu.lurk.org/u/seraphim2228)\
**Post date:** [28 June 2021 22:38 UTC](https://uzu.lurk.org/t/dirt-samples/3274/1 "2021-06-28T22:38:20Z")

</div>

Can I completely replace the dirt sample w/ custom ones w/ the exception of a few that i want to keep for testing sound, or will that cause issues?

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [29 June 2021 01:35 UTC](https://uzu.lurk.org/t/dirt-samples/3274/2 "2021-06-29T01:35:22Z")

</div>

Use all, or none - it's up to you

The bigger questions:

1. _why_ do you want to remove them?  
If it's a RAM usage issue, then you may want to look here:  
[Superdirt lazy samples loading](https://club.tidalcycles.org/t/superdirt-lazy-samples-loading/3148)

2. _how_ you plan to remove them -  
So long as disk space is not an issue, I recommend doing it via the supercollider startup.scd - commenting out the default samples line.  
If you just delete the files, you'll likely run into issues when you want to upgrade the superdirt quark down the track

---

<div class="post-metadata">

**Author:** ![seraphim2228](https://uzu.lurk.org/user_avatar/uzu.lurk.org/seraphim2228/32/1135_2.png) [@seraphim2228](https://uzu.lurk.org/u/seraphim2228)\
**Post date:** [30 June 2021 19:23 UTC](https://uzu.lurk.org/t/dirt-samples/3274/3 "2021-06-30T19:23:27Z")

</div>

actually both are an issue as i'm on an older computer, so might do the later i guess?

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [30 June 2021 19:44 UTC](https://uzu.lurk.org/t/dirt-samples/3274/4 "2021-06-30T19:44:19Z")

</div>

You should do both -

---

<div class="post-metadata">

**Author:** ![seraphim2228](https://uzu.lurk.org/user_avatar/uzu.lurk.org/seraphim2228/32/1135_2.png) [@seraphim2228](https://uzu.lurk.org/u/seraphim2228)\
**Post date:** [30 June 2021 19:56 UTC](https://uzu.lurk.org/t/dirt-samples/3274/5 "2021-06-30T19:56:31Z")

</div>

thnx

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [30 June 2021 22:57 UTC](https://uzu.lurk.org/t/dirt-samples/3274/6 "2021-06-30T22:57:48Z")

</div>

I should clarify, do step 1 first, because that requires that your superdirt dir is "pristine", once you've got it all set up on the developer branch and working with the lazy loading setting, _then_ delete the superdirt samples in the folder

---

<div class="post-metadata">

**Author:** ![c-liminal](https://uzu.lurk.org/user_avatar/uzu.lurk.org/c-liminal/32/2217_2.png) [@c-liminal](https://uzu.lurk.org/u/c-liminal)\
**Post date:** [8 December 2022 21:17 UTC](https://uzu.lurk.org/t/dirt-samples/3274/7 "2022-12-08T21:17:59Z")

</div>

hello @cleary  
i'm trying to implement [Superdirt lazy samples loading](https://club.tidalcycles.org/t/superdirt-lazy-samples-loading/3148) but i get this error

```haskell
ERROR: Message 'doNotReadYet_' not understood.
RECEIVER:
Instance of SuperDirt { (000001FE6E4833B8, gc=AC, fmt=00, flg=00, set=05)
  instance variables [18]
    numChannels : Integer 2
    server : instance of Server (000001FE6DCCF8C8, size=30, set=5)
    soundLibrary : instance of DirtSoundLibrary (000001FE6E4C5358, size=9, set=4)
    vowels : instance of Event (000001FE71926928, size=5, set=3)
    orbits : nil
    modules : instance of Array (000001FE6FF0F658, size=34, set=6)
    audioRoutingBusses : instance of Array (000001FE721E7448, size=16, set=4)
    controlBusses : instance of Array (000001FE71FA6398, size=128, set=7)
    port : nil
    senderAddr : nil
    replyAddr : nil
    netResponders : nil
    receiveAction : nil
    warnOutOfOrbit : true
    maxLatency : Integer 42
    dropWhen : false
    numRoutingBusses : Integer 16
    numControlBusses : Integer 128
}
ARGS:
   true
PATH: C:\Users\User\AppData\Local\SuperCollider\startup.scd

PROTECTED CALL STACK:
	Meta_MethodError:new	000001FE6B278F00
		arg this = DoesNotUnderstandError
		arg what = nil
		arg receiver = a SuperDirt
	Meta_DoesNotUnderstandError:new	000001FE6B27B240
		arg this = DoesNotUnderstandError
		arg receiver = a SuperDirt
		arg selector = doNotReadYet_
		arg args = [true]
	Object:doesNotUnderstand	000001FE718CCC40
		arg this = a SuperDirt
		arg selector = doNotReadYet_
		arg args = nil
	a FunctionDef	000001FE70D15458
		sourceCode = "{
		~dirt = SuperDirt(2, s); // two output channels, increase if you want to pan across more channels
		~dirt.doNotReadYet = true; // lazy samples loading
		~dirt.loadSoundFiles; // load samples (path containing a wildcard can be passed in)
		// for example: ~dirt.loadSoundFiles(\"/Users/myUserName/Dirt/samples/*\");
		// s.sync; // optionally: wait for samples to be read
		~dirt.start(57120, 0 ! 12); // start listening on port 57120, create two busses each sending audio to channel 0

		...etc..."
	Routine:prStart	000001FE6D98E5C0
		arg this = a Routine
		arg inval = 162.8193165

CALL STACK:
	DoesNotUnderstandError:reportError
		arg this = <instance of DoesNotUnderstandError>
	< closed FunctionDef >
		arg error = <instance of DoesNotUnderstandError>
	Integer:forBy
		arg this = 0
		arg endval = 4
		arg stepval = 2
		arg function = <instance of Function>
		var i = 4
		var j = 2
	SequenceableCollection:pairsDo
		arg this = [*6]
		arg function = <instance of Function>
	Scheduler:seconds_
		arg this = <instance of Scheduler>
		arg newSeconds = 166.8515549
	Meta_AppClock:tick
		arg this = <instance of Meta_AppClock>
		var saveClock = <instance of Meta_SystemClock>
	Process:tick
		arg this = <instance of Main>
^^ ERROR: Message 'doNotReadYet_' not understood.
RECEIVER: a SuperDirt

```

I think it may be because of my superdirt sample dir is not "pristine" as you recommend (i deleted some of the original folders/files for saving space, total noob btw)

How can i fix this?

Thank you

---

<div class="post-metadata">

**Author:** ![cleary](https://uzu.lurk.org/user_avatar/uzu.lurk.org/cleary/32/177_2.png) [@cleary](https://uzu.lurk.org/u/cleary)\
**Post date:** [9 December 2022 00:41 UTC](https://uzu.lurk.org/t/dirt-samples/3274/8 "2022-12-09T00:41:39Z")

</div>

Reply here:

> [@Superdirt lazy samples loading](https://club.tidalcycles.org/t/superdirt-lazy-samples-loading/3148/28):
>
> So, this feature is now supported in superdirt from v1.7.3 (ie you don't have to muck about in a dev branch of git) [edit] first up, can you post the file where you call doNotReadYet? It looks like there might be a spurious underscore... Failing that, continue here: I don't know, but it looks like your quark update request didn't go anywhere and may be because you didn't specify a tag (and I just saw that command recommended in the docs, so it may need review). Try this: Quarks.checkForUpda…
