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
noob : no sound with examples
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [4 Posts]
View unread posts
View new posts in the last week
Mark the topic unread :: View previous topic :: View next topic
Author Message
twilightz0ne



Joined: Dec 18, 2009
Posts: 2
Location: Belgium

PostPosted: Fri Dec 18, 2009 2:25 pm    Post subject: noob : no sound with examples Reply with quote  Mark this post and the followings unread

Hello ,

I installed chuck but i dont hear any sound from the examples .
Im running chuck in cmd on vista.

I hope there is anyone hear who can help me.
Quite annoying to want to play with a sound when you dont hear any.

this is my first take at audio programming but i program in java a lot

I hope there are some chuck goeroes around here who can help ...

this is my probe

Code:
[chuck]: found 6 device(s) ...
[chuck]: ------( chuck -- dac1 )---------------
[chuck]: device name = "Primair geluidsstuurprogramma"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels  = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = YES
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   100 Hz
[chuck]:   200000 Hz
[chuck]:
[chuck]: ------( chuck -- dac2 )---------------
[chuck]: device name = "Speakers (Realtek High Definition Audio)"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels  = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   100 Hz
[chuck]:   200000 Hz
[chuck]:
[chuck]: ------( chuck -- dac3 )---------------
[chuck]: device name = "Realtek Digital Output(Optical) (Realtek High Definition Audio)"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels  = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   100 Hz
[chuck]:   200000 Hz
[chuck]:
[chuck]: ------( chuck -- dac4 )---------------
[chuck]: device name = "Realtek HDMI Output (Realtek High Definition Audio)"
[chuck]: probe [success] ...
[chuck]: # output channels = 2
[chuck]: # input channels  = 0
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   100 Hz
[chuck]:   200000 Hz
[chuck]:
[chuck]: ------( chuck -- dac5 )---------------
[chuck]: device name = "Primair stuurprogramma voor opnemen van geluid"
[chuck]: probe [success] ...
[chuck]: # output channels = 0
[chuck]: # input channels  = 2
[chuck]: # duplex Channels = 0
[chuck]: default device = YES
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   11025 Hz
[chuck]:   22050 Hz
[chuck]:   44100 Hz
[chuck]:
[chuck]: ------( chuck -- dac6 )---------------
[chuck]: device name = "Vastleggen (Pinnacle PCTV 310i Capture Device)"
[chuck]: probe [success] ...
[chuck]: # output channels = 0
[chuck]: # input channels  = 2
[chuck]: # duplex Channels = 0
[chuck]: default device = NO
[chuck]: natively supported data formats:
[chuck]:    8-bit int
[chuck]:   16-bit int
[chuck]: supported sample rates:
[chuck]:   11025 Hz
[chuck]:   22050 Hz
[chuck]:   44100 Hz
[chuck]:
[chuck](via RtMidi): RtMidiIn::initialize: no MIDI input devices currently available.
[chuck]: ------( chuck -- 0 MIDI inputs )------
[chuck]:
[chuck]: ------( chuck -- 1 MIDI outputs )-----
[chuck]:     [0] : "Microsoft GS Wavetable Synth"
[chuck]:


this is my verbose output when i try to run a sample : in this case larry++

Code:
C:\chuck-1.2.1.3\chuck-1.2.1.3-exe\examples\basic>chuck -v larry++.ck
[chuck]:(2:SYSTEM): setting log level to: 5 (INFORM)...
[chuck]:(2:SYSTEM): initializing virtual machine...
[chuck]:(2:SYSTEM):  | behavior: HALT
[chuck]:(2:SYSTEM):  | locking down special objects...
[chuck]:(2:SYSTEM):  | allocating shreduler...
[chuck]:(2:SYSTEM):  | allocating messaging buffers...
[chuck]:(2:SYSTEM):  | real-time audio: YES
[chuck]:(2:SYSTEM):  | mode: CALLBACK
[chuck]:(2:SYSTEM):  | sample rate: 44100
[chuck]:(2:SYSTEM):  | buffer size: 512
[chuck]:(2:SYSTEM):  | num buffers: 8
[chuck]:(2:SYSTEM):  | devices adc: 0 dac: 0 (default 0)
[chuck]:(2:SYSTEM):  | adaptive block processing: 0
[chuck]:(2:SYSTEM):  | channels in: 2 out: 2
[chuck]:(2:SYSTEM): initializing compiler...
[chuck]:(3:SEVERE):  | initializing type checker...
[chuck]:(3:SEVERE):  |  | adding base classes...
[chuck]:(3:SEVERE):  |  |  | class 'object'
[chuck]:(3:SEVERE):  |  |  | class 'array'
[chuck]:(3:SEVERE):  |  |  | class 'string'
[chuck]:(3:SEVERE):  |  |  | class 'ugen'
[chuck]:(3:SEVERE):  |  |  | class 'uanablob'
[chuck]:(3:SEVERE):  |  |  | class 'uana'
[chuck]:(3:SEVERE):  |  |  | class 'shred'
[chuck]:(3:SEVERE):  |  |  | class 'event'
[chuck]:(3:SEVERE):  |  |  | class 'io'
[chuck]:(3:SEVERE):  |  |  | class 'fileio'
[chuck]:(3:SEVERE):  |  |  | class 'class'
[chuck]:(3:SEVERE):  | initializing emitter...
[chuck]:(3:SEVERE):  | loading built-in modules...
[chuck]:(3:SEVERE):  |  | module osc...
[chuck]:(3:SEVERE):  |  | module xxx...
[chuck]:(3:SEVERE):  |  | module filter...
[chuck]:(3:SEVERE):  |  | module STK...
[chuck]:(3:SEVERE):  |  | module xform...
[chuck]:(3:SEVERE):  |  | module extract...
[chuck]:(3:SEVERE):  |  | class 'machine'...
[chuck]:(3:SEVERE):  |  | class 'std'...
[chuck]:(5:INFORM):  |  | initializing KBHitManager...
[chuck]:(5:INFORM):  |  | starting kb loop...
[chuck]:(3:SEVERE):  |  | class 'math'...
[chuck]:(3:SEVERE):  |  | class 'opsc'...
[chuck]:(2:SYSTEM): type dependency resolution: MANUAL
[chuck]:(2:SYSTEM): initializing synthesis engine...
[chuck]:(3:SEVERE):  | initializing 'dac'...
[chuck]:(3:SEVERE):  | initializing 'adc'...
[chuck]:(3:SEVERE):  | initializing 'blackhole'...
[chuck]:(2:SYSTEM):  | initializing 'real-time' audio...
[chuck]:(5:INFORM):  |  | initializing callback...
[chuck]:(3:SEVERE):  | allocating buffers for 512 x 2 samples...
[chuck]:(3:SEVERE): starting compilation...
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(2:SYSTEM): starting listener on port: 8888...
[chuck]:(2:SYSTEM): running virtual machine...
[chuck]:(3:SEVERE):  | initializing audio buffers...
[chuck]:(3:SEVERE):  | virtual machine running...
[chuck]:(5:INFORM): (sndbuf): reading 'special:glot_pop'...
[chuck]:(3:SEVERE): starting real-time audio...
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(3:SEVERE): starting real-time watch dog processs...
[chuck]:(5:INFORM):  | watchdog timeout: 0.500000::second
[chuck]:(5:INFORM):  | watchdog thread priority: 2
[chuck]:(5:INFORM):  | watchdog countermeasure priority: -2
[chuck]:(5:INFORM): setting thread priority to: 2...
[chuck]:(3:SEVERE): real-time watchdog counter-measure activating...
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Fri Dec 18, 2009 6:01 pm    Post subject: Reply with quote  Mark this post and the followings unread

Strangely none of the converters that have outputs indicate supporting normal sample rates. I'm at a loss here, I don;t know enough about Vista's audio.

If your soundcard supports ASIO you could try the ASIO version from this forum? That would be a interesting test.

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
twilightz0ne



Joined: Dec 18, 2009
Posts: 2
Location: Belgium

PostPosted: Sat Dec 19, 2009 6:07 am    Post subject: Reply with quote  Mark this post and the followings unread

no ASIO support ...
Back to top
View user's profile Send private message
Kassen
Janitor
Janitor


Joined: Jul 06, 2004
Posts: 7678
Location: The Hague, NL
G2 patch files: 3

PostPosted: Sat Dec 19, 2009 10:03 am    Post subject: Reply with quote  Mark this post and the followings unread

Very odd.

You aren't accidentally running something that might be laying claim to the soundcard? What heppens if you try to run a example after closing all other programs that could make a sound? Did you try compatibility mode?

I'm starting to suspect there may simply be a bug in how RTAudio (the library that we use for sound in/out) interacts with Vista. We do need to update the version of RTAudio that we are using anyway.

Do we have any Vista experts around?

_________________
Kassen
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic Moderators: Kassen
Page 1 of 1 [4 Posts]
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