# Empty Recording

**URL:** <https://forum.toplap.org/t/empty-recording/1278>\
**Category:** Foxdot\
**Created:** [3 May 2020 07:33 UTC](https://forum.toplap.org/t/empty-recording/1278 "2020-05-03T07:33:58Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Caleb\_Foong](https://forum.toplap.org/user_avatar/forum.toplap.org/caleb_foong/32/699_2.png) [@Caleb\_Foong](https://forum.toplap.org/u/Caleb_Foong)\
**Post date:** [3 May 2020 07:33 UTC](https://forum.toplap.org/t/empty-recording/1278/1 "2020-05-03T07:33:58Z")

</div>

I understand that we can record the music by typing

```auto
s.record

```

and

```auto
s.stopRecording

```

In my case, I can hear the music and there are file created in the supercollider folder, but when i open the file, there is pure silence.

Any thought?

---

<div class="post-metadata">

**Author:** ![ryan](https://forum.toplap.org/letter_avatar_proxy/v4/letter/r/a8b319/32.png) [@ryan](https://forum.toplap.org/u/ryan)\
**Post date:** [3 May 2020 08:23 UTC](https://forum.toplap.org/t/empty-recording/1278/2 "2020-05-03T08:23:54Z")

</div>

Hi Caleb, welcome to the community 👋 unfortunately I’m not sure why this doesn’t work for you. As it’s an issue mainly with SuperCollider, it might also be useful to check in with the [SuperCollider forum](https://forum.toplap.org/c/communities/supercollider/20) for this too.

The fact that there is a new file created rules out most of my initial ideas - i.e. server not being booted. Are you doing anything else in SuperCollider that affects the server before recording? One way to test basic recording would be to open SuperCollider and run each of the following lines in turn, waiting for commands to complete:

```auto
s.boot
s.record
{SinOsc.ar() * XLine.ar(1, 0.0001, 4, doneAction: 4)}.play
s.stopRecording
s.quit

```

Then try and play the file. Out of interest, is it recording as an `.aiff` file? If so, what application are you using to play it?

---

<div class="post-metadata">

**Author:** ![Caleb\_Foong](https://forum.toplap.org/user_avatar/forum.toplap.org/caleb_foong/32/699_2.png) [@Caleb\_Foong](https://forum.toplap.org/u/Caleb_Foong)\
**Post date:** [3 May 2020 10:42 UTC](https://forum.toplap.org/t/empty-recording/1278/3 "2020-05-03T10:42:01Z")

</div>

Hi Ryan. It is recording as `.aiff` file and I am using VLC to play it.

Can’t hear anything after I run the snippet you provided too.

---

<div class="post-metadata">

**Author:** ![Raul\_Garcia](https://forum.toplap.org/user_avatar/forum.toplap.org/raul_garcia/32/657_2.png) [@Raul\_Garcia](https://forum.toplap.org/u/Raul_Garcia)\
**Post date:** [3 May 2020 17:16 UTC](https://forum.toplap.org/t/empty-recording/1278/4 "2020-05-03T17:16:36Z")

</div>

Hello, Do you use Jack ?, can vlc play another audio file ?, if the answers are yes and no, in that order you may need to use PulseAudio JackSink

---

<div class="post-metadata">

**Author:** ![jamshark70](https://forum.toplap.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jamshark70](https://forum.toplap.org/u/jamshark70)\
**Post date:** [3 May 2020 23:37 UTC](https://forum.toplap.org/t/empty-recording/1278/5 "2020-05-03T23:37:44Z")

</div>

> [@Caleb\_Foong](#):
>
> It is recording as `.aiff` file and I am using VLC to play it.

Which OS/version?

If it’s Linux, Raul is correct that you have to do additional configuration to get audio from SC and other apps to interoperate.

> **[How use PulseAudio and JACK? | JACK Audio Connection Kit](https://jackaudio.org/faq/pulseaudio_and_jack.html)**
>
> JACK Audio Connection Kit | How use PulseAudio and JACK?

hjh

---

<div class="post-metadata">

**Author:** ![Caleb\_Foong](https://forum.toplap.org/user_avatar/forum.toplap.org/caleb_foong/32/699_2.png) [@Caleb\_Foong](https://forum.toplap.org/u/Caleb_Foong)\
**Post date:** [4 May 2020 09:29 UTC](https://forum.toplap.org/t/empty-recording/1278/6 "2020-05-04T09:29:49Z")

</div>

Thanks for all the help !

I am using PopOS 20.04. I can record sound from superecollider now, however I still cant record the sound coming from FoxDot.

On the other hand, when I use a screen recording software like Kazam, I cant capture the sound. Is it because of the same problem?

---

<div class="post-metadata">

**Author:** ![Raul\_Garcia](https://forum.toplap.org/user_avatar/forum.toplap.org/raul_garcia/32/657_2.png) [@Raul\_Garcia](https://forum.toplap.org/u/Raul_Garcia)\
**Post date:** [4 May 2020 14:17 UTC](https://forum.toplap.org/t/empty-recording/1278/7 "2020-05-04T14:17:42Z")

</div>

Well, that must be the problem, for a perfect or almost audio configuration when using a jack, as in this case:

install pulseaudio-module-jack

sudo apt install pulseaudio-module-jack

Set audio group priorities

sudo nano /etc/security/limits.d/99-realtime.conf

and we add the following 2 lines:

@realtime - rtprio 99  
@realtime - memlock unlimited

We create the realtime group

sudo groupadd realtime

We add the user to the audio group and the newly created realtime group

sudo usermod -a -G realtime user  
sudo usermod -a -G audio user

Reboot to enable changes

once you can use the new session check if everything has worked correctly

groups

And the groups to which the user belongs will appear, audio, realtime, admin, cdrom…etc

As for desktop recording, I use Simple Screen Recorder that allows you to use a jack to record video and audio, if you only want to record video, you can use the option that comes by default in the Gnome desktop that records in webm format

Ctrl + Alt + Shift + R, and a red dot appears at the bottom right indicating that you are recording, when you want to stop that recording the same key combination.

To install simplescreenrecorder

sudo apt install simplescreenrecorder

 ![ssr](https://forum.toplap.org/uploads/thirdsite/original/1X/4b7deb78fd5ff99d144b6a7dc36074f32784e4ab.png)

I hope this mini guide will help you

---

<div class="post-metadata">

**Author:** ![Caleb\_Foong](https://forum.toplap.org/user_avatar/forum.toplap.org/caleb_foong/32/699_2.png) [@Caleb\_Foong](https://forum.toplap.org/u/Caleb_Foong)\
**Post date:** [5 May 2020 06:24 UTC](https://forum.toplap.org/t/empty-recording/1278/8 "2020-05-05T06:24:22Z")

</div>

Thanks Raul for the helpful mini guide !

The video recorded by simplescreenrecorder has no sound even I set it to use jack

---

<div class="post-metadata">

**Author:** ![Caleb\_Foong](https://forum.toplap.org/user_avatar/forum.toplap.org/caleb_foong/32/699_2.png) [@Caleb\_Foong](https://forum.toplap.org/u/Caleb_Foong)\
**Post date:** [5 May 2020 07:41 UTC](https://forum.toplap.org/t/empty-recording/1278/9 "2020-05-05T07:41:36Z")

</div>

FWIW, carla shows that the supercollider outputs do connect to the simplerecorder input.  
But still the recording has no sound at all.

 ![Screenshot 2020-05-05 15:38:40](https://forum.toplap.org/uploads/thirdsite/original/1X/6767e91a8dfd975e32c10c0da43849a63871e1b3.png)

---

<div class="post-metadata">

**Author:** ![Raul\_Garcia](https://forum.toplap.org/user_avatar/forum.toplap.org/raul_garcia/32/657_2.png) [@Raul\_Garcia](https://forum.toplap.org/u/Raul_Garcia)\
**Post date:** [5 May 2020 11:21 UTC](https://forum.toplap.org/t/empty-recording/1278/10 "2020-05-05T11:21:24Z")

</div>

If you use cadence, additional settings must be made, the attached images show them.

 ![p11](https://forum.toplap.org/uploads/thirdsite/original/1X/7e0faa43adc73d66a531b528c669177265d806f4.png)

 ![p12](https://forum.toplap.org/uploads/thirdsite/original/1X/49f50c7f68d4915037771ed8221af956066569c7.png)

---

<div class="post-metadata">

**Author:** ![jamshark70](https://forum.toplap.org/letter_avatar_proxy/v4/letter/j/47e85d/32.png) [@jamshark70](https://forum.toplap.org/u/jamshark70)\
**Post date:** [5 May 2020 21:01 UTC](https://forum.toplap.org/t/empty-recording/1278/11 "2020-05-05T21:01:12Z")

</div>

Understand that there are two audio systems at play here: JACK (for SC) and PulseAudio for everything else.

To have both working simultaneously, you must have a PulseAudio-JACK bridge.

If your PulseAudio-JACK bridge isn’t functioning, then while JACK is running, you’ll get no sound from any PulseAudio applications (that is, VLC).

So: You start JACK, run some things in SC/Tidal, record. Then (presumably while JACK is still running), you play the audio/video in a PulseAudio app, and hear nothing.

This is not a valid test!

It’s not valid because there are two possible reasons why you’re hearing nothing: a/ the recording really is silent, or b/ PulseAudio isn’t hooked into JACK correctly yet – and this form of the test doesn’t disambiguate them.

One way to distinguish them is to open one of your audio recordings in Audacity (free audio editor) and _see_ the waveform. It will be immediately obvious if it’s silent or not.

If you’re hearing audio from SC and recording SC’s output within SC, the probability of the recording being silent is practically zero. So I’d really suggest that you check in Audacity, because AFAICS you’re focused on “the recording being broken” while the real problem is likely to be the playback.

hjh
