-
... ffer.writeServers.every(_.isLocal).not ) { SCAlert( "please run the 'Distribute SoundFiles' script\nto copy the paths to all servers" ); }; }); }); view.view.onClose_({ if( vws[ \editor ].notNil ) { vws[ \editor ].close; }; }); ^vws; } make ...
-
... mChannels.asCollection.includes( value.numChannels ).not ) { "DiskSndFileSpec - soundfile '%' has an unsupported number of channels (%)" .format( value.path.basename, value.numChannels ) .warn; }; }; ^value; } default { ^nil.asDiskSndFile; ...
-
... instance methods Examples //ideas for commands for blocks pl 1 marylin1 //play soundfile marylin1 pl 1 2 marylin2 //play, bus 1, slot 2, file lp 2 ant pn 1 rave //pattern in block 1 called rave sn 1 textures //synth in block 1 called textu ...
-
... mChannels.asCollection.includes( value.numChannels ).not ) { "DiskSndFileSpec - soundfile '%' has an unsupported number of channels (%)" .format( value.path.basename, value.numChannels ) .warn; }; }; ^value; } default { ^nil.asDiskSndFile; ...
-
... view = View(); view.layout = HLayout( VLayout( listView = ListView(), sfView = SoundFileView(), selectionView = TextField().fixedHeight_(20) .enabled_(false).align_(\center) ), VLayout( nil, readButton = Button().fixedWidth_(96), replaceBu ...
-
... 4] ? 0.0) + (((p1[4] ? 0.0) - (p0[4] ? 0.0)) * frac))] } { [] } } } }; ~readMonoSoundFile = { |path| var sf, ok, frames, chans, sr, raw, mono, result; result = nil; sf = SoundFile.new; ok = sf.openRead(path); if(ok.not) { ("could not open s ...
-
... le, start, track, routine; var sf, duration, numFrames, sampleRate, sfdur; sf = SoundFile.new; //this gets some basic info for each track sf.openRead(file); //read the file sampleRate = sf.sampleRate; //get the sample rate numFrames = sf.nu ...
-
... { dur = 1; }; chain.dur_( dur ) }, 1, { chain.dur_( inf ) } ); }); views[ \fromSoundFile ] = SmoothButton( composite, 40@14 ) .radius_( 2 ) .toolTip_( "automatically match duration to the longest soundfile in the chain" ) .label_( "auto" ) ...
-
... message like it should do (it just gives me an empty line). Then if I type a = SoundFile.new a.sdlkfjsdfs the interpreter just prints an empty line in the post window. This seems to happen only when I do things with the Scale class and not ...