electro-music.com   Dedicated to experimental electro-acoustic
and electronic music
 
    Front Page  |  Radio
 |  Media  |  Forum  |  Wiki  |  Links
Forum with support of Syndicator RSS
 FAQFAQ   CalendarCalendar   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   LinksLinks
 RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in  Chat RoomChat Room 
 Forum index » DIY Hardware and Software » ChucK programming language
problem with audio dropouts
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [1 Post]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
Stefan314



Joined: Feb 14, 2023
Posts: 1
Location: Switzerland

PostPosted: Tue Feb 14, 2023 7:38 am    Post subject: problem with audio dropouts
Subject description: chuck test.ck rec.ck has audio dropouts, but foo.wav does not
Reply with quote  Mark this post and the followings unread

I'm using ChucK on Ubuntu focal and the standard ChucK version 1.2.0.8 for my distribution is reporting (via rtaudio): no devices found for compiled audio APIs! So, I built the tag chuck-1.4.2.0 from https://github.com/ccrma/chuck using make linux-pulse.

It works in general, but when I send many oscillators (e.g. 1024) simultaneously to dac, I regularly get short audio dropouts. These audio dropouts do not occur when I generate a WAV file using examples/basic/rec.ck and then play it back (also through pulseaudio). Increasing --bufsize xy doesn't help, as while it reduces the occurrence of dropouts, the remaining ones become longer in duration. The system load is negligible during playback. I have checked journalctl -f -t pulseaudio with debug logging and the content is similar to playing the wav file.

What am I doing wrong?

Perhaps I should add that there are also audio dropouts with a single SinOsc, but these are much less frequent and shorter in duration. Here's a recording with my mobile of

Code:
SinOsc sine;
440.0 => sine.freq;
sine => dac;
12000::ms => now;


The forum did not accept the attachment without any error message, so here's an external link to it: https://anonfiles.com/I8J1Y5X0y3/SingleSinOsc_mp3
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [1 Post]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
 Forum index » DIY Hardware and Software » ChucK programming language
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Forum with support of Syndicator RSS
Powered by phpBB © 2001, 2005 phpBB Group
Copyright © 2003 through 2009 by electro-music.com - Conditions Of Use